Ideas & thoughts about (retail) technology & startups

Code, Coding, Developing and Everything In Between

When I was studying Computer Science in France, I had a Professor lecturing Databases 101: “I’m programming a shopping cart software. I want to store a phone number with the order, and we will use the Integer data type because, basically, a phone number is a number.” I asked, “But shouldn’t we use a String data type so we can accept dashes, spaces, punctuation or whatever is used as a separator in a phone number, or pre-process the user input so we’re sure we store a number?”

“What user? We don’t care about the user, we’re just coding.”