Re: Friendlier syntax



On Fri, 20 Jul 2007 22:17:43 +0300
"Alex Mizrahi" <udodenko@xxxxxxxxxxxxxxxxxxxxx> wrote:

hehe, i remember a story about some major programmer, who liked Pascal
syntax but had to write in C.
so he did

#define begin {
#define end }

and so on, and was programming in this weird mixture -- and people who had
to support his code also had to work with this nightmare.
i think it's not that uncommon for C programmers to alter syntax (in weird
and limited way, though)

For some reason, almost all early books on C written in Polish, when it came
to preprocessor, included an example header file that would translate those
ugly, horrible, unreadabable English keywords that nobody understands to
Polish:

#define if jezeli
#define else inaczej
#define while dopoki
#define int calkowita

and so on.

Unfortunately, I didn't see any of these in production.

--
__ Maciek Pasternacki <maciekp@xxxxxxxxxxxxxxx> [ http://japhy.fnord.org/ ]
`| _ |_\ / { ...I have a social life?
,|{-}|}| }\/ --- you will, when she turns you into on of the living dead. }
\/ |____/ ( Megatokyo 442 ) -><-
.



Relevant Pages

  • Re: Whats the best language to learn...
    ... on processors designed to run Lisp and Lisp OSes. ... sence that the language make effective use of them. ... No other programming language can do what lisp can do. ... is exactly because of its syntax. ...
    (comp.programming)
  • VB 2010
    ... So now, instead of the verbose, wasteful variable declaration syntax found in past editions, you'll be able to use the new time-saving syntax. ... To support this feature, Visual Basic requires the new "Curly Brace" syntax for loops, conditions, and Select Case statements. ... My notes must be consistent with current textbooks, thus I will need to rewrite over 500 pages of notes, and programming assignments and tests. ... Tim Patrick, on January 17th, 2010 at 5:36 pm Said: ...
    (comp.databases.pick)
  • Re: 10 ten things any good programmer can/has done?
    ... To quote Shriram Krishnamurthi, syntax ... > stress issues other than the surface syntax of some programming language. ... It means that more time has to be spend teaching the ...
    (comp.programming)
  • Re: here you can bash Magdalenian
    ... about colors and will do syntax coloring in numerous programming ... Any *text* editor will work that way. ... And all programming languages I ...
    (sci.lang)
  • Re: Iteration in lisp
    ... style of programming, I have found them to be quite useful ... constructs are therefore "just an argument about trivial syntax". ... inherently create tangles of dataflow that compilers could not sort ... purely a matter of syntax, or whether it was a matter of capability. ...
    (comp.lang.lisp)