News for hackers. Stuff that matters.
Re:Introduction to Functional Programming in OCaml by sevensor on Thursday August 23, 2018 @09:32AM (#17827090)
I'm in the same boat, coming from Python. I like it a lot -- it lets me write things that are hard to express in Python. (Sum types and exhaustive pattern matching in particular.) My Python had been moving in this direction anyway -- less OO, more procedural, more pure functions, limited mutation.
Re:Introduction to Functional Programming in OCaml by tjbarkley on Thursday August 23, 2018 @09:58AM (#17827256)
Exactly. We're doing the same thing with my C# project at work. It's becoming more "functional" as we refactor and fix bugs. The project has been much easier to work with.