Programming so far...and a Question
Moderator: Coders of Rage
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Programming so far...and a Question
I tell you the bigger my projects get the more errors that pop
up and sometimes stuff doesn't work like it used to but I still
love programming .
I thought I was almost done with my project now I am back to
the drawing board again .
I wanted to throw all my error-checking inside functions to make
it neater but now some of my stuff isn't working right so I am
going to just tear down the code and restructure it.
I tend to just jump on my computer and start coding up an idea
but my question is should I sit down with a paper and pencil and
right down all the stuff I want to do?
I was always told it is a good idea to have a flowchart and stuff
for your project but I never got into that stuff... even though
I know how to do it.
up and sometimes stuff doesn't work like it used to but I still
love programming .
I thought I was almost done with my project now I am back to
the drawing board again .
I wanted to throw all my error-checking inside functions to make
it neater but now some of my stuff isn't working right so I am
going to just tear down the code and restructure it.
I tend to just jump on my computer and start coding up an idea
but my question is should I sit down with a paper and pencil and
right down all the stuff I want to do?
I was always told it is a good idea to have a flowchart and stuff
for your project but I never got into that stuff... even though
I know how to do it.
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Programming so far...and a Question
Yes.zodiac976 wrote:should I sit down with a paper and pencil and
right down all the stuff I want to do?
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- programmerinprogress
- Chaos Rift Devotee
- Posts: 632
- Joined: Wed Oct 29, 2008 7:31 am
- Current Project: some crazy stuff, i'll tell soon :-)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++!
- Location: The UK
- Contact:
Re: Programming so far...and a Question
That's a brilliant idea, i'm really hardcore and had a whiteboard installed :D
I tend to think of things at night, so I keep a notepad by my bed, and then iron out the kinks in the morning, it's sort of a "creative on the night, logical in the morning" sorta thing.
If you have some ideas, write them down, one day you'll probably be able to implement them, so, why not?
I tend to think of things at night, so I keep a notepad by my bed, and then iron out the kinks in the morning, it's sort of a "creative on the night, logical in the morning" sorta thing.
If you have some ideas, write them down, one day you'll probably be able to implement them, so, why not?
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Programming so far...and a Question
I used to do that, too.programmerinprogress wrote:I tend to think of things at night, so I keep a notepad by my bed
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- Bakkon
- Chaos Rift Junior
- Posts: 384
- Joined: Wed May 20, 2009 2:38 pm
- Programming Language of Choice: C++
- Location: Indiana
Re: Programming so far...and a Question
It's a great idea if you want to complete your program in a relatively decent amount of time. If you don't, you'll be refactoring and rewriting your program every time you want to add something new.zodiac976 wrote: I tend to just jump on my computer and start coding up an idea
but my question is should I sit down with a paper and pencil and
right down all the stuff I want to do?
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Re: Programming so far...and a Question
Thanks for all the input; I will give my programming style a different
approach...with paper and pencil this time .
approach...with paper and pencil this time .
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Programming so far...and a Question
I occasionally jot ideas down in a notebook when I'm at school or something. More often I just keep a Todos.txt file in my project directory: update it with new features as I think of them, label the ones in progress as [WORKING], and write [DONE] next to the ones I've completed.
Really the only other thing I do is draw a ton of diagrams in Paint for figuring out coordinates and equations for stuff, as well as write loads of messy comments all over my source with ideas (this isn't always a great idea unless you're the only one looking at it and you plan to remove it when it's no longer needed).
Really the only other thing I do is draw a ton of diagrams in Paint for figuring out coordinates and equations for stuff, as well as write loads of messy comments all over my source with ideas (this isn't always a great idea unless you're the only one looking at it and you plan to remove it when it's no longer needed).
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- Arti-Ravnos
- Chaos Rift Newbie
- Posts: 21
- Joined: Tue Mar 03, 2009 6:19 pm
- Favorite Gaming Platforms: NES, NDS, PC
- Programming Language of Choice: Actionscript 3
Re: Programming so far...and a Question
Wouldn't it be better to use a piece of paper and a pencil/pen than paint? That's the way I do it (equations, coordinates etc)dandymcgee wrote: Really the only other thing I do is draw a ton of diagrams in Paint for figuring out coordinates and equations for stuff.
I'm no good at writing down ideas and sketches myself, and always want to start coding right the way, even though I know that I'll regret it later. All beginner programmers who do it this way, including myself, really got to do something about this behaviour, because starting to code right away is seldom (perhaps I should say never) a good idea.
“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.â€
(Stan Kelly-Bootle)
(Stan Kelly-Bootle)
- Innerscope
- Chaos Rift Junior
- Posts: 200
- Joined: Mon May 04, 2009 5:15 pm
- Current Project: Gridbug
- Favorite Gaming Platforms: NES, SNES
- Programming Language of Choice: Obj-C, C++
- Location: Emeryville, CA
- Contact:
Re: Programming so far...and a Question
It is a great idea to create a flowchart. It can be tricky to create one effectively, but with good software (I like OmniGraffle) it's pretty easy to do.I was always told it is a good idea to have a flowchart and stuff
for your project but I never got into that stuff... even though
I know how to do it.
Whiteboards are good too, but the limited space can be hard to deal with.
Either way, making flowcharts is a good practice. It will save you a lot of headaches and heartbreaks down the road.
Current Project: Gridbug
Website (under construction) : http://www.timcool.me
Website (under construction) : http://www.timcool.me
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Programming so far...and a Question
I always just start off by creating a new project and coding some basic structure. I never plan the finer details until I've gotten at least my basic files created and added to the project, and written some API initialization code. As for diagrams those get drawn as I need them. If I'm working on some sort of functionality and can't figure out how the coords will look as a result I either draw a diagram, or add in some random data and output it to the screen/a debug file.Arti-Ravnos wrote: I'm no good at writing down ideas and sketches myself, and always want to start coding right the way, even though I know that I'll regret it later. All beginner programmers who do it this way, including myself, really got to do something about this behaviour, because starting to code right away is seldom (perhaps I should say never) a good idea.
Everyone has their own preferences, for me it's definitely to solve problems as they arrive, because you're NEVER going to be able to predict every error before you start writing code. Very general design can be done beforehand though, and for me that's usually done mentally in a rather short amount of time.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Re: Programming so far...and a Question
I usually do it like you do. I start out with an idea then startdandymcgee wrote:I always just start off by creating a new project and coding some basic structure. I never plan the finer details until I've gotten at least my basic files created and added to the project, and written some API initialization code. As for diagrams those get drawn as I need them. If I'm working on some sort of functionality and can't figure out how the coords will look as a result I either draw a diagram, or add in some random data and output it to the screen/a debug file.Arti-Ravnos wrote: I'm no good at writing down ideas and sketches myself, and always want to start coding right the way, even though I know that I'll regret it later. All beginner programmers who do it this way, including myself, really got to do something about this behaviour, because starting to code right away is seldom (perhaps I should say never) a good idea.
Everyone has their own preferences, for me it's definitely to solve problems as they arrive, because you're NEVER going to be able to predict every error before you start writing code. Very general design can be done beforehand though, and for me that's usually done mentally in a rather short amount of time.
setting up the basic pieces and throw in new stuff when it
pops in my head and all of this is done mentally, I am not
really fond of pencil and paper.
-
- Chaos Rift Newbie
- Posts: 3
- Joined: Sun Jun 14, 2009 9:37 pm
Re: Programming so far...and a Question
When i was doing my project for college i used to jot down algorithms for my ideas anywhere an everywhere. I'd write them on anything close to hand and still do, my teacher was less impressed with the beer mat algorithms however
- derbon
- Chaos Rift Cool Newbie
- Posts: 54
- Joined: Tue Jun 09, 2009 7:25 pm
- Current Project: Big Nasty Enemies
- Favorite Gaming Platforms: NES SMS snes PC N64 PS2 Vectrex The Arcade Machine
- Programming Language of Choice: C++, Perl
- Location: why shud i tell u u mite steal my tv
- Contact:
Re: Programming so far...and a Question
this is called design, and you should do this whenever the game your planning is to complex to memorizeI tend to just jump on my computer and start coding up an idea
but my question is should I sit down with a paper and pencil and
right down all the stuff I want to do?
i think the best paint program would be microsoft paint + paint.NET+graphics gale + Paint shop Pro 7 + photoshop CS3, it would be called Paint Gale Pro Shop.NET,
http://youtube.com/gonduda
http://youtube.com/gonduda