Dilwyn Jones wrote, on 31/Dec/10 14:36 | Dec31:
<snip>
... much like I suppose Superbasic's habit of implicitly adding missing
END statements.
Yup. Just try throwing some of those programs at SBASIC, it'll soon tell
you there's something missing, though not necessarily the correct point
in the listing!

Debugging some older SuperBASIC programs like that can take quite a while.


Much much worse is when you miss off a closing '}' in Perl (and probably all other languages that use {} ). Then you get told by the parser that there is a missing '}' at the end of the program!

I really like Python.  It uses formatting rather than {}; characters.
You are *forced* to lay out the program intelligently, although I do try for *all* my programming - makes debugging easier.

Why on earth is there a habit (in C68 as well I expect, dragging back OnT) of not aligning '{' with '}'. I always do.

Tony
--
QBBS (QL fido BBS 2:257/67) +44(0)1442-828255
       [email protected]     http://firshman.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman
    TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to