What could one do every day to get him motivated to code ?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

What could one do every day to get him motivated to code ?

Post by Primoz128 »

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.
jesperbrannmark
Enthusiast
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

Post by jesperbrannmark »

Get friends to work with. Don't sit by yourself!
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: What could one do every day to get him motivated to code

Post by Primoz128 »

Got absolutely noone who would do this.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: What could one do every day to get him motivated to code

Post by djes »

Listen oldschool chiptunes ! ;)
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: What could one do every day to get him motivated to code

Post by Shield »

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:
  • 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.
  • ...
You see, all of these features are very simple and straight forward and they can be implemented
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. :)
Image
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
BorisTheOld
Enthusiast
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

Post by BorisTheOld »

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.
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
IdeasVacuum
Always Here
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

Post by IdeasVacuum »

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. :shock:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: What could one do every day to get him motivated to code

Post by Shield »

BorisTheOld wrote:This process can take several months.
This is clearly the wrong approach for both hobby programmers and professionals.
Image
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
User avatar
skywalk
Addict
Addict
Posts: 4220
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: What could one do every day to get him motivated to code

Post by skywalk »

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. :evil:
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. :wink:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
BorisTheOld
Enthusiast
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

Post by BorisTheOld »

Shield wrote:
BorisTheOld wrote:This process can take several months.
This is clearly the wrong approach for both hobby programmers and professionals.
Not so! Each person finds his own way of working.

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
Zach
Addict
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

Post by Zach »

Where do I sign up to have this brain defect inflicted upon me?
User avatar
deeproot
Enthusiast
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

Post by deeproot »

IdeasVacuum 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
Hit the the nail on the head there :!: ....... I badly need advice on motivation to walk away from my PC !!!
BorisTheOld wrote:Not so! Each person finds his own way of working.
Wise words from BorisTheOld as usual!

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 :mrgreen: )
Nituvious
Addict
Addict
Posts: 1029
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Re: What could one do every day to get him motivated to code

Post by Nituvious »

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.
▓▓▓▓▓▒▒▒▒▒░░░░░
BorisTheOld
Enthusiast
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

Post by BorisTheOld »

Zach wrote:Where do I sign up to have this brain defect inflicted upon me?
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.

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. :mrgreen:
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
Warmonger
Enthusiast
Enthusiast
Posts: 156
Joined: Wed Apr 20, 2011 4:24 pm

Re: What could one do every day to get him motivated to code

Post by Warmonger »

BorisTheOld wrote:
Zach wrote:Where do I sign up to have this brain defect inflicted upon me?
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.

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. :mrgreen:
That's better...

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.
Post Reply