News for hackers. Stuff that matters.
Re:Ten predictions (2004) by rntz on Friday February 15, 2013 @11:31AM (#5226950)
Maybe I'm missing something, but I don't see any infix notation on the linked page.
Re:Ten predictions (2004) by justin_vanw on Friday February 15, 2013 @11:39AM (#5226981)
(car x) == (first x)

(car nil) => NIL

Shouldn't they say, for example:

(eq (car x) (first x))

Sure, it's the same, both imply a test for equality or in this case an assertion of equality. However, '==' is not part of this language and there is reason to use it other than the alternative is less obvious and clear.

Re:Ten predictions (2004) by pg on Friday February 15, 2013 @01:52PM (#5227732)
No, you're confusing expressions with metanotation.

Using infix metanotation to describe Lisp semantics is a convention that goes back to McCarthy.

Re:Ten predictions (2004) by bcoates on Friday February 15, 2013 @01:59PM (#5227783)
It's pretty universal to use syntax that's outside the domain of the language being described to describe a language in it's specification, otherwise your head would explode trying to distinguish the example from the rule.

The C++ standard uses tables for the equivalent purpose, not C++ declarations, like at ยง23.2.1 in C++11. Does this mean that C++ should move from header files to an RDBMS?

Re:Ten predictions (2004) by jonpeda on Saturday February 16, 2013 @09:05PM (#5233921)
eq == ==

This is true in both infix notation and in prefix notation.