Posts: 358
Threads: 15
Joined: May 2003
Quote:No juice left for a battle, eh, FRUIT?
Battle??!!! Is that what we're doing here? Anyway...I was just offering an opinion regarding readability. Granted, if you don't want anyone else to read your code, it's a moot point.
Seeing that the code I quoted was a simple driver for your functions(ok...subs...whatever) I didn't expect it to be particularly difficult to follow.
Regarding your stated disdain for modularity (you did state that code shouldn't be read in piecemeal fashon)...then why did you bother with using subs in the first place?
Anyways, aga...no hostility intended or presented. Why the apparent attempt to get a rise by namecalling?
Posts: 3,279
Threads: 170
Joined: Nov 2003
He was teasing ya dude, and besides, a mango is a fruit
I'd knock on wood, but my desk is particle board.
Posts: 3,368
Threads: 195
Joined: Jan 2003
I actually called him a fruit once before. Sorry if you're offended Mango.
Quote:Regarding your stated disdain for modularity (you did state that code shouldn't be read in piecemeal fashon)...then why did you bother with using subs in the first place?
If read! If read...!
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 3,368
Threads: 195
Joined: Jan 2003
Thanks, Aga. I was just redoing an old program in a different way in Freebasic, and this is just what I needed. :rotfl:
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 684
Threads: 64
Joined: May 2004
I'm not trying to but in, but if pressing "Shift + Letter" is that hard then... I mean come on, its an extra button.
And using comments is helpful to not just other people reading your code, but to you. Think about it. 1 year later, you're digging through your junk folder and find this nice program. You decide that you want to try to fix it up a bit, remembering that there was some sort of bug. But now, you have no idea what everything does. You'll think to yourself "Why the h* did I do that?!" Why is this? Because you didn't comment.
Tidbit: That was one of the reasons for Y2K. *hint* *hint*
But, whatever you decide. Just remember that few people are going to want to be on a team with a someone who can't press the Shift key
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Posts: 3,368
Threads: 195
Joined: Jan 2003
Well,
a. I don't know what you mean by shift + letter. (?)
b. I know what everything does in my programs unless they use external libraries... then it's just a memory issue...
c. See my previous comments made over a year and a half ago. Lol. :king:
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 684
Threads: 64
Joined: May 2004
Quote:a. I don't know what you mean by shift + letter. (?)
Ahem...
Quote:Again, using periods as separators when they're not TYPEs isn't bad. QB also supports line numbers and GOTO statements, and it supports TYPEs. So you can't say that it's bad just because "i look like" I'm doing something.
Besides, what's easier to do -- dot or SHIFT+capital letter? Dot. One hand. And, less error-prone.
:wink:
Quote:b. I know what everything does in my programs unless they use external libraries... then it's just a memory issue...
Ahem...
Quote:...And using comments is helpful to not just other people reading your code, but to you. Think about it. 1 year later, you're digging through your junk folder and find this nice program. You decide that you want to try to fix it up a bit, remembering that there was some sort of bug. But now, you have no idea what everything does. You'll think to yourself "Why the h* did I do that?!" Why is this? Because you didn't comment...
:wink:
Chances are that by next year you'll have a different style of coding, and will wonder why you did something.
Quote:c. See my previous comments made over a year and a half ago. Lol.
:-? I don't get what you mean.
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Posts: 3,368
Threads: 195
Joined: Jan 2003
The date.
That's why I didn't know what you meant by shift+letter. I could make the same argument about dots.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 1,956
Threads: 65
Joined: Jun 2003
Hey, Aga, haven't seen you around for about 6 months. Welcome back!
*****
Posts: 684
Threads: 64
Joined: May 2004
:o Oops, didn't even notice that this thread was two years old :oops: . But still...
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
|