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

DrRacket

Name: Anonymous 2012-01-05 20:15

>that feel when I have to use DrRacket for my first Computer Science course.

WHY?

Name: Anonymous 2012-01-07 5:43

>>11

The point behind prefix notation is that it keep the rules simple and consistent, which helps when extending the language with macros and such. * / + - are treated just like normal functions.

In lisp, the first element between two parens is *always* a function and the remaining ones are *always* arguments to that function. If you allowed infix, then you'd suddenly have this really complicated exception rule that would make the language less malleable.

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