Author Topic: Learn how to code?  (Read 13877 times)

Offline Lord Dick Tim

  • CA Mod
  • Salutes: 119
    • 7
    • View Profile
Learn how to code?
« on: March 22, 2013, 06:13:38 am »
I want to start a dialogue on learning how to code, and what we can do as lamen, amateurs or the generally inexperienced to begin a learning process without expensive courses, or advanced previous understanding.

I'm interested in this because we may all here be fluent in the use of our fancy machines, but very few of us can ever really create much with them.  It's like reading a book, understanding English, but not knowing how to write it.

I've had some success finding a few websites that offer free, basic course work on how to code in different languages, http://www.codecademy.com/ is one such website.

As more and more people become fluent in the use of programming I imagine the education bar is going to be lowered in the near future, almost like how any complex engineering marvel is eventually reduced to the knowledge of a mechanic, which is reduced to the knowledge of a hobbyist, to finally down to the lamen.   
So I'd like to get a jump on gathering up and learning resources that are out there.  Anyone have any suggestions?

Offline Morblitz

  • Community Ambassador
  • Salutes: 35
    • [Duck]
    • 8
    • View Profile
Re: Learn how to code?
« Reply #1 on: March 22, 2013, 07:25:06 am »
This won't actually help you learn to code, but recently I've been thinking about the importance/usefulness in learning how to code because of this video, which I'm going to share because I think you might find it interesting:
http://www.youtube.com/watch?v=nKIu9yen5nc

So I'm a bit amused by the timeliness of this thread.

You're pretty much exactly right there, coding is something that's getting to be more and more relevant in this day and age, and there's apparently a lot of jobs going unfilled because there aren't enough coders to fill them, and it's a shame that it isn't a thing more widely offered in colleges/universities.
« Last Edit: March 22, 2013, 07:26:37 am by Morblitz »

Offline Lord Dick Tim

  • CA Mod
  • Salutes: 119
    • 7
    • View Profile
Re: Learn how to code?
« Reply #2 on: March 22, 2013, 09:11:34 am »
Thanks for the video, salute to you sir!  That was an awesome video.

Offline -Muse- Cullen

  • Muse Games
  • Salutes: 47
    • [Cake]
    • 13 
    • 23
    • 20 
    • View Profile
Re: Learn how to code?
« Reply #3 on: March 22, 2013, 10:40:37 am »
I'm learning Ruby- Most of my learning material is in book or PDF though. Here's what I got that's actually online and coding related in general.
http://ruby.bastardsbook.com/
http://railsforzombies.org/
I also use codeacademy.

Offline HamsterIV

  • Member
  • Salutes: 328
    • 10 
    • 45
    • 45 
    • View Profile
    • Monkey Dev
Re: Learn how to code?
« Reply #4 on: March 22, 2013, 11:25:19 am »
Getting started in programming really benefits from having a live human pointing out what you did wrong. Compilers are notoriously unforgiving and unhelpful when it comes to grammar. Try a community college intro to programming course to get you feet wet. Once you understand one programming language it is pretty easy to pick up another. If you really want to go it alone comb through stack exchange for any errors or problems you encounter. I have been programming for over a decade and stack exchange helps me almost daily. You can ask your own questions of stack exchange as well, but chances are they have already been answered so be sure to search before you ask.

If you are interested in programming games (which I know you are) there are several game development communities that are pretty welcoming TIG Source is one of my favorites. In fact here is their tutorial page: http://forums.tigsource.com/index.php?board=16.0

I am pretty good at Unity3D and C# so if you have any questions about those tools I can try an help you. Click on my profile link to see some of my hobby projects (shameless plug).
<--

Offline krait

  • Member
  • Salutes: 1
    • 6
    • View Profile
Re: Learn how to code?
« Reply #5 on: March 22, 2013, 12:51:53 pm »
My recommendation is to pick a language and environment that are modern and easy to learn and debug, rather than choosing something simply based on popularity. C++, for example, would probably not be anywhere on that list (you can write medium sized programs in other languages in the same amount of time that even common mistakes can take to debug in C++). Even if you have a target mainstream language you want to approach, if it's not one of the semantically simpler languages (remember, simplicity doesn't mean less powerful -- sometimes quite the opposite!), then it can be faster to learn general programming concepts first before attempting to transfer those concepts onto learning a harder language.

Offline HamsterIV

  • Member
  • Salutes: 328
    • 10 
    • 45
    • 45 
    • View Profile
    • Monkey Dev
Re: Learn how to code?
« Reply #6 on: March 22, 2013, 01:19:33 pm »
This debate is an old one, but I learned C as my first language and moved on to easier languages. My C background made it easier to understand the complexities of pointers, pass by reference, and data structures, when learning a new language. Getting started it is much easier to learn Java or Python than C, but the easy way is not always the best way.

Offline krait

  • Member
  • Salutes: 1
    • 6
    • View Profile
Re: Learn how to code?
« Reply #7 on: March 22, 2013, 05:13:23 pm »
Getting started it is much easier to learn Java or Python than C, but the easy way is not always the best way.

I know a great many people who use pointers when they don't need them -- and for the wrong reasons, often their intuitions (or what they've been told) about performance are exactly opposite in those cases to how the hardware is working. It's rather easy to only half-learn use of pointers, and that's pretty dangerous. Lacking pointers, a language with extremely clear reference-vs-nonref semantics means that there wont be a lot of the confusion involved if and when a programmer starts learning a pointer-based language.

Offline FightBoyVash

  • Member
  • Salutes: 20
    • [Duck]
    • 1
    • View Profile
    • Redstone Rampaga
Re: Learn how to code?
« Reply #8 on: March 25, 2013, 01:38:29 am »
Java was my first language, stuck with is ever since and eventually started learning Lua.

Offline Lord Dick Tim

  • CA Mod
  • Salutes: 119
    • 7
    • View Profile
Re: Learn how to code?
« Reply #9 on: March 25, 2013, 01:51:46 am »
http://blog.ted.com/2013/01/29/10-places-where-anyone-can-learn-to-code/

Found this super nifty Ted talks blog post.  Lots of, I hope, good links here.

Offline Keon

  • Community Ambassador
  • Salutes: 105
    • [Duck]
    • 26
    • View Profile
Re: Learn how to code?
« Reply #10 on: March 25, 2013, 11:57:20 pm »
Python is a good starter language. It has all the things you need and it's easy to learn. I never liked video tutorials, because I found most often I knew most of the tutorial covered and just skipped ahead. The most important thing, in my opinion, is to do it. Coding is learned by coding.