Faster Demo?

Moderator: tr1p1ea

User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4122
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Come to think of it, i dont even remember what was in the example. I can understand if its a whole load of stupid stuff :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
dysfunction
Calc Master
Posts: 1454
Joined: Wed 22 Dec, 2004 3:07 am
Location: Through the Aura

Post by dysfunction »

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 as

Code: 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.
Image


"You're very clever, young man, but it's turtles all the way down!"
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

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 as

Code: 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 :D
Post Reply