News for hackers. Stuff that matters.
Re:German town votes ‘No’ to street names by okl on Monday February 04, 2019 @05:26AM (#19075195)
Not much worse than zip codes with letters.
Re:German town votes ‘No’ to street names by d33 on Monday February 04, 2019 @06:22AM (#19075435)
If you're trying to store numbers that might start with a zero using an integer type, you're doing it wrong anyway. A rule of thumb is to ask yourself the question: what does the result of adding two such values mean?
Re:German town votes ‘No’ to street names by K2L8M11N2 on Monday February 04, 2019 @10:55AM (#19077299)
Does that mean that e.g. numeric user ID should also me strings since adding them is meaningless?
Re:German town votes ‘No’ to street names by bausshf on Monday February 04, 2019 @07:33AM (#19075763)
Nothing difficult about zip codes as long as you treat them as strings :)
Re:German town votes ‘No’ to street names by carlmr on Monday February 04, 2019 @05:31AM (#19075219)
Canada says hi.