in reply to Perl::Improved Volume 0, Number 0
The test names should be longer and more descriptive.
Why? They're named that way for programmers coming to Perl from a shell. Thus, the shell programmers are familiar with them. Hence, you lose any "it's more intuitive!" arguments. And if you're coming to Perl from something like C, you have stat().
The numbering of array indexes and other things in Perl start at 0. This is dumb.
Why? Array indices start at 0 in just about every other programming language1, and they're modeled after the way the machine addresses memory. It'd be a major point of contention and grinding of teeth if Perl changed decades of programming intuition in order to make sense to someone who doesn't have a computer science background. ... not to mention that it'd break so much code, and possibly expose off-by-one security holes in that which it doesn't break outright.
I really don't like what you're doing here, though I (in spite of myself) appreciate the ultimate goal of what you're doing. Just don't make me use your creation. :)
I'll end this post with a quote from my .signature:
I abhor a system designed for the "user", if that word is a coded pejorative meaning "stupid and unsophisticated". -- Ken Thompson
-----
1: Yes, I realise that conformity is almost always a bad idea, but standards are good, especially something as widespread as array indices.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl::Improved Volume 0, Number 0
by TheEnigma (Pilgrim) on Aug 30, 2004 at 21:54 UTC | |
|