I'm amused at EWD498 - How do we tell truths that might hurt? https://www.cs.utexas.edu/~EWD/transcriptions/EWD04xx/EWD498... Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer. ... The use of anthropomorphic terminology when dealing with computing systems is a symptom of professional immaturity. ... Projects promoting programming…
The Manuscripts of Edsger W. Dijkstra
31–40 of 129 posts
Re: The Manuscripts of Edsger W. Dijkstra
#32Seeing book sections or chapters starting with zero, always confuses me. I know that this convention is probably inspired by the fact that the addresses of memory locations start with zero. But that case was due to that fact one of the combination of the voltages can be all zeros. So, it's actually the count of combinations, and I don't think it can be used for ordinal enumeration of worldly things such as book chapt…
If you’re at a corner and someone asks for directions, you say “three blocks that way”. That means three blocks starting from here. Then what do you call “here”? The name for where you start from in this scenario is usually not required because it’s obvious what you mean and everyone understands the first block means you have to first walk a block, not that where you start is the first block. So in that sense yes we…
Re: The Manuscripts of Edsger W. Dijkstra
#33Seeing book sections or chapters starting with zero, always confuses me. I know that this convention is probably inspired by the fact that the addresses of memory locations start with zero. But that case was due to that fact one of the combination of the voltages can be all zeros. So, it's actually the count of combinations, and I don't think it can be used for ordinal enumeration of worldly things such as book chapt…
The reason is that, for an array (or vector), you find the memory position for the i-th element with the base address + i*word_length. And the first element is in the base address - so has index 0.
Re: The Manuscripts of Edsger W. Dijkstra
#34Re: The Manuscripts of Edsger W. Dijkstra
#35Earlier quoted context omitted.
Zero is not an ordinal number. There can be a vector element indexed with zero, but it is not "zeroth" element. Book chapter numbers are ordinal numbers.
But what is there to gain with this distinction? Just the convenience of having an ordinal number to say? Rather than saying "chapter 0, chapter 1, chapter 2" one can say "the fourth chapter"? Or is it the fact that the chapter with number 4 has 3 chapters preceding it? On first glance I find this all rather meaningless pedantry.
EDIT: Yeah, I don't know why book chapter labels shouldn't start with "0". It seems fine to me. They could use letters instead of numbers for all I care.
Re: The Manuscripts of Edsger W. Dijkstra
#36I once had one of his quote on the back of my business card when I was doing a lot of software dev consultancy: "Computer Science is no more about computers than astronomy is about telescopes". I keep meaning to sit down with this site and make my way through it all. Might make more progress if I grab them into an eReader-friendly format and then peruse them more easily when travelling.
Re: The Manuscripts of Edsger W. Dijkstra
#37Completely silly fact: knowing 0 about the guy except that he gave his name to the famous algorithm, I had somehow assumed he was Indian. Weird to see a white Dutchman in the picture.
Re: The Manuscripts of Edsger W. Dijkstra
#38Seeing book sections or chapters starting with zero, always confuses me. I know that this convention is probably inspired by the fact that the addresses of memory locations start with zero. But that case was due to that fact one of the combination of the voltages can be all zeros. So, it's actually the count of combinations, and I don't think it can be used for ordinal enumeration of worldly things such as book chapt…
If you’re at a corner and someone asks for directions, you say “three blocks that way”. That means three blocks starting from here. Then what do you call “here”? The name for where you start from in this scenario is usually not required because it’s obvious what you mean and everyone understands the first block means you have to first walk a block, not that where you start is the first block. So in that sense yes we…
Re: The Manuscripts of Edsger W. Dijkstra
#39Seeing book sections or chapters starting with zero, always confuses me. I know that this convention is probably inspired by the fact that the addresses of memory locations start with zero. But that case was due to that fact one of the combination of the voltages can be all zeros. So, it's actually the count of combinations, and I don't think it can be used for ordinal enumeration of worldly things such as book chapt…
Building floor numbers in at least a few countries I’m aware of start from zero or “G” ( or the local language equivalent for “ground“) with 1 being the first story above the ground. I think you’re just biased to think that starting must “naturally” begin with 1. Zero is just a good a place to start and some people do start counting from zero.
Re: The Manuscripts of Edsger W. Dijkstra
#40Seeing book sections or chapters starting with zero, always confuses me. I know that this convention is probably inspired by the fact that the addresses of memory locations start with zero. But that case was due to that fact one of the combination of the voltages can be all zeros. So, it's actually the count of combinations, and I don't think it can be used for ordinal enumeration of worldly things such as book chapt…
that's why we start from 0, not because of voltages, at least in compsci.