I just read Spectre's intro blog post, and I gained IQ. THIS is why I love working in -- how often things are learned that can make you smarter in every domain. nathanmarz.com/blog/clojures-m

@worldsendless I wish i could get past how much i dislike the clojure syntax, because it does seem like a great language otherwise.. but the aesthetics make my skin crawl.. HAskell i love but so rarely get the chance to code it.

@freemo whoa -- that's a fresh take for me! Syntax is one of the things I love about all lisps, and Clojure just adds a few modernizations

Follow

@worldsendless I find the excessive use of paraenthesis hard to read and just ugly. I have no real functional reason to dislike it other than being hard to read maybe, but mostly i just find it hideous.

That said I started on lisp not clojure which was particularly unpleasant due to having so many varients. That may have gotten my hate going before clojure stood a chance, which doesnt have many of the issues I hated from lisp.

@freemo yeah, I've had similar reactions to CL and ELisp as far as paren disorientation. As much of a cop-out as it feels to suggest a tooling solution, rainbow parens does work wonders.

@worldsendless yea if you format your code well it can solve some of the problem.

I'm pretty happy with haskell as my go to functional language. I love that its pure functional too unlike clojure

@freemo Haskell is for sure on my to-learn list, as it must be for any Functional afficionado

@worldsendless I find it to be quite beautiful once you learn it... it is a bit overwhelming though.

@freemo @worldsendless I got lost in the order of precedence and $. chains when I read Haskell code.

@veer66

Yea there is a lot to learn and it can be rough at first for sure. I'm no expert in haskell myself.

@worldsendless

@freemo @worldsendless I don't think I can do anything useful in Haskell in my lifetime. Still it is fun to learn. 😺

@veer66

You can do quite a bit even with a fraction of the understanding. Alot of the advanced stuff makes code easier to write but its not strictly needed IMO.

@worldsendless

@freemo I wrote this 7 years ago. https://gist.github.com/veer66/8055128d63bbc609129d

It took me almost a week to write this dirty code. I need much more time to polish my skill.🧎🏽

@worldsendless

@veer66 @freemo @worldsendless
Hey, it takes some people a month to run a command that executes in 2 seconds- though that would be for other reasons.

At least you've done more than most people- give yourself credit for that!

@freemo I also had problem with Haskell string processing performance. A clever man told me to use byte strings instead, but a byte string doesn't have the same function as a normal string.

Another issue when I read Haskell code is that there are so many language extensions. Then the code looks like it is not Haskell anymore. 🤦🏾‍♂️

@worldsendless

@veer66

Yea the extensions may be a lot to learn. Thing is, some of them are kinda needed. I had to use extensions a lot in the past when i coded and mainly because without it the design would be lacking in some cases

@worldsendless

@veer66

Take this multibimap I wrote as an example. It uses 5 extensions and I feel all of them are needed for "good" code.

anaconda.org/freemo/multibimap

@worldsendless

@freemo I thought about avoiding parentheses and complex order of precedence at once. The answer was Forth. 😛



@worldsendless
Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.