Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Programming Laws

by mirod (Canon)
on Jan 24, 2002 at 20:01 UTC ( #141230=note: print w/replies, xml ) Need Help??

in reply to Programming Laws

I discovered those very early in life:

Mirod's Principle of Certainty
If it has not been tested then it does not work

Corrollary to Mirod's Principle of Certainty
Even if it has been tested, chances are that it is still bugged

Replies are listed 'Best First'.
Re: Re: Programming Laws
by metadoktor (Hermit) on Jan 24, 2002 at 21:31 UTC
    Metadoktor's Law of Spelling

    If it can be misspelled, then it will be misspelled.

    For instance, that's Corollary and not Corrollary.

    Spelling applies to programming and not just English or whatever other language you know.


    Metadoktor's Law of Documentation

    There is no such thing as well documented code.

    and a corollary...

    No one will read the documentation even if it exists!


    "The doktor is in."

      My group now has to spell "deprecated" as "depricated" because when I did the database design, I spelled it wrong, wrote a bunch of code around it, and now it has too much inertia to fix


        A relatively harmless infraction compared to the guy who misspelt "referrer" as "referer" (as in $ENV{'HTTP_REFERER'})

        George Sherston
        .oO( find | xargs perl -i -pe's/depricated/deprecated/g' )
        (update: stefp correctly said /g was a good idea)

        2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

        The project I inherited and now spend most of my time with is full of these. And they could not even misspell consistently :-(

        Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
           -- Rick Osborne

        Edit by castaway: Closed small tag in signature

      If it can be misspelled, then it will be misspelled.
      Big words coming from someone named "metadoktor".
        you probably meant:
        "If it can be mispelled, then it will be misspelled."
        Corollary: misspelings are not consistant.

        -- stefp -- check out TeXmacs wiki

        Calm down boo_radley. It was not meant as a flame. It's just a fact of life that words will get misspelled.


        "The doktor is in."

        Metadoktor is a perfectly well spelled word in almost
        every language except English. What is it with English
        and this completely superfluous C?

        Regards, Helgi Briem

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://141230]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2020-01-26 20:36 GMT
Find Nodes?
    Voting Booth?