Re: code portability



Keith Thompson <kst-u@xxxxxxx> wrote:

Frederick Gotham <fgothamNO@xxxxxxxx> writes:
Here's a few things which a variable can be:

unsigned
volatile
static

Just like my "smoot, yellow, painted, big wall", I don't care what order
they're put in:

If you don't care, why not just do it the way everyone else does it?

Who is this mythical "everyone" you keep harping on about? The
"everyone" who always uses the same style as "everyone" else? The one,
golden, omnipotent, omnipresent, sacrosanct C style?

If you read code that does not come from your own shop, you _are_ going
to encounter different styles of coding. Many of them are a lot less
consistent than Frederick's. And contrary to the assertions made in this
thread, it is not unfamiliarity which makes code hard to read - not for
longer than five minutes - it is inconsistency. I can easily read any
reasonably laid-out code, even if it's different from mine. The problems
start when a coder starts mixing styles at random.

Richard
.



Relevant Pages

  • Re: Mellencamps plan backfires
    ... I agree in the sense that I couldn't flippin care less what an entertainers ... Let me ride on the Wall Of Death one more time ...
    (alt.guitar.amps)
  • Re: Cant keep up with the group
    ... All over body pain too. ... to take care of you, so that we can just love and enjoy you. ... full stop was only because of my hitting the wall and no ... i haven't maxed-out. ...
    (alt.support.arthritis)
  • Re: Noise from neighbors, solutions?
    ... Can you hire a priest to visit, ... The noise I'm trying to diminish is in my backyard. ... I can also put inside my property a concrete block wall ... here don't care. ...
    (alt.home.repair)
  • Re: Got an email from Larry
    ... ball goes in! ... Yeah but the flip side to that is that he couldn't care less. ... "If you raise the ceiling four feet, move the fireplace from that wall ...
    (rec.sport.golf)
  • Re: Disable Device is persisted, but where?
    ... The reason I care is that the DDK implies the ... Enum is not volatile. ... Don Burn (MVP, Windows DDK) ...
    (microsoft.public.development.device.drivers)