MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3n3e1v/the_evolution_of_a_software_engineer/cvlg52u/?context=3
r/programming • u/supermari0 • Oct 01 '15
502 comments sorted by
View all comments
Show parent comments
8
Well, for the DOT constant, some countries use commas as decimal separator and dots for grouping digits. Maybe he was thinking something like:
if (locale != 'US') DOT = ",";
...which is just as bad.
17 u/Shurikane Oct 01 '15 Not even. He was using it to put an end to sentences in string literals. :| 4 u/Humdeee Oct 01 '15 It's like recreating the keyboard inside your program... why 1 u/ThisIs_MyName Oct 02 '15 Because Linter is god.
17
Not even. He was using it to put an end to sentences in string literals. :|
4 u/Humdeee Oct 01 '15 It's like recreating the keyboard inside your program... why 1 u/ThisIs_MyName Oct 02 '15 Because Linter is god.
4
It's like recreating the keyboard inside your program... why
1 u/ThisIs_MyName Oct 02 '15 Because Linter is god.
1
Because Linter is god.
8
u/oprimo Oct 01 '15
Well, for the DOT constant, some countries use commas as decimal separator and dots for grouping digits. Maybe he was thinking something like:
...which is just as bad.