5 ms·
I once had a product owner for a student/university web app who complained that for a particular user, their lastname was displayed as 'None'. This was a Pytho
by the-dude 7y ago
I once had a product owner for a student/university web app who complained that for a particular user, their lastname was displayed as 'None'.
This was a Python project and the product owner apparently already had learned 'None' equals NULL.
I dug into the file which we used to import the users from and discovered the user's lastname actually was 'None'.
- jgtrosh 7y agoMaybe it could be added to the list of falsehoods programmers believe about names: https://shinesolutions.com/2018/01/08/falsehoods-programmers-believe-about-names-with-examples/ https://shinesolutions.com/2018/01/08/falsehoods-programmers...
- Izkata 7y agoNow, was it a case of number 20 and they were required to enter something, or was it actually legally None? https://www.houseofnames.com/none-family-crest https://www.houseofnames.com/none-family-crest
- the-dude 7y agoMaybe the case. However, this was an international student org and the student was from Africa. We assumed it was correct and did not dig to the bottom. Whatever the truth was, I could close the ticket.
- wcoenen 7y agoI think this example falls under falsehood 31, where None would be considered a "bad word" that can't appear in names.
- jgtrosh 7y agoThat describes making some "bad" values illegal, where I believe the problem here was that they didn't expect the value.
- jmchuster 7y agoThere was a manager i worked with whose last name was "Null". She complained that every few months her account would get wiped from the HR system.