cranky young man
Jun. 7th, 2005 01:58 pmthings that make me crazy today:
rocking chair ergo desk chair, and saying "back in my day" "these days," I mutter, "we have tools for this sort of thing. And we don't keep it all straight in our heads. I don't care if 'disk crash' was a literal term when you were starting -- putting all the vowels in the variable name doesn't cost extra any more."
- inconsistent choices between zero-based and one-based numbering schemes
- obscure error messages
- putting lots of source into header files
- header file names do not match class names
- source control that consists of renaming the file in the same directory. and leaving it there with the binary ("hmm -- which code do you think he used to build this? was it newfeatures.h or features.h or experimental-features.h?")
Re: zero-based!
Date: 2005-06-08 05:31 pm (UTC)I'd never considered this. Yet Another Good Thing about feminism.
I agree with your feeling about the one-based indexing, but line numbers make sense in some applications. Now, if you could convince all the GNU textutils to start numbering lines at zero (e.g. head -0 gets you one line, and emacs reports line numbers starting with zero) then I'm on board.
Until then, we cope.
Re: zero-based!
Date: 2005-06-08 07:26 pm (UTC)head -1should return 1 line, not 2. one way to read it is: . But an even better way to read it is . The way you shouldn't read it is because that's just wrong.emacs line numbering and
grep -noutput do both seem wrong to me, though i can't imagine it changing, ever. which is too bad.