Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
monnef3138y@samblaise It's not only the parenthesis, I think I could get used to that (rainbow colors are nice). In Scala or Haskell this example would be much shorter. I wonder if the code from tutorial is subpar, not the best (most idiomatic) solution, because for example I saw a lot of bad Scala code in various tutorials/articles scattered on the Internet.
-
Baspar518yWell... It depends on the implementation, but on the picture you uploaded, the whole second part can be simplified to only one line: ```(reduce * (range 1 n+1))```
Related Rants
-
miiitch3The best thing about Java is that you can cook French fries on your CPU while running the JVM
-
rostopira0Me: I want to learn Clojure Me: But I need real tasks to learn Me: OK, reconnecting device with wireless adb I...
-
Trithon6Quarantine day..... i've stopped counting... Numbers and time have lost all meaning... I now use my free time ...
After some time experimenting with Haskell (with mixed impressions) and quite positive feeling about Scala, I am really shocked by Clojure. I tried simple example from youtube tutorial, but it looks so awful, complex and compared to Haskell and Scala version it is just so verbose. I read that Clojure is a concise language. Is the tutorial bad or is this a fine code in Clojure? I really don't like the code at all...
undefined
clojure
parenthesis hell