Re: Interview question: variable initialisation



Andy Sinclair wrote:

.... snip ...

IMO if the result of an operation is not immediately clear, you
should make it so. At a conference I attended a couple of years
ago, the speaker suggested that when using a C reference for
embedded systems, you should remove the operator precedence table
and set it on fire.

An excellent recommendation. In an attempt to reduce the fire
risk, I have always recommended never assuming any precedence
levels over multiplicative, additive, logical (, assignment). For
anything further, use parentheses.

--
"They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
-- B. Franklin, 1759
"When I want to make a man look like an idiot, I quote him."
-- Mark Twain
"I hear the voices." G W Bush, 2006-04-18


.



Relevant Pages

  • Re: News: NASA to use roller coaster for CEV crew launch pad escape
    ... In fact, if you have a fire in your capsule during a countdown, and the fire ... little temporary safety deserve neither liberty nor ...
    (sci.space.history)
  • Re: New Laptop -- moving XP and Office ?
    ... yeah most of us do but judging by the language in his first post he doesn't so my recommendation was to take it to someone who does know to save him a lot of wasted time. ... They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ...
    (microsoft.public.windowsxp.general)
  • Re: Replace MB & Processor
    ... MB/processor and simply fire up the hd with the old xp OS on it and expect it ... to run.You need to do a clean install of xp with a new board.. ... They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ...
    (microsoft.public.windowsxp.hardware)
  • Re: How do i bann MSN messenger from a pc?
    ... disregard my earlier advice about consulting the network administrator. ... fire the current administrator and hire a competent one. ... They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ...
    (microsoft.public.windowsxp.general)
  • Re: What portable to buy
    ... > choose if I want to run Linux on it. ... Providing a recommendation is akin to telling you which car you should ... -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." ...
    (comp.os.linux.portable)