2 ms·
Anyone who appreciates the benefits of simplicity should skip Go and try functional programming instead. The basic tenets are a model of mathematical simplicity
by munchler 3y ago
Anyone who appreciates the benefits of simplicity should skip Go and try functional programming instead. The basic tenets are a model of mathematical simplicity:
* Values are immutable
* Functions are pure (i.e. no side-effects)
* Functions are values (i.e. can be passed as arguments to other functions)
- Ringz 3y agoExactly what I am doing with… Python.
- pharmakom 3y agoPython has mutable data structures by default and you cannot have multi-line lambdas. The interpreter cannot optimise common functional patterns, so you pay a heavy perf cost. I could be wrong, but last I checked there is no TCO. Python is not even close to a proper FP language.