3 ms·
I went to a computer camp as a child and my first project was a number guessing game where the computer would pick a random number and then tell you hotter and
by amdavidson 9y ago
I went to a computer camp as a child and my first project was a number guessing game where the computer would pick a random number and then tell you hotter and colder as you guessed numbers.
I passed it to a friend to show off my work, and the first number he entered was "a", crashing the program immediately. Defending against rogue inputs was literally the first thing I ever learned about writing safe code.
- jdmichal 9y agoThat's my favorite software engineering joke: A tester walks into a bar and orders a beer... And orders 2147483648 beers... And orders 0 beers... And orders -1 beers... And orders "banana" beers... EDIT: I just thought, you might actually get a Bananenheizen if you order the last one in Germany...