views:

422

answers:

7

Having just answered a question on what the #pragma direction does in C, and had some fun with it, I was thinking of what other useful directives we could add to the language to keep pace with the stresses faced by todays developer. My first one was

#dogma, basically there to counteract all the pragmatic stuff creeping into modern C and get back to basics.

#karma, to override (run over) the #dogma, thanks to Steven A.Lowe for that one

What would you give add to the C standard to give it a modern make over?

A: 

#pragma used to run nethack, I think it is the best implementation there ever was.

so I vote:

#nethack
dsm
+4  A: 
#mahatma - brings peace and love to all
Steve Fallows
+5  A: 

How about this:


#please_compile

botismarius
+2  A: 

#pragma bugs(0)

Ferruccio
A: 

#guantanamo, for all those lines of code that really should not be out there. (I'm so going to hell for that)

MSalters
+1  A: 
#pizza

So that after a successful build, a pizza party shows up in your office.

Paul Nathan
+1  A: 
#DWIM

a.k.a. Do What I Mean