Curious to hear about the things that helped improve your programming ability.

  • Lmaydev@programming.dev
    ·
    edit-2
    11 months ago

    What stops you writing pure functions in OO? Like linq in C#

    And where does your state go? How would a list of products be represented in FP?

    Do you have some examples of full applications written functionally?

    • demesisx@infosec.pub
      ·
      11 months ago

      I edited my comment to talk about imperative vs FP rather than OO vs FP because FP can actually be OO. What I meant was imperative.

      Anyway, in most functional implementations, state is usually handled by a minimal top layer. Functional paradigms are helpful in keeping the complexity to a minimum.

      I like to use the functional core, imperative wrapper design style.