• 0 Posts
  • 91 Comments
Joined 1 year ago
cake
Cake day: November 14th, 2023

help-circle




  • Excellent write-up. People who complain about Haskell and purely functional languages just don’t understand it, I think. Take me for example. I tried learning Haskell many years ago, and while I learned so many new and incredibly useful concepts from my short adventure, that I use everyday in my career, I just couldn’t wrap my head around the more abstract concepts, like monads e.g. And the feeling I got was that Haskell is a difficult language, but probably it’s the terminology and abstract mathematical concepts which are the real issue for me here. Because the syntax isn’t really that complicated. Especially the way space is used to call functions. I’m really sick of all the parentheses in other languages.

    But, if you understand all about functional programming, for those that do, it seems to really enrich the way they write and maintain code from what I’ve seen. People who dog on it just don’t understand (including me). Of course it’s hard to maintain something you don’t understand. But if you do understand it, it’s easy to maintain. 🤷‍♂️ Seems logical.

    What next, where is the line drawn for what kind of code we can write? Why introduce more useful concepts in programming if we risk losing maintainability because some devs won’t learn the new concepts?

    Life means change. Adapt. Learn new things. Expand the mind. Learn how to do things in a good way, and then do the things in that good way. Why stagnate just because we don’t understand something. Better to learn a new thing to understand the better way, than to dumb it down to a worse state just so we understand it.

    Bah.


  • Victor@lemmy.worldtoProgrammer Humor@programming.devstop
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 month ago

    I dabbled in some Haskell a few years ago but quit trying when I got to the hard parts like monads and functors and stuff. All those mathematical concepts were a little too abstract for me.

    But what I did bring with me from the experience changed my way of programming forever. Especially function composition and tacit (point-free) style programming. It makes writing code so much faster and simpler and it’s easier to read and maintain.

    You can utilize some functional programming concepts without being too hardcore with it and get the best of both worlds in the process. 👍





  • About the only thing I ever go back for

    Honestly, I miss some subs. But I just cut my losses. The usability and UI of the site went to shit. The toxicity was horrible. The site policies went to shit. No third party apps. No point.

    I only come back to answer necrobumps and one time to update my own post that was a support question where I managed to figure out the answer. I don’t want to leave behind those forum posts like in XKCD where they have the same issue but don’t answer anything. 😅











  • It’s gotta be some kind of sheep brain activation; crowd following behavior. It can be very annoying sometimes.

    Sometimes you’re just voicing a neutral opinion and it gets destroyed. And by neutral I mean it’s not controversial or anything, like racism, it could just be something not exactly everyone would agree with.

    I wish people would use the down vote as Reddit once intended it to mean: off topic and not contributing to the discussion, or perhaps rude, etc. Not “I don’t agree with this”. You should explain why you don’t agree with something, or up vote a comment that already explains it.