What could one do every day to get him motivated to code ?
What could one do every day to get him motivated to code ?
Well im asking for myself, cause i just can't do it, but i want to, only 2 times i did on large scale were 2 different summer holidays for a long time every day, and it was pain the second time forcing myself, while the first time it was funer than playing gamer...
Any ideas ? I been looking at many stuff for ages, thinking of solutions... but i can't find one.
Any ideas ? I been looking at many stuff for ages, thinking of solutions... but i can't find one.
-
- Enthusiast
- Posts: 536
- Joined: Mon Feb 16, 2009 10:42 am
- Location: sweden
- Contact:
Re: What could one do every day to get him motivated to code
Get friends to work with. Don't sit by yourself!
Re: What could one do every day to get him motivated to code
Got absolutely noone who would do this.
Re: What could one do every day to get him motivated to code
Listen oldschool chiptunes ! 

Re: What could one do every day to get him motivated to code
It's because many hobby programmers don't see any immediate results when they start coding,
so they lose interest after a couple of days. As with all the programs the beginning is a difficult but important
part because the foundation has to be made to create a solid project.
Some people set their goals too high (including myself, sometimes). It's good to take on a challenge
and to do something you didn't do before, however doing it like this has devastating effects on the mood
and will result in abandonment of the project.
It's more important for an individual to see results to keep yourself motivated.
Maybe the SCRUM process could be something interesting for you to check out (just the idea, not necessarily the process).
Basically, you decide what application to build and you create a catalog of a couple of features you'd like to implement.
You sort them after importance / priority and then you start coding and implement feature after feature.
For example if you want to create a game, a feature list might be this:
one by one. Keep it simple! Of course this idea requires the developer to re-write certain code parts,
but that's not really a problem. A software project can't be planned out in the very beginning, things
are always going to change as problems and difficulties cannot be foreseen.
The whole idea of this approach is to be able to "show something", even if it only is to yourself.
This motivates a lot, believe me. As a hobby developer you don't really have time pressure anyway,
so take your time and keep working.
Of course you can (and should) release your software early, for example here on the forums.
It doesn't matter if it's far from finished. You only implemented a couple of features and the game
isn't really playable yet? Whatever, release it anyway. People will test it and give feedback and
you might as well raise some interest. This also gives you additional motivation if you see that people
are interested in your project.
so they lose interest after a couple of days. As with all the programs the beginning is a difficult but important
part because the foundation has to be made to create a solid project.
Some people set their goals too high (including myself, sometimes). It's good to take on a challenge
and to do something you didn't do before, however doing it like this has devastating effects on the mood
and will result in abandonment of the project.
It's more important for an individual to see results to keep yourself motivated.
Maybe the SCRUM process could be something interesting for you to check out (just the idea, not necessarily the process).
Basically, you decide what application to build and you create a catalog of a couple of features you'd like to implement.
You sort them after importance / priority and then you start coding and implement feature after feature.
For example if you want to create a game, a feature list might be this:
- Write basic initialization code (inits, open screen, main loop, ...).
- Create structures to keep track of game characters.
- Display the player's character and implement basic movement using the keyboard.
- Create a tile map system.
- Add first weapon for the player and implement shots.
- Create enemies and implement a way for the player to kill them.
- Implement collisions.
- Implement player animation.
- Implement enemy animation.
- Play sounds when the player attacks or gets hit.
- ...
one by one. Keep it simple! Of course this idea requires the developer to re-write certain code parts,
but that's not really a problem. A software project can't be planned out in the very beginning, things
are always going to change as problems and difficulties cannot be foreseen.
The whole idea of this approach is to be able to "show something", even if it only is to yourself.
This motivates a lot, believe me. As a hobby developer you don't really have time pressure anyway,
so take your time and keep working.
Of course you can (and should) release your software early, for example here on the forums.
It doesn't matter if it's far from finished. You only implemented a couple of features and the game
isn't really playable yet? Whatever, release it anyway. People will test it and give feedback and
you might as well raise some interest. This also gives you additional motivation if you see that people
are interested in your project.

Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: What could one do every day to get him motivated to code
Build and debug the application in your head before you start coding. This process can take several months.
Only write code when you have everything figured out, and play really loud music while you code. Steppenwolf, Santana, and AC/DC work for me.
Only write code when you have everything figured out, and play really loud music while you code. Steppenwolf, Santana, and AC/DC work for me.
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: What could one do every day to get him motivated to code
It will only come to you when you have a project that you are really enthusiastic about - when you have that, you'll have the opposite problem - not being able to leave your PC for more than 5 minutes and working through the night without even noticing that you have. 

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: What could one do every day to get him motivated to code
This is clearly the wrong approach for both hobby programmers and professionals.BorisTheOld wrote:This process can take several months.
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Re: What could one do every day to get him motivated to code
Good question and equally fine answers.
I would add that I see this problem of motivation in all forms of occupation.
So many people have trouble because they fail to start.
They look at the enormity of a problem and become depressed or overwhelmed.
Instead they talk about how they will do this or that INSTEAD of actually doing something.
So, my suggestion is to break down your problem to small parts that can or will be used in your larger solution.
It matters not how small the task is as long as you are able to complete the task in short order.
If you stumble, put it in a "HARD" folder and move on.
Eventually, you will see lots of "DONE" work, and you may revisit the "HARD" problems with more understanding and experience. Remember, this forum loves challenging questions.
I would add that I see this problem of motivation in all forms of occupation.
So many people have trouble because they fail to start.
They look at the enormity of a problem and become depressed or overwhelmed.
Instead they talk about how they will do this or that INSTEAD of actually doing something.

So, my suggestion is to break down your problem to small parts that can or will be used in your larger solution.
It matters not how small the task is as long as you are able to complete the task in short order.
If you stumble, put it in a "HARD" folder and move on.
Eventually, you will see lots of "DONE" work, and you may revisit the "HARD" problems with more understanding and experience. Remember, this forum loves challenging questions.

The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: What could one do every day to get him motivated to code
Not so! Each person finds his own way of working.Shield wrote:This is clearly the wrong approach for both hobby programmers and professionals.BorisTheOld wrote:This process can take several months.
As I've mentioned once before, I have an Eidetic memory and Spatial Sequence Synesthesia. This means that everything I read, hear, see, or think about, is converted into images that occupy a time/space continuum that exists all around me. Essentially, I see all of space and time existing as a single moment. I also have no sense of the passage of time.
When developing an application I first visualize it - creating shapes in my continuum that represent all aspects of it. This allows me to navigate through the application, testing it and modifying it as necessary. Once I'm satisfied that everything is working correctly I then write the code.
My comment above was meant to be somewhat humourous, but the technique is perfectly valid.

For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan
-
- Addict
- Posts: 1676
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: What could one do every day to get him motivated to code
Where do I sign up to have this brain defect inflicted upon me?
- deeproot
- Enthusiast
- Posts: 284
- Joined: Thu Dec 17, 2009 12:00 pm
- Location: Llangadog, Wales, UK
- Contact:
Re: What could one do every day to get him motivated to code
Hit the the nail on the head thereIdeasVacuum wrote:It will only come to you when you have a project that you are really enthusiastic about - when you have that, you'll have the opposite problem

Wise words from BorisTheOld as usual!BorisTheOld wrote:Not so! Each person finds his own way of working.
Seriously, find a project that you really believe in and the code will flow. It certainly helps to picture the whole thing in your mind, and if some of the details are a bit fuzzy and the success of the final outcome is less certain - don't worry, just enjoy getting each bit to work! (and a bit of Santana playing loud while you do it is good too

Re: What could one do every day to get him motivated to code
When I lose ambition I always talk to a friend of mine and he sometimes challenges me to program something within a short amount of time. That usually gets me motivated!
[edit]
Speaking of playlists. Guns n Roses, specifically Don't Cry always motivates me. Maybe for the nostalgic value, though.
[edit]
Speaking of playlists. Guns n Roses, specifically Don't Cry always motivates me. Maybe for the nostalgic value, though.
▓▓▓▓▓▒▒▒▒▒░░░░░
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: What could one do every day to get him motivated to code
Sadly, it's not possible, since such a brain defect is a gift of the gods. However, DeepRoot's sage advice is a worthy substitute.Zach wrote:Where do I sign up to have this brain defect inflicted upon me?
For those of you who work better with some light background music, you might want to try the following link:
http://www.youtube.com/watch?v=is14oiI9Juo
And remember to play it really loud.

For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan
Re: What could one do every day to get him motivated to code
That's better...BorisTheOld wrote:Sadly, it's not possible, since such a brain defect is a gift of the gods. However, DeepRoot's sage advice is a worthy substitute.Zach wrote:Where do I sign up to have this brain defect inflicted upon me?
For those of you who work better with some light background music, you might want to try the following link:
http://www.youtube.com/watch?v=is14oiI9Juo
And remember to play it really loud.
http://www.youtube.com/watch?v=HnRc46xWSfI
But really, you should just jump into a project knee deep even if you don't have it planned out completely. Ones motivation to complete a existing project is stronger then a project that hasn't seen life yet. Without any work committed its easier to throw your hands in they air and say screw it! I for one like seeing visual progress, seeing a project of mine coming together little by little is enough to keep me working on it.
Its Not A Bug, Its An Undocumented Feature!
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.