Jump to content
Posted 10 January 2014 - 11:14 AM
Posted 10 January 2014 - 11:33 AM
What you're looking for is a topic called "Revision Control." At the moment, your best solution is to try Git.
The simplest thing to do is to setup a repo and put it on Google drive or drop box or something. That way you can access the code from home, school, on vacation, and you have an offsite backup. Of course putting your stuff online caries some risk of someone else stealing your code, but if you're just learning to code, that's not a concern.
I wish I had know about revision control when I was in school. One of the great things these systems do is keep track of changes and let you undo mistakes. This would have saved me countless hours in school when I broke something and couldn't get it working again.
Work through the manual, and just learn the command line. There are only a few commands that you'll use on a daily basis anyway.
For example, all I ever use is:
git checkout -b new-branch
git add --all
git commit -am 'commit message'
git stash pop
git merge --no-ff branch
git branch -d to-delete
And that list is for a company with tons of software. You won't event need all that!
I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming
My Twitter: https://twitter.com/indieprogram
My Book: http://amzn.com/1305076532
Posted 10 January 2014 - 01:11 PM
I think that Mercurial should be mentioned too. You can read all about it here.
Both work on the same principle, but Mercurial (or simply hg) is considered more newbie friendly then Git. It has simpler interface with fewer options that "do the right thing".
Posted 10 January 2014 - 02:10 PM
Best way to organize the code is based on how easy it is for you to access...I don't know how to make you more efficient.
Posted 10 January 2014 - 02:39 PM
Posted 10 January 2014 - 02:53 PM
All good and I will look into them.
What I am referring too is this. ......
Lets say in the future I write a snippet of code that calculates all even numbers up too n. By some miracle ive got it working on a few lines of code. Now I can forget ive done that once Ive finished that. Or I can store it somewhere for potential future use.