Thoughts on this code and improvement ideas

Started by
9 comments, last by Sir_Spritely 20 years, 8 months ago
quote:I didn''t look at any of the specifics, but I must say you have good commenting habits,

The only good commenting habit is "write code whose purpose and mechanism is so clear that it needs no comments".

Source code doesn''t lie. Comments do. Source code is always superior.
char a[99999],*p=a;int main(int c,char**V){char*v=c>0?1[V]:(char*)V;if(c>=0)for(;*v&&93!=*v;){62==*v&&++p||60==*v&&--p||43==*v&&++*p||45==*v&&--*p||44==*v&&(*p=getchar())||46==*v&&putchar(*p)||91==*v&&(*p&&main(0,(char**)(--v+2))||(v=(char*)main(-1,(char**)++v)-1));++v;}else for(c=1;c;c+=(91==*v)-(93==*v),++v);return(int)v;}  /*** drpizza@battleaxe.net ***/

This topic is closed to new replies.

Advertisement