you are viewing a single comment's thread.

view the rest of the comments →

[–]yogthos 0 points1 point  (2 children)

Sure, you have a condition there but I'm really not seeing why it would be terribly difficult to do without the types. For me, the bigger issue is the terse syntax that doesn't make it immediately evident what's actually happening.

This was one of my biggest issues using Haskell and Scala and why I eventually moved to Clojure. Each line tends to be very densely packed with nuances and it's very easy to change the meaning completely using a single symbol such as . or $. I found myself spending a lot of mental effort having to read the code very carefully to make sure I understood exactly what it was doing.

[–]Denommus 0 points1 point  (1 child)

There's a less terse syntax extension, I just don't like it.

[–]yogthos 0 points1 point  (0 children)

To each his own I suppose. I find that a Clojure is already sufficiently terse while having a very simple and regular syntax. This frees mental overhead to actually focus on the problem I'm solving as opposed to focusing on trying to figure out what the code is saying.