That's [b]retarded[/b]. You are adding [i]unnecessary[/i] complexity and [i]unneeded[/i]syntactic sugar to a compact and simple programming language. In short, you are ruining the perfection of C.
Name:
Anonymous2012-01-08 23:54
This seems like as good a thread to post this as any. #define unless(a) if(!(a)) makes no fucking sense.
>>1 #
/*
* UNIX shell
*
* S. R. Bourne
* Bell Telephone Laboratories
*
*/
#define LOCAL static
#define PROC extern
#define TYPE typedef
#define STRUCT TYPE struct
#define UNION TYPE union
#define REG register
#define IF if(
#define THEN ){
#define ELSE } else {
#define ELIF } else if (
#define FI ;}
#define BEGIN {
#define END }
#define SWITCH switch(
#define IN ){
#define ENDSW }
#define FOR for(
#define WHILE while(
#define DO ){
#define OD ;}
#define REP do{
#define PER }while(
#define DONE );
#define LOOP for(;;){
#define POOL }
#define SKIP ;
#define DIV /
#define REM %
#define NEQ ^
#define ANDF &&
#define ORF ||
Postin' in a BASIC thread! #define do_nothing
#define then
Name:
Anonymous2012-01-11 1:44
>>4
Because Perl. You do have to twist your brain around a little bit for it to seem natural ("do unless (condition) { ... }" is how I read it), but if you've been bitten by a missing or missed ! nested inside the parens, you come to appreciate it more.
Name:
Anonymous2012-01-11 2:59
>>11
Lisp has the same thing. Even though Lisp is shit, it's still nice to have multiple ways of expressing something.