Python as functional programming language

Thanks for your kind and helpful comments! It’s awesome.
The fact that function in python is first-class as you mentioned make me think it can be possible to write code in functional way.

Yeah… composition is key to functional programming I think.
Composing functions, Composing types(algebraic type system?) bla bla…

It’s mind-blowing experience for me to watch pipeline-oriented and railway-oriented programming talks in Youtube (it’s all about composing functions), and see Rust’s official books about error and null? handling such as Result, Option.

I found the open source projects related to above things such as

and many others.

I am a quite novice, so all thoses are not easy for me to understanding implementations and I want to build it by myself using plain, standard library python as possible as I can. I hope that It can be valuable for me to learn basic and core concepts about programming and python itself.

Anyway, thanks for your reply. I have learned a lot from you!!

1 Like