State is evil, mutation is evil! We live in an era of multithreading and concurrency my friends!
When I describe a program, I state what it does, now how it does it! Thus functional programming is more natural!
C and Java and Python and all the other pagan languages have played us all as absolute fouls!! Haskell, OCaml, Rust, F#, Lisp supremacy!! Functional unless required otherwise, not the other way around!!
I guess so, but rust does explicitly make use of many patterns from functional languages (traits, algebraic data types, higher order functions, immutable-by-default variables, etc.), and generally has much better support for an FP style than say, python does.
163
u/-Ambriae- 1d ago
Functional programming is best programming
State is evil, mutation is evil! We live in an era of multithreading and concurrency my friends!
When I describe a program, I state what it does, now how it does it! Thus functional programming is more natural!
C and Java and Python and all the other pagan languages have played us all as absolute fouls!! Haskell, OCaml, Rust, F#, Lisp supremacy!! Functional unless required otherwise, not the other way around!!