• HStone32@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    5 days ago

    Nah, coding is one of the few things I don’t find annoying, so long as the language or toolsets I’m using allow for freedom. What I find annoying is when some talking head says all code should be a certain way, and everybody believes them for some reason.

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      16 hours ago

      What I find annoying is when some talking head says all code should be a certain way,

      It’s quite useful to have “all code be a certain way” within a language ecosystem. E.g. Haskell requiring all pure functions be actually pure is amazing because you know that any function from any library doesn’t perform some stupid side effect when you call it, and just processes its inputs into an output. Of course, functional programming tools can be useful even outside purely functional languages, but having those important properties be ecosystem-wide makes you feel much more comfortable, and produces much better, safer and more reliable code in the end.