Software Professor Challenged His Class to Write a Program in as Few Lines as PossibleSo He Did It With Zero Lines
News Source : Twistedsifter.com
News Summary
- The student in this story figured out a loophole in the assignment and finished the program in zero lines of code.
- The professor was very strict and by the book on his policies.
- He was a tenured professor, set in his old ways, and felt a bit entitled because of his past career prestige.
- Even in 2009, he demanded that *all* coding assignments are turned in on 3.5 inch floppy drives.
- The assignment is simple; the execution is the challenge.
- The computer didn’t care where the byte data was stored.
- It just blindly ran whatever byte data you gave it, without checking whether it was valid memory space for executable instructions or even if it was a valid instruction.
Shutterstock School professors often use various types of challenges or competitions to try to encourage students to do their best.
Never miss a story from us, subscribe to our newsletter