[TUHS] Cryptic Unix Commands
John P. Linderman
jpl.jpl at gmail.com
Thu Sep 6 02:12:15 AEST 2018
On Wed, Sep 5, 2018 at 11:44 AM, Noel Chiappa <jnc at mercury.lcs.mit.edu>
wrote:
> > From: Norman Wilson
>
> > It is just plain wrong to code
> > kill(9, pid)
>
> _All_ uses of magic numbers in numeric form are wrong!
>
> Noel
>
I completely agree, although you can do worse. A junior programmer I worked
with at MIT wrote (in IBM assembler)
twelv dc 10
(I probably have the syntax wrong, but he was declaring the value of
symbolic name 'twelv' to be 10). I have no idea why he did this. He didn't
last long.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20180905/9bae5277/attachment.html>
More information about the TUHS
mailing list