Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Thinking in Lisp

Name: Anonymous 2012-02-04 20:31

SQL, Lisp, and Haskell are the only programming languages that I've seen where one spends more time thinking than typing.
That's because it takes forever to think of the solution in Lisp and Haskell as opposed to a decent language. Faggot lispers will spend most of their time figuring out how best to abuse recursion because they think it makes them leet programmers or some shit.

Name: Anonymous 2012-02-06 13:00

>>49
U MENA if(n < 3) a = h(...); // Note that g(...) probably has side-effects since this is C
Another bullshit strawman argument that assumes C programmers need to have the compiler wipe their asses for them. Are you the same retard who assumed functional programmers are all idiots who confuse equality and assignment (>>15)? If g() is declared with extensions like __attribute__((pure)) or #pragma pure g the compiler should be able to optimize it away even without single assignment. If someone wants to call a pure function whose return value isn't used, either the compiler can figure it out by looking at the definition or the programmer can rewrite the code so it's only called once. No single assignment faggotry needed.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List