4 ms·
This reminds me about an undergrad C course I had. One test was about printf formatting. We were given a serie of crazy format strings (using format specifier I
by jre 14y ago
This reminds me about an undergrad C course I had. One test was about printf formatting. We were given a serie of crazy format strings (using format specifier I've never encountered again since) and had to know what it would output. This was the most stupid test I've ever had.
There was a similar one about pointers. We called it "Star Wars".
- gregorkas 14y agohttp://xkcd.com/138/ http://xkcd.com/138/
- chris_wot 14y agoA test about pointers is not stupid. A test about printf formatters is.
- _pmf_ 14y ago> A test about pointers is not stupid. A test about printf formatters is. Obviously you did not have the joy of working with people who write their own byzantine 1k LoC formatting code for cases that would have been perfectly covered by printf (and yes, this was on a system where a printf implementation was available).