
Faster Demo?
Moderator: tr1p1ea
- dysfunction
- Calc Master
- Posts: 1454
- Joined: Wed 22 Dec, 2004 3:07 am
- Location: Through the Aura
kalan_vod wrote:dysfunction wrote:Actually tr1p, your code is difficult to understand, perhaps someone should write an unoptimized, simple version, using very structured code such asCode: Select all
While 1
getkey->K
If K=42
Then
...
End
If K=25
Then
...
End
...
...
End[quote][/quote]
after i had touched it i did this also, but it made it alot slower and bigger, and also it looked alot more complicated b/c of all the ifs thens ends etc.
I know that's a lot slower, but I think it is simpler for less experienced programmers to understand since it's structured. That's how my early code looked, anyways.

"You're very clever, young man, but it's turtles all the way down!"
dysfunction wrote:kalan_vod wrote:dysfunction wrote:Actually tr1p, your code is difficult to understand, perhaps someone should write an unoptimized, simple version, using very structured code such asCode: Select all
While 1
getkey->K
If K=42
Then
...
End
If K=25
Then
...
End
...
...
End[quote][/quote]
after i had touched it i did this also, but it made it alot slower and bigger, and also it looked alot more complicated b/c of all the ifs thens ends etc.
I know that's a lot slower, but I think it is simpler for less experienced programmers to understand since it's structured. That's how my early code looked, anyways.
yeah it would look a little simpler, too bad i didnt save that file......someone else can do it
