Re: OT: Why is C so popular?

From: Steve Lamb (grey_at_dmiyu.org)
Date: 08/30/03

  • Next message: Colin Watson: "Re: COBOL compiler"
    Date: Fri, 29 Aug 2003 18:04:24 -0700
    To: debian-user@lists.debian.org
    
    
    

    On Fri, 29 Aug 2003 19:03:54 -0500
    Alan Shutko <ats@acm.org> wrote:
    > We try to hire people with a basic knowledge of the language.

        Which does not negate the fact that stupid mistakes happen. The common
    error of...

    if cond
        bar;
        baz;

        ...in C can be avoided by the braces being there. Furthermore once you
    get in the habit it really is no wasted effort. In fact it helps because you
    just do it instead of "uhm, ok, this time I won't put braces, er, wait."

    > I can see your concern with the fifteen different ways perl can
    > represent ifs (at least the language doesn't have COME FROM) but this
    > is a bit excessive? Do you also wrap if bodies in a few extra layers
    > of parentheses, in case someone comes along and wants to add a || and
    > forgets to?

        No because that's generally on the same line and you can see plainly
    whether it needs it or not.

    -- 
             Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
           PGP Key: 8B6E99C5       | main connection to the switchboard of souls.
    -------------------------------+---------------------------------------------
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Colin Watson: "Re: COBOL compiler"

    Relevant Pages

    • Re: Text marked with "Do not check spelling or grammar" was skippe
      ... there is no Language icon displaying on my status bar, ... selected in the list of Status Bar Options. ... the language indicator options in Word 2007? ...
      (microsoft.public.word.spelling.grammar)
    • Re: Text marked with "Do not check spelling or grammar" was skippe
      ... spelling" is NOT checked. ... why you're not seeing it in the status bar at the bottom of the Word window. ... Language, and see if it shows up then. ... can also get to this dialog by double-clicking the language indicator ...
      (microsoft.public.word.spelling.grammar)
    • Re: PEP 3107 and stronger typing (note: probably a newbie question)
      ... foo = "i'm a dynamic variable" ... It would surely be possible to design a language like that, ... class Bar: ... ...
      (comp.lang.python)
    • Re: Text marked with "Do not check spelling or grammar" was skippe
      ... I'm glad you ultimately found it in the Review tab, but I'm at a loss as to why you're not seeing it in the status bar at the bottom of the Word window. ... As a test, you might try turning off ALL of the status bar options except for Language, and see if it shows up then. ... Herb Tyson MS MVP ... >> To get this dialog in Word 2007, if you see the language indicator in>> the ...
      (microsoft.public.word.spelling.grammar)
    • Re: Text marked with "Do not check spelling or grammar" was skippe
      ... With Language selected in the list of Status Bar tools, your language should appear on the status bar. ... then perhaps there are too many status bar option selected to display the language tool. ... To get this dialog in Word 2007, if you see the language indicator in the ...
      (microsoft.public.word.spelling.grammar)