Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
10 replies to this topic

#1 game of thought   Members   -  Reputation: 213

Like
0Likes
Like

Posted 15 December 2012 - 04:43 PM

Apart from the standard library of course. Also, how do i motivate myself to program every day?

Sponsor:

#2 Yrjö P.   Crossbones+   -  Reputation: 1412

Like
4Likes
Like

Posted 15 December 2012 - 05:24 PM

Simple. You don't "study" libraries. Instead, you do projects. If you actually need the functionality of a particular library, you figure out how to use it to get that functionality.

#3 PAndersson   Members   -  Reputation: 394

Like
2Likes
Like

Posted 15 December 2012 - 06:39 PM

Also, how do i motivate myself to program every day?


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

#4 Blackarch   Members   -  Reputation: 625

Like
0Likes
Like

Posted 15 December 2012 - 06:54 PM

Apart from the standard library of course. Also, how do i motivate myself to program every day?


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

Software Engineer | Credited Titles: League of Legends, Hearthstone


#5 Gavin Williams   Members   -  Reputation: 780

Like
2Likes
Like

Posted 15 December 2012 - 10:36 PM

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

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.

Also, how do i motivate myself to program every day?


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, 15 December 2012 - 10:40 PM.


#6 black_darkness   Members   -  Reputation: 280

Like
0Likes
Like

Posted 16 December 2012 - 12:27 AM

Apart from the standard library of course. Also, how do i motivate myself to program every day?



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.
  • loop per second counter
  • 2d matrix as collision
  • tested ctime for 8 hours yesterday.


#7 CaptainMurphy   Members   -  Reputation: 262

Like
0Likes
Like

Posted 16 December 2012 - 07:14 AM

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, 16 December 2012 - 07:15 AM.


#8 EddieV223   Members   -  Reputation: 1407

Like
0Likes
Like

Posted 16 December 2012 - 04:12 PM

Apart from the standard library of course. Also, how do i motivate myself to program every day?


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.

If this post or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


#9 game of thought   Members   -  Reputation: 213

Like
0Likes
Like

Posted 16 December 2012 - 05:01 PM


Apart from the standard library of course. Also, how do i motivate myself to program every day?


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

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

#10 TheChubu   Crossbones+   -  Reputation: 4849

Like
0Likes
Like

Posted 16 December 2012 - 05:09 PM

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.

hahahahahaha! You have my upvote sir.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator


#11 Muzzy A   Members   -  Reputation: 706

Like
0Likes
Like

Posted 16 December 2012 - 05:11 PM

there are plenty of programming challenges all across the internet that you can test yourself on.


http://projecteuler.net is a personal favorite
http://www.hackthissite.org 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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS