"while/else" (ugh) (was Re: [oclug] Ruby)
Dave Edwards
dle at sympatico.ca
Fri Jun 27 16:16:52 EDT 2003
On Fri, 27 Jun 2003 15:46, "David F. Skoll" wrote:
>
> The point is that "else" is a perfectly good English word, and using
> it in a way totally unrelated to its English meaning is a big mistake.
>
Doesn't that imply that it's improperly used in most or all programming
languages? It should really be "otherwise", if fidelity to English
denotation is crucial.
if n = 'dfs':
print 'hi David'
otherwise:
exit(1)
Dave.
--
Dave Edwards <dle at sympatico.ca>
Freelance and Technical Writer,
With Special Interest in Open Source Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20030627/efd3493d/attachment.bin
More information about the OCLUG
mailing list