[Info-vax] BASIC (and Horizon)

Andreas Eder a_eder_muc at web.de
Sat Feb 3 12:26:38 EST 2024


On Di 30 Jan 2024 at 11:45, bill <bill.gunshannon at gmail.com> wrote:

> On 1/29/2024 7:50 PM, kludge at panix.com wrote:
>> =?UTF-8?Q?Arne_Vajh=C3=B8j?=  <arne at vajhoej.dk> wrote:
>>> The code is VB6.
>>>
>>> But none of the problems are Basic specific. It is possible
>>> to write the same bad code in C or Fortran or whatever.
>>>
>>> So it just shows that there are some really really bad programmers out
>>> there.
>> I have worked with people who could write spaghetti Fortran in any
>> programming language available.  Did you know that LISP has a goto?
>> It does.
>> 
>>> PS: Good compilers may have detected the unreachable code. But it
>>>      is still good vs bad compiler not good vs bad language.
>> The exciting part is when they tell you not to remove the unreachable
>> code,
>> because the program crashes at runtime when you do that.
>
> Many moons ago I had to try to fix a number of programs that
> crashed whenever run.  Back in those days a common method was
> to add statements to display variables during execution.  I
> had many cases where adding those statements made the program
> work.
>
> bill

So it was a Heisenbug :-)

'Andreas



More information about the Info-vax mailing list