3 ms·
That was the first piece of code I learned, too. It's a small miracle I somehow still managed to fall in love with programming that semester.
by istjohn 8y ago
That was the first piece of code I learned, too. It's a small miracle I somehow still managed to fall in love with programming that semester.
- tombert 8y agoMy first language was C++ (which I hate now), then I learned Haskell, and then I went to college and learned Java, and I remember honestly feeling that the "hello world" that they teach must be somewhat of an "academic version" of things; there's no way anyone would write code that verbose that accomplishes that little. Now I have a job where I do Java about 30-40% of the time, and I've become horrified to learn that the school version of Java is the easy version. Having to create three different files to set up a database connection never ceases to depress me.