DEV Community

Discussion on: Functional Programming in Python - Book Review

Collapse
 
gdenn profile image
Dennis Groß (he/him)

I am not so sure how much of Python is really functional.

Ad hoc I can only think about lambda functions, every other language construct seems to be not purely functional because it can have side effects.

Do I get the idea wrong and miss on a lot of good content here? :)

Collapse
 
albertulysses profile image
Albert Ulysses • Edited

Hey Dennis, I don't think it's functional either per se, but it does bring into light a few different ways that you can think of your code. When thinking of multiprocessing and lazy eval, Functional programming is a helpful paradigm to think of problems.
I also think that Functional paradigms helps with some abstractions problems.