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

Lisp winnage

Name: Anonymous 2007-09-10 0:35 ID:QCxFPARL

wow ok


int x = g(); // have to store
int y = h(); // so that g and h arent called twice
return  f() < x && x < y && y < i();


vs

(< (f) (g) (h) (i))

Name: Anonymous 2007-09-10 0:51 ID:/avzUePo

>>2
It doesn't matter, does it? The point is that the programmer can just write that. And, unlike the C "solution", it works with any number of values.

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