Mobile app version of desicheers.com
Login or Join
FunnyJohny

: #Laughs Just wanted to check out that you gnarly dudes are using the latest andgreatest software technology fer yer rad code to make it easy for thedudes who have to read it.

@FunnyJohny

Posted in: #Laughs

#Laughs Just wanted to check out that you gnarly dudes are using the latest andgreatest software technology fer yer rad code to make it easy for thedudes who have to read it.

The hip new way to write readable Ccode involves the use of a few simple defines.#define like {#define man ;}#define an ;#define SayBro /*#define CheckItOut */SayBro like, this is some rad program, so CheckItOutlike a = b an c = dmanSayBro , like who needs help from them compiler choads anyway?THIS is the way to write CLEAR code.

I mean really! CheckItOutlike SayBro this is ShellSort straight out of the white book, but ina readable form.CheckItOut man#define YoDude for(#define OK )#define is =#define AND &&#define as#define Do#define long#define some#define make#define garbage#define FAROUTshell(v, n) SayBro sort v[0]...v[n-1] into increasing order CheckItOutint v[], n;like int gap, i, j, temp;YoDude gap is n/2 an as long as gap > 0 Do some garbage an make gap /=2 OK YoDude i is gap an as long as i < n Do some garbage an make i++ OK YoDude j is i - gap an as long as j >= 0 AND v[j] > v[j+gap] Do some garbage an make j -= gap OK like temp is v[j] an v[j] is v[j+gap] an v[j+gap] is temp manFAROUT manSayBro like, B there OB square! CheckItOut


Intraday stocks under 100 NSE India Twitter of India

10.17% popularity Vote Up Vote Down


Login to follow story

More posts by @FunnyJohny

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme