Hacker News new | ask | show | jobs
by vinutheraj 6197 days ago
Well, we had a compilers class in college in which the professor told us to compulsorily use the K&R style or he would cut marks(!!). He even made his TA write a C code which would check whether we were following the code style. So mischievous as we were, my friend and I used yacc and flex and wrote something which would make code, written in any style, into the K&R style and sent it to all our friends, that was really fun :)