Sign in to follow this  
game of thought

How long should i study a programming language before moving on to libraries?

Recommended Posts

PAndersson    394
[quote name='game of thought' timestamp='1355611428' post='5011063']
Also, how do i motivate myself to program every day?
[/quote]

Work on something that intrests you would be my suggestion, it has worked well for me at least.

Share this post


Link to post
Share on other sites
colossal    633
[quote name='game of thought' timestamp='1355611428' post='5011063']
Apart from the standard library of course. Also, how do i motivate myself to program every day?
[/quote]

If you don't actually enjoy programming, that will be difficult :)

Share this post


Link to post
Share on other sites
Gavin Williams    985
[QUOTE]
How long should i study a programming language before moving on to libraries?
[/QUOTE]
I can't find the reference, but the ideal time is 4 days and 12 hours (based upon a sleeping pattern of 7 1/2 hours per day) It's proven that studying the language for a shorter period will make the learning of the libraries more difficult and studying the language for any longer will put the student into a state of obsessive grammatical correctness which has historically been very difficult for students to break out of.

[QUOTE]
Also, how do i motivate myself to program every day?
[/QUOTE]

You don't have to motivate yourself, when you wake up and walk bleary eyed to the computer, turn it on and make a coffee while it boots (I'm from the pre ssd era ;) then you know you are in the right head-space.

But personally if I find that I'm still on facebook or these forums at 10 or 11 am then I have a cold shower and yell at myself ...

'CODING IS MY LIFE, I AM WORTHLESS WITHOUT IT. I WILL PROGRAM OR I WILL BECOME NOTHING'

That usually get's me motivated to chain myself to my keyboard for the rest of the day.

Edit : It also helps if you have a girlfriend who abuses you for not making enough money and is threatening to leave you if you haven't finished that game your working on by next christmas. Edited by Gavin Williams

Share this post


Link to post
Share on other sites
black_darkness    280
[quote name='game of thought' timestamp='1355611428' post='5011063']
Apart from the standard library of course. Also, how do i motivate myself to program every day?
[/quote]


Write tests. Just test something out. I am fairly new to programming but when I started I couldn't think of anything to write because I was limiting myself to games only. It was hard for me to write a game with little skills so I didn't program much. I still have little skill but I can think of tests to write almost anytime. When I started being willing to program something just for the sake of testing it, my ideas for games increased and my ideas for tests increased. Now I am never at a lack of ideas to program.

Here are some tests I wrote recently.[list]
[*]loop per second counter
[*]2d matrix as collision
[*]tested ctime for 8 hours yesterday.
[/list]

Share this post


Link to post
Share on other sites
andrew111    310
When I learn a new language I usually find a decent book to go through, where I go through each of the language features, e.g. syntax, modules, classes, functions, data types, inputting/outputting text etc, while trying out some small examples from each part (just so I don't immediately forget) and spending only enough time to get an idea of how each work (nothing in depth).

Then once I've got all that down I'll flip through the standard libraries and write some examples on any that interest me, while just making mental notes of the rest of the libraries so I know whats available if I ever need them.

Then after that like others have said, working on various projects that interest me, or for whatever reason I picked that language. Edited by andrew111

Share this post


Link to post
Share on other sites
EddieV223    1839
[quote name='game of thought' timestamp='1355611428' post='5011063']
Apart from the standard library of course. Also, how do i motivate myself to program every day?
[/quote]

When you can see code in alphabet spaghetti O's and when you talk to someone about programming either their eyes gloss over and/or they have no clue what your talking about.

Motivation. I find motivation from competing projects, watching movies that have hacking/programming or other highly technical characters in them, reading these forums and helping others, teaching is a big one ( also helps you learn ), working with a partner and/or studying with some one else can help tons.

Share this post


Link to post
Share on other sites
[quote name='colossal' timestamp='1355619249' post='5011116']
[quote name='game of thought' timestamp='1355611428' post='5011063']
Apart from the standard library of course. Also, how do i motivate myself to program every day?
[/quote]

If you don't actually enjoy programming, that will be difficult :)
[/quote]
I enjoy programming a lot, i think motivation is the wrong word for what i meant looking back, its more tgat i have a busy life and i need a way for me to get up and program after a long day

Also about 4 1/2 days is this assuming constant programming save sleep

Share this post


Link to post
Share on other sites
TheChubu    9452
[quote name='Gavin Williams' timestamp='1355632599' post='5011173']
But personally if I find that I'm still on facebook or these forums at 10 or 11 am then I have a cold shower and yell at myself ...

'CODING IS MY LIFE, I AM WORTHLESS WITHOUT IT. I WILL PROGRAM OR I WILL BECOME NOTHING'

That usually get's me motivated to chain myself to my keyboard for the rest of the day.

Edit : It also helps if you have a girlfriend who abuses you for not making enough money and is threatening to leave you if you haven't finished that game your working on by next christmas.[/quote]hahahahahaha! You have my upvote sir.

Share this post


Link to post
Share on other sites
Muzzy A    737
there are plenty of programming challenges all across the internet that you can test yourself on.


[url="http://projecteuler.net"]http://projecteuler.net[/url] is a personal favorite
[url="http://www.hackthissite.org"]http://www.hackthissite.org[/url] has some interesting challenges that i completed when I very first started programming

make a program that prints all the prime numbers all the way up to 100000. ;)

it's not hard to find something to motivate you to program if you really want to do it

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this