Re: Interpreter Mod We Can All Get Behind

new topic     » goto parent     » topic index » view thread      » older message » newer message

Alan Oxley wrote:
> 
> 
> > Suppose you forget the */
> > Then some lines later you have another block comment.
> 
> Yeah.. like when I left a fullstop out in some Cobol. 
> I was *sure* the compiler interpreter had a bug! 
> Very frustrating, wasted a few hours. Happened in PL/1
> too, with block comments "/*  comment */" . Lessons learnt.
> 
> A syntax checker would show the problem yes. For me, I'll stick with
> beginning all comments with the standard two minus. 
> My human scanner has no problem with that.
> By all means add the block comments, its a change that can be adopted
> or ignored as the individual sees fit. 
> Thanks,
> Alan

Wouldn't
   ++ -- by itself on a line, with an optional comment
whatever text you may come up with
scanning several lines
and which the @#}{} interpreter will happily ignore.
You noticed that leading whitespace doesn't count.
++ -- again by itself with an optional comment
be nice?

Aren't we all using syntax highlighting when programming? It is not strictly
necessary, of course - we could also code using a stiletto and clay tablets,
after all. The highlighting will immediately tell you you are in a block comment.
Coding technology has improved since the days of PL/1.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu