On 31 Dec 2010, at 15:12, Tony Firshman wrote:
> 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.
>
Use Assembler instead. Cleaner, faster, better.
George
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm