News for hackers. Stuff that matters.
Re:Anic - Faster than C, Safer than Java, Simpler than *sh by DannoHung on Tuesday August 14, 2012 @11:50AM (#4381498)
LOOK UPON MY WORKS, YE MIGHTY, AND DESPAIR: http://kx.com/q/c/c/k.h

Note: This is production code.

Re:Anic - Faster than C, Safer than Java, Simpler than *sh by scott_s on Tuesday August 14, 2012 @02:41PM (#4382444)

  // remove more clutter
  #define O printf
  #define R return
  #define Z static
  #define P(x,y) {if(x)R(y);}
  #define U(x) P(!(x),0)
  #define SW switch
  #define CS(n,x)	case n:x;break;
  #define CD default
Thanks for that. The comment makes it classic.
Re:Anic - Faster than C, Safer than Java, Simpler than *sh by tadfisher on Tuesday August 14, 2012 @04:17PM (#4382879)
orz: the person maintaining this code

:)

Re:Anic - Faster than C, Safer than Java, Simpler than *sh by iskander on Tuesday August 14, 2012 @02:03PM (#4382234)
Jesus, my research project once depended on this file. The day we deleted it from the repository was a very happy one.
Re:Anic - Faster than C, Safer than Java, Simpler than *sh by rdtsc on Tuesday August 14, 2012 @07:35PM (#4383631)
That was a fun search and replace exercise I bet... ;-)

I imagine searching for Z, R and O in a large code repository.

Re:Anic - Faster than C, Safer than Java, Simpler than *sh by bronson on Tuesday August 14, 2012 @12:31PM (#4381745)
Oo, where'd you get the C minimizer?
Re:Anic - Faster than C, Safer than Java, Simpler than *sh by DannoHung on Tuesday August 14, 2012 @01:47PM (#4382135)
This is the way that APL programmers write C.