2 ms·
I can sympathize with the author. I "got" programming and generally found it rather easy (in college, I would look at some random student's code and just point
by spc476 18y ago
I can sympathize with the author. I "got" programming and generally found it rather easy (in college, I would look at some random student's code and just point out each bug; used to drive the random student crazy when I did that).
But there was one class I took, Unix Systems Programming (all in C). It was a higher level course with prerequisites of data structures (by that time in college, taught in C) and compiler writing (undergrad version). We were sitting there as the professor was going over the memory layout of a running Unix process ("the text segment is where the code is stored, the data segment were all pre-initialized code goes, yada yada"). One student raises her hand. The professor stops and asks if she has a question.
"Yes, where do the comments go?"
I think it took a full thirty seconds for the professor to reboot.
I do have to wonder how that student got through compiler writing.
- kragen 18y agoYou know, most ELF executables do have a .comment section, and IIRC Java includes comment text in its *.class files, and comments are included in the HTML and XML DOMs. So it's not a completely insane question.