• ☆ Yσɠƚԋσʂ ☆OP
    link
    fedilink
    43 years ago

    I actually think it’s better to learn a functional language as your first language because it teaches you to think about state explicitly, and it’s much easier to go from fp to imperative than the other way around.

    • @a_Ha@lemmy.ml
      link
      fedilink
      03 years ago

      I was confused with your comment so I read (from Wikipedia) : Functional programming

      if I get 2% of that complex nightmare is that : it is easier to go from “FP” to imperative because FP requires much brain.

      • ☆ Yσɠƚԋσʂ ☆OP
        link
        fedilink
        23 years ago

        FP absolutely doesn’t require much brain. In fact, my team regularly hired students as interns who barely have any programming experience and are able to get productive within a week or two. The whole point of FP is to reduce complexity.