Re: MISRA new rule suggestion
- From: Albert van der Horst <albert@xxxxxxxxxxxxxxxxxx>
- Date: 03 Jul 2005 21:57:10 GMT
In article <uy8933xdy.fsf@xxxxxxxxxxxxx>,
Christopher C. Stacy <cstacy@xxxxxxxxxxxxx> wrote:
<SNIP>
>
>The programming language that I usually work in (Lisp) uses a
>different set of conventions. First of all, case doesn't matter.
>If you say "UNDER" or "under" it means the same thing, so we
>don't bother with run-together words and worrying about the case.
>
>And although you could use underscore, nobody does, because we
>can use dash ("-"), which reads more naturally. I make this
>claim, because nobody is ever instructed not to use underscore.
>They know that they could, and many of the older programmers
>came from languages (like PL/I) where that's you always did.
>And yet nobody --- in particular, no newbies -- ever even
>suggest using underscores. I think the only reason this is
>not done in other languages is the infix subtraction problem.
Well, in Forth we use the dash convention often too.
I have defined the word _ as "push a don't care value to the
stack". Its prononciation is "don't care". Forth uses any number
of weird character combinations, but the prononciation is
known:
*/mod "star-slash-mod"
+! "plus-store"
$^ "string-index"
Not only the founder, Chuck Moore, insists that words are
pronouncable, he prefers them to form sentences.
Further most Forth's are case-insensitive, although I don't really
like that.
>So we would always just write "time-left", pronounced "time left".
Groetjes Albert.
--
--
Albert van der Horst,Oranjestr 8,3511 RA UTRECHT,THE NETHERLANDS
Economic growth -- like all pyramid schemes -- ultimately falters.
albert@xxxxxxxxxxxxxxxxxx http://home.hccnet.nl/a.w.m.van.der.horst
.
- Prev by Date: Re: USB-serial converter with a USB-device connector
- Next by Date: Re: Division by rotation on 8 bit machine
- Previous by thread: Re: USB-serial converter with a USB-device connector
- Next by thread: Re: Division by rotation on 8 bit machine
- Index(es):
Relevant Pages
|