Hacker News new | ask | show | jobs
by mujina93 2144 days ago
For a type safe approach to functional programming in python, try returns (https://returns.readthedocs.io/en/latest/).
1 comments

It always amazes me the lengths people will go to to avoid learning & using a different language.

Perhaps if you want statically-typed functional programming, you shouldn’t be using Python? It’s not the best choice for that - in fact, it’s almost the worst choice.