I was just reading this interesting article by John Carmack on writing C++ with a "functional" style. In the article he makes a strong argument for writing pure functions, and talks a bit about what that means in a practical sense (in other words, how "pure" do you really need to be?) and why it's useful even though it's not a language requirement or checked by the compiler.

I guess it just goes to show that the old maxim is true: A good programmer can write Fortran code in any language. (Fortran's had a "pure" keyword for 17 years now.)
Shared publiclyView activity