Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #25037

Re: XC8 novice question

From Dennis <dennis@none.none>
Newsgroups comp.arch.embedded
Subject Re: XC8 novice question
Date 2016-09-13 10:22 -0500
Organization A noiseless patient Spider
Message-ID <nr95j0$lu$1@dont-email.me> (permalink)
References (9 earlier) <nr67eb$1t4$1@dont-email.me> <nr6h1s$5k0$1@dont-email.me> <nr75m4$l9s$1@dont-email.me> <nr7uue$cr9$1@dont-email.me> <nr8k74$63g$1@dont-email.me>

Show all headers | View raw


On 09/13/2016 05:25 AM, David Brown wrote:

>
>
> If a change makes code clearer, then it is a good thing.  Visually
> splitting the words in a multi-word identifier makes code clearer -
> whether that is done using camelCase or underscores is a minor issue.

I'll go off on a tangent - it can be an important issue. I once worked 
with a guy that was visually impaired and used a screen reader for much 
of his work. The underscore form would read as (spoken)word 
(spoken)underscore (spoken)word... where the camelCase would cause it to 
give up and spell it all out. We referred to the underscore form as 
"easy reader code". This was over a decade ago so screen readers may be 
smarter now.

> Small letters are easier to read (that's why they exist!), and avoid
> unnecessary emphasis - that makes them a good choice in most cases.  And
> there is rarely any benefit in indicating that an identifier is a
> constant or a macro (assuming it is defined and used sensibly) - so
> there is no point in making such a dramatic distinction.
>

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

XC8 novice question rwood <rwoodl@nowhere.com> - 2016-09-11 15:02 +0800
  Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-11 02:55 -0700
    Re: XC8 novice question rwood <rwoodl@nowhere.com> - 2016-09-11 18:25 +0800
      Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-11 13:35 +0200
        Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-11 07:32 -0700
          Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-11 16:58 +0200
            Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-11 13:15 -0700
              Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 08:55 +0200
                Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-12 02:41 -0700
                Re: XC8 novice question Mike Perkins <spam@spam.com> - 2016-09-12 13:16 +0100
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 14:56 +0200
                Re: XC8 novice question Mike Perkins <spam@spam.com> - 2016-09-12 14:33 +0100
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 16:11 +0200
                Re: XC8 novice question Jack <jack4747@gmail.com> - 2016-09-12 07:50 -0700
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 22:23 +0200
                Re: XC8 novice question Les Cargill <lcargill99@comcast.com> - 2016-09-12 15:34 -0500
                Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-12 08:44 -0700
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 14:35 +0200
                Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-12 08:19 -0700
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 23:11 +0200
                Re: XC8 novice question Dennis <dennis@none.none> - 2016-09-12 17:04 -0500
                Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-12 22:49 -0700
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-13 09:04 +0200
                Re: XC8 novice question Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-09-13 00:16 +0200
                Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-12 21:22 -0700
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-13 12:25 +0200
                Re: XC8 novice question Dennis <dennis@none.none> - 2016-09-13 10:22 -0500
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-13 20:08 +0200
            Re: XC8 novice question rwood <rwoodl@nowhere.com> - 2016-09-12 16:50 +0800
          Re: XC8 novice question Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-09-11 17:13 +0100
            Re: XC8 novice question Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-09-11 17:19 +0100
              Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 09:00 +0200
      Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-11 07:28 -0700
    Re: XC8 novice question upsidedown@downunder.com - 2016-09-11 13:56 +0300
      Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-11 13:28 +0200
      Re: XC8 novice question Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-09-11 13:36 +0200
        Re: XC8 novice question upsidedown@downunder.com - 2016-09-11 16:14 +0300
          Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-11 07:57 -0700
          Re: XC8 novice question Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-09-12 22:52 +0200
            Re: XC8 novice question upsidedown@downunder.com - 2016-09-13 10:11 +0300
              Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-13 01:11 -0700
                Re: XC8 novice question upsidedown@downunder.com - 2016-09-13 13:24 +0300
                Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-13 12:39 +0200
                Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-13 15:41 -0700
                Re: XC8 novice question upsidedown@downunder.com - 2016-09-14 09:07 +0300
                Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-13 23:29 -0700
      Re: XC8 novice question Don Y <blockedofcourse@foo.invalid> - 2016-09-11 07:50 -0700
  Re: XC8 novice question Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-09-11 13:42 +0200
  Re: XC8 novice question Tim Wescott <tim@seemywebsite.com> - 2016-09-11 20:14 -0500
  Re: XC8 novice question rwood <rwoodl@nowhere.com> - 2016-09-12 16:54 +0800
    Re: XC8 novice question David Brown <david.brown@hesbynett.no> - 2016-09-12 11:05 +0200
      Re: XC8 novice question rwood <rwoodl@nowhere.com> - 2016-09-12 18:48 +0800
  Re: XC8 novice question John Temples <usenet@xargs-spam.com> - 2016-09-12 17:33 +0000

csiph-web