Speeding up the coding process

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Harry Potter
Veteran
Posts: 111
Joined: Sat Feb 21, 2009 8:19 am
Location: New York, U.S.

Speeding up the coding process

Post by Harry Potter »

Other than templates and macros, what can I do to increase my coding speed? I'm taking too long. :(
Joseph Rose, a.k.a. Harry Potter
Creating magic in the computer community...or at least striving to! :(
angros47
Veteran
Posts: 79
Joined: Mon Sep 08, 2008 12:52 pm
Contact:

Post by angros47 »

Don't think about coding faster, think about coding better.

Usually, the problem is not about writing fast, it's about thinking the code to write; you can't think that the computer will write the code for you (well, it could, but you'll always get similar programs, with a few changes).

Make subroutines well documented, with clear variable names, so you can reuse them; look for ready subroutines you can use, before writing your own.... and ..... POST SOME OF YOUR WORK HERE!

You asked a lot of opinions about programs we never saw!
How can you think that we can give you some feedback, if we cannot try anything? You promised dozen of programs, and come out with nearly nothing.... well, it's becoming hard to believe you (it's not all your fault: qb history is full of good projects never realized, are yours some of them? I hope not)

So: send some code, even incomplete: maybe someone can give you hints. Otherwise, there is no need to continue asking, because nobody, here, can help you.
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

I've already told him the SAME thing. I think he is wasting everybody's time here. He should go to a chatroom.....
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

burger, i don't think any disrespect was intended. just another noob trying to improve their programming chops. we were all beginners at some point. heck, i'm still a beginner myself.

i think this forum could use more activity, so let us noobs ask our noob questions. no one is under any obligation to answer. i just wanna get good at qbasic like everyone else. if i was a great programmer i probably would have moved on to a more marketable language by now. :)
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

Sorry, but he has posted numerous POLLS, projects, ideas and no results. He seldom asks for help except to propose new ideas. I gather he does not need any help.

I would certainly help him, but he seldom responds to other people here either.

I am only here to help, not to daydream. I have to give up on this "newbie" for now.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

i understand.

i used to moderate a music-making forum with over 1000 members and sometimes it was hard to disassociate myself from the task, but sometimes I just had to remind myself that it was a public forum and that as long as rules weren't being broken I needed to just step back and let the community police itself.

I've been lurking here for 2 years on and off. I haven't really contributed anything either. I'd love to show off my work, but I doubt it's up to par. I'm still an amateur programmer with no professional experience, but that won't keep me from joining in the conversation. ;)

take care, fellas!
User avatar
bongomeno
Veteran
Posts: 266
Joined: Wed Dec 10, 2008 9:08 am
Location: Arizona
Contact:

Post by bongomeno »

LOL :roll: no1 cares if your work is up to par... I would like to see what you have done.
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

From his game screenshot avitar, I'd say he has the graphics and artistic abilities already.

It should be a decent game!
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

burger2227 wrote:From his game screenshot avitar...
right, that's the character in my game, at the beginning when you have nothing equipped. you name him yourself. i'm an artist and musician first. programming is not my strong point. but i CAN boast that all of my code is original, except for the four OUT commands in the loop that loads up my custom palette. ;)
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

Speaking of music, QB64 allows you to easily play WAV files too. You could probably make your own one up for the game.

OUT commands may not be original, but the colors can be.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

lol, yeah you can't copyright an address in memeory, right?

as for music, you don't even want to go there! i read a little bit about what QB64 can do. The thought of finally being able to add my own midi scores and wav FX makes me want to stop everything and fire up cakewalk sonar to start composing the theme music! lol. and sound design? one of my favorite passtimes! I don't even want to start thinking about that stuff until I have the first area complete and I just know I'm going to get sidetracked hahaha! i can't help it. -coma8
Harry Potter
Veteran
Posts: 111
Joined: Sat Feb 21, 2009 8:19 am
Location: New York, U.S.

Post by Harry Potter »

Sorry, but he has posted numerous POLLS, projects, ideas and no results.
Exactly why I need this help!
So: send some code, even incomplete: maybe someone can give you hints.
I can't access my e-mail (which is actually my mother's) or bring in software to where I get my internet, so I can't show my code online.

I am reading some of other people's threads and occasionally help. My fault. I haven't really been useful to others. :(
Joseph Rose, a.k.a. Harry Potter
Creating magic in the computer community...or at least striving to! :(
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

Harry, I told you to get a place to upload your code to. You can get a free email address at GMAIL.

Try here: http://www.4shared.com/

Then you can store your files there for us to download. You can also access the stuff on any PC you can get your hands on. Once you are a member, all you have to do is Login at that address too. You will then be immediately taken to your folder.

No more floppies to get taken away either! You may want to upload a zip of QB too. You must Login once every 30 days!

Your family sounds like a bunch of repressionists from what you have said! Learning to program is not a bad thing!
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

Harry, I have JUST the thing!

Tell your mom you need one of these for school:

0.25GB for $5.99 http://www.tigerdirect.com/applications ... &CatId=902

1GB for $6.99 http://www.tigerdirect.com/applications ... &CatId=904

2GB for $8.99 http://www.tigerdirect.com/applications ... CatId=1994

Always worked for me when I needed some new gadget, hehe. I have a 16GB and a 4GB and they go with me EVERYWHERE! Oh, and you can find the 1GB ones at Wal-Mart, Staples, Office Max, etc for around $10 if you don't want to pay shipping. :)
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

4SHARED is FREEEEEEEEEE! 5 GB of files! Max = 100 MB per file. ????

Do you think that mommy is gonna pay one freaking dollar or give him an email address?

Apparently NOT! ONE VIRUS Download WAS ENOUGH TO HANG HARRY!
Last edited by burger2227 on Wed Aug 12, 2009 12:15 am, edited 1 time in total.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

says he can't bring software in, so I'm guessing no discs at school? never stopped us lol. and a USB flash drive is easily concealed. :thumbsup:
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

WHERE do you suppose Harry gets online from? School is my bet. I also suggested that, but he probably is lucky to get fed at home...
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
bongomeno
Veteran
Posts: 266
Joined: Wed Dec 10, 2008 9:08 am
Location: Arizona
Contact:

Post by bongomeno »

i go through a similar situation... my mother takes away my computer for months at a time whenever i do something wrong. :evil:
i was not even allowed to use the internet at all until like this year... but I did anyway. I either went to public libraries friends houses or I used my PSP.

btw when my computer is taken away, I do my programming on a TI-84 programmable calculator! :lol:
Harry Potter
Veteran
Posts: 111
Joined: Sat Feb 21, 2009 8:19 am
Location: New York, U.S.

Post by Harry Potter »

says he can't bring software in, so I'm guessing no discs at school?
No, no disks at school. I can't use my mother's e-mail account: it locked up one of the computers. It isn't exactly school, though, but I don't want to discuss the details, though.
my mother takes away my computer for months at a time whenever i do something wrong.
I don't live with my mother, but she gives me plenty of computer time whenever I go there. The people with whom I do live have no consensus about my computer time: one gives me the computer as often as possible, and the other not at all. Also, I have no internet at home. Otherwise, I would upload an occasional goody.
Joseph Rose, a.k.a. Harry Potter
Creating magic in the computer community...or at least striving to! :(
Harry Potter
Veteran
Posts: 111
Joined: Sat Feb 21, 2009 8:19 am
Location: New York, U.S.

Post by Harry Potter »

I don't live with my mother, but she gives me plenty of computer time whenever I go there
I forgot to mention: I haven't seen my mother in several months. :(
Joseph Rose, a.k.a. Harry Potter
Creating magic in the computer community...or at least striving to! :(
Post Reply