3 ms·
I do not get what this publication is trying to say. Is Haskell better than C#? are Haskell programs shorter than C#? is recursion difficult? is recursion diffi
by axilmar 7y ago
I do not get what this publication is trying to say. Is Haskell better than C#? are Haskell programs shorter than C#? is recursion difficult? is recursion difficult in C#? I don't get it.
- ColinWright 7y agoI can't tell if you're seriously enquiring, or simply being snarky. However, taking your comment at face value ... To me this post is saying that in some languages (in this case Haskell) there are ways of working that are hard to emulate in other languages (in this case C#). The post is talking through a specific example of this, and pointing out that if you only know one language (in this case C#) then you might be missing out on styles of thought that can help in solving certain problems. The post isn't about one language being better or worse in absolute terms, it's about broadening your range as a programmer so you are aware of other techniques and styles of thought. To go all "new age-y" it's about enlightenment. Usually Lisp is the language used to help programmers achieve enlightenment, but other options exist, such as fexl, Haskell, and others. Seriously, many languages are "about the same," but some really do make you think differently. You can be an excellent and productive programmer without them, and the vast majority of programmers never try to step outside the bubble of Imperative & OO languages, but you will be missing out if you don't at some stage embrace one of these other "pure(ish) functional" languages that is genuinely different. YMMV Some reading: * https://www.defmacro.org/ramblings/lisp.html https://www.defmacro.org/ramblings/lisp.html * https://stackoverflow.com/questions/2036244/whats-so-great-about-lisp https://stackoverflow.com/questions/2036244/whats-so-great-a... Search for "Lisp Enlightenment" and cull mercilessly.
- cannabis_sam 7y agoThanks for a great explanation of a weird topic, that I’ve struggled to do put into words! I’ve had a few similar experiences in my humble programming education. The first was at uni, having to learn c, c++ and python in one semester, after only using java for the first two semesters. (And a tiny bit of php and visual basic before that) The second was exposure to scheme/racket and real functional programming. The third time was the most amazing mix of haskell, type theory, lambda calculus, logics, agda, category theory, proof theory, model theory and just theoretical computer science in general. It leaves you with this wonderful and strange view of programming, without any of the concrete computational models.