r/programming • • Mar 12 '14

Implementing a web server in a single printf() call

http://tinyhack.com/2014/03/12/implementing-a-web-server-in-a-single-printf-call/
582 Upvotes

123 comments sorted by

View all comments

Show parent comments

2

u/kryptobs2000 Mar 13 '14

If he doesn't even teach them command line arguments I would be very worried what they're expected to be able to do by the end of the class.

1

u/[deleted] Mar 13 '14

I assumed this was just this one issue, but apparently there is way more going on that is detrimental to the quality of the education.

1

u/Tynach Mar 13 '14

I've since remembered other things. Like his insistence of, along with 'void main(void)' and 'int main(void)', also teaching these both as perfectly valid:

/*At the top of the file:*/
#include <iostream.h>

and:

/*At the top of the file:*/
#include <iostream>
using namespace std;

There is no compiler today that I know of that allows to just use 'iostream.h', yet he encourages people to use it as if it's the standard, and the other one (without the .h) is breaking the standard.