Names do not in general fit into the schematic "first name, last name"
Is there not a "falsehoods programmers think about phone numbers" yet?
Edit: And once again, I'm still confused about some of these. Do we need to expand unicode for names? It's supposed to be universal. WTF is up with 40?
[This comment has been deleted by an automated system]
You absolute buffoon. How do you figure this code isn't testing how to parse a string into such an object??
Found the Java programmer...
microsoft java :p
You seem to enjoy overengineering your code, don't you?
Better than an integer at least.
"The number" is itself two parts hence the dash. The first section being the prefix and the last part being the line number.
I think it's commendable to vertically align code. (Just not with tabs.) It makes it look neater.
(Don't mistake this as me saying everyone should start using tabs immediately. This would take a drastic overhaul of all textual displays and we're likely to never see such a thing, but it's still a cool concept.)
Good to see tabs' fundamental flaw was solved. I think I'll be switching to this.
Without monospacing....
Junior devs don’t know Jenny.
It's true. Who's Jenny, for the zoomers in the chat?
It was a very popular song in the 80s. Jenny’s phone number was 867-5309.
the fact that these are strings instead of an object that is broken up by country code, area code, and number makes me irrationally angry.
Could be tests for a parser to convert it from string to object.
Not like your end users are going to type each piece into a separate field.
i think you think that telephone numbers are well-structured. they are not. they are messy. they do not fit a certain schematic.
I recommend also the following topic: "people have names". https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
Names do not in general fit into the schematic "first name, last name"
Is there not a "falsehoods programmers think about phone numbers" yet?
Edit: And once again, I'm still confused about some of these. Do we need to expand unicode for names? It's supposed to be universal. WTF is up with 40?
[This comment has been deleted by an automated system]
You absolute buffoon. How do you figure this code isn't testing how to parse a string into such an object??
Found the Java programmer...
microsoft java :p
You seem to enjoy overengineering your code, don't you?
Better than an integer at least.
"The number" is itself two parts hence the dash. The first section being the prefix and the last part being the line number.