Re:Functional Fluid Dynamics in Clojure
by obeattie on Monday March 29, 2010 @05:12PM
(#1227560)
"The archaic C language". Alrighty.
[ Parent
| on HN ]
Re:Functional Fluid Dynamics in Clojure
by BrianHammond on Monday March 29, 2010 @09:58PM
(#1228118)
"The weird thing about C is that its not even prefixed like Clojure (+ 2 2), instead all operators are scattered between the arguments!"
Please tell me he is kidding. Maybe I don't get out of my cave often enough but it seems uncommon that someone could grok FP bypassing C altogether.
He's not kidding, C precedence rules are weird.
Even D. Ritchie thinks so.
http://en.wikipedia.org/wiki/Order_of_operations#Programming...
Oh, and it isn't strange to grok FP bypassing C altogether.
Of course he's kidding! I refuse to believe that wasn't some tongue-in-cheek statement. For fluid dynamics, all we are talking about is addition and multiplication, and the precedence rules for these operations are what you would expect them to be.