Hacker News new | ask | show | jobs
by dxbydt 5190 days ago
true story. when I was 16 ( way back in the early 90s), my parents enrolled me in niit.com (presently a billion USD company that was at the time a tiny 3-room outfit ). niit taught cobol. I hated everything about cobol. I thought it was a shit language and the people who taught me cobol were shit. We were supposed to build an inventory control module in cobol. I didn't know what an inventory was, so they gave me an econ book about manufacturing & inventory. I thought it was absolutely dumb to keep track of nuts & bolts & accounting & money & suchlike. So I wrote a cobol program to calculate the fourier coefficients of complex exponentials, since that's what I was studying at school. So my cobol program would painstakingly calculate the first five fourier coefficients of sawtooth waves & square waves & then using the partial sum, it would reconstruct the expansion by printing out the series on a dot matrix printer. All of this was running on some processor called intel 80286 xt and it would take 10 full minutes to just compile the code. One day I was standing by the dot matrix when the instructor walked in. He thought I was some precocious kid who had coded up a whizbang inventory module for acme corportation, so he expected nice tables with rows & columns of data on optimal number of nuts & bolts. But when he saw the printer slowly rolling out sawtooth waves and square waves of various frequencies, he completely lost it & yelled at me for wasting the precious resources of the dot matrix printer to do frivolous nonsense. I got a F on cobol.
1 comments

> I hated everything about cobol. I thought it was a shit language and the people who taught me cobol were shit.

Well you probably weren't that far off on the former point.

>But when he saw the printer slowly rolling out sawtooth waves and square waves of various frequencies, he completely lost it & yelled at me for wasting the precious resources of the dot matrix printer to do frivolous nonsense. I got a F on cobol.

Maybe, but you get an A in my book. Because the image you just put into my head is magnitudes of awesome. The IBM-type manager yelling at this 16 year old hackerish kid for taking a computer joy ride. The same sort of computer joy ride that probably comprised the whole reason he had a job in the first place.

The irony is sweet (With a bitter aftertaste.), and I'm sorry you had to go through that.