Timeline for Why isn't the line count in Visual Studio zero-based?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 20, 2023 at 4:37 | comment | added | Nayuki | @Kenneth Yes it would. If a compiler told you an error occurred on line 5 (1-based, as per convention), but you jump to line 5 (0-based, as per the question) in your text editor, that is exactly the problem that would happen by breaking conventions. | |
| Jan 9, 2018 at 21:56 | comment | added | JohnFx | Except for numbering floors in European countries. For some reason that is zero based. | |
| May 23, 2017 at 12:40 | history | edited | CommunityBot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| Apr 12, 2017 at 7:31 | history | edited | CommunityBot | replaced http://programmers.stackexchange.com/ with https://softwareengineering.stackexchange.com/ | |
| Aug 18, 2011 at 14:26 | comment | added | Rook | I don't know any mathematicians (and I do know quite a few) that start counting from one. They deal with 0 when needed in where needed, but in real life they all count from one. | |
| Aug 18, 2011 at 14:11 | comment | added | Kenneth | "massive amount of confusion"? Probably not... | |
| Aug 18, 2011 at 14:02 | history | answered | Nayuki | CC BY-SA 3.0 |