From: "Mike Hall" <mghall / enteract.com> > Peter Hickman wrote: > > > 1) People complain that they have to use 'elsif' and not 'elseif' > > 2) Some one says something like "Seems like adding an 'elseif' alias is > > a simple and forward-looking thing to do. Drop 'elsif' some day." > > 3) An alias for 'elseif' is created > > 4) Everyone is happy! The end. I believe, as I'm sure most others do, that keyword aliasing leads to madness. Method aliasing is probably more evenly split, but even then we manage to get productive work done for months on end without setting records for longest-yet-most-pointless threads. > What bugs me is that 'elsif' is just garbage. > We don't use "whl" for 'while' or "lup" for "loop" or "noo" for 'new', > or "yeeld", "souper", "kase", "whyle", "bgin", "resque", "brake", > "retreye", "raze". Because they all suck. > So why some half-bastardized word for 'elseif' or 'elif'? > Just because perl has it. > Oh, ok. What's so good about 'elif'? I'll have you know that 'elseif' isn't a word either. > Of the other scripting languages, what besides perl uses it? > Shell elif > Python elif (yes?) > > Tcl/Tk elseif and 'else if' > Awk else if > > Perl elsif Ruby elsif There, now it's two each. Nature abhors asymmetry. > All right, all right, I'm done. Let's hope so. > Mike Gavin