The amazing legend of John Two Spaces
Publicado em 20/01/2017 18:01
Comment this post
Original: A incrível lenda do João Dois Espaços
Transcription ↓
real story;
string sender = "Anonymous Student ";
Programmer: Duuuude!!! The primary key of this database is the student's name?
Alex: Weird, uh? It's legacy and no one is allowed to change...
Programmer: And how do they insert two students with the same name?
Alex: Oh, the directors have defined a "pattern" years ago... The first student with the name is inserted normally. If there was a new student with the same name, they would put an space after the name. A new one with the name, two spaces...
Programmer: PLOP!
--
T-shirt: Let's trim!