[Info-vax] BASIC (and Horizon)
bill
bill.gunshannon at gmail.com
Tue Jan 30 11:45:43 EST 2024
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
More information about the Info-vax
mailing list