Re: MISRA new rule suggestion



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
.



Relevant Pages

  • Re: Confessions of a Python fanboy
    ... (say, with human languages), that the arbitrariness is lost. ... operator in any programming language using Latin symbols, ... At least I only have to deal with *one* such arbitrary symbol that needs ... communication to the compiler. ...
    (comp.lang.python)
  • Re: Breaking backwards compatibility - good or bad?
    ... languages here - not HUMAN languages. ... Case distinction is but one of the many distinctions and pernickity rules that we have to learn when we learn to program in a language or system that uses it. ... But I find that in practice there are lots of different conventions and I'm often switching from one to another as I work on different scripts written by different people at different times, ...
    (comp.lang.php)
  • Re: Steps beyond "Hello World" program
    ... eight-instruction Turing-complete programming language", and states ... languages, like BF and Unlambda, which try to be TC with as little as ... Malbolge is probably the one you're thinking of. ... it hasn't been formally proven Turing-complete ...
    (comp.programming)
  • Re: Strengths of Standard ML compared with more recent FPLs
    ... if I can become more productive in a functional programming language ... I experienced significant productivity boosts ... The only sensible long term view is that languages are going to keep ... and getting to understand Haskell would take even more ...
    (comp.lang.functional)
  • RE: Help on GUI Tools
    ... While certainly one could write GUI apps in C or C++, ... i have an option to choose from Windows Platform and LINUX ... and with respect to Languages, wel..yes i do know quite a bit of them ... > 2) And what kind of Programming Language would be used for the ...
    (RedHat)