• passepartout@feddit.orgOP
    link
    fedilink
    arrow-up
    0
    ·
    3 days ago

    Functional programming in Java is kind of an afterthought and it shows. That’s one of the reasons why Scala was created!

    • Custodian6718@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 day ago

      I mean Yeah it is an afterthought in the Sense of that Java was Originally an oop Language but fp in Java was added on very sensibly imo. I use functional Programming in Java a Lot and try to make Everything immutable where I can and honestly coding like that feels clean and very practical.