Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3

Author Topic: Learning a coding language  (Read 3308 times)

Briggsy16

  • Bay Watcher
    • View Profile
Learning a coding language
« on: October 30, 2010, 01:02:38 pm »

I've always wanted to learn a coding language and never got round to it.

Does anyone have a suggestion of what language to learn? Easiest? Should I start with an easy language and learn to use that then learn another?

More importantly, is it best to get some kind of book? Or are there some awesome tutorials and resources out there in the interwebz?

I would like to aim to make a game or something if I could. A dream of mine I guess.
« Last Edit: October 30, 2010, 01:10:23 pm by Briggsy16 »
Logged

alfie275

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #1 on: October 30, 2010, 01:06:18 pm »

C++, download C++ Primer, Fourth Edition.

Also I made some tutorials, pretty crappy, but here are 2 of them:
http://alfie275.blogspot.com/2009/08/c-tutorials-part-2-my-first-program.html
http://alfie275.blogspot.com/2009/10/c-tutorials-part-3-functions-and-ifs.html
Logged
I do LP of videogames!
See here:
http://www.youtube.com/user/MrAlfie275

Briggsy16

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #2 on: October 30, 2010, 04:02:42 pm »

What is the book like?

Is C++ the best one to learn?
Logged

Flaming Dorf

  • Bay Watcher
  • Oh No Indian!
    • View Profile
Re: Learning a coding language
« Reply #3 on: October 30, 2010, 05:15:09 pm »

I learned C++ first, and it has made my life so much easier. Higher level languages like Python come naturally to me after getting used to the (relatively) low level of C++.
Logged
[PERMITTED_JOINT:100] (It's a maximum number per day. This is the elven setting)

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: Learning a coding language
« Reply #4 on: October 30, 2010, 05:34:03 pm »

It's hard to say what language to start with since we only learn our first language once. It's safe to say that most mainstream languages are sufficiently documented to learn it for the first time (while the same is true for some esoteric languages, learning those is often quite useless. You can hardly beat the documentation for Brainfuck's features though). Pick one that looks interesting and dive in :)
Logged

Briggsy16

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #5 on: October 30, 2010, 05:54:09 pm »

It is the most widely used language in software industry. But apart from that if you learn one language, learning others is pretty simple, as they don't differ much.

I have uploaded the book: http://www.mediafire.com/?kd5hc311djchawf

Because it is in digital form it is fully searchable.

Wow thanks!

I'll take a look :)

Thanks for the help guys

How do I write and compile? What application should I use?
« Last Edit: October 30, 2010, 06:04:26 pm by Briggsy16 »
Logged

Flaming Dorf

  • Bay Watcher
  • Oh No Indian!
    • View Profile
Re: Learning a coding language
« Reply #6 on: October 30, 2010, 08:43:44 pm »

How do I write and compile? What application should I use?

For learning purposes, I recommend Quincy.
Logged
[PERMITTED_JOINT:100] (It's a maximum number per day. This is the elven setting)

alfie275

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #7 on: October 30, 2010, 09:40:42 pm »

I would recommend Code::Blocks.
Logged
I do LP of videogames!
See here:
http://www.youtube.com/user/MrAlfie275

Normandy

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #8 on: October 30, 2010, 09:52:49 pm »

I would second Quincy as a starting IDE. Code::Blocks pretty complex for a beginner, you'd be better off using a minimalistic editor for now.
Logged

Briggsy16

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #9 on: October 31, 2010, 08:09:05 am »

Got Quincy and started going through that book. Enjoying the challenge of finding problems in the coding at the minute :)
Logged

ILikePie

  • Bay Watcher
  • Call me Ron
    • View Profile
Re: Learning a coding language
« Reply #10 on: October 31, 2010, 08:12:24 am »

If you're running Windows, take a look at Microsoft's Visual Studio too. I use Emacs, gcc, and GNU make, they're fun to use, but aren't very intuitive.
Logged

Khazad_Dron

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #11 on: November 01, 2010, 07:16:16 pm »

I remember I started my journey into programming from Dark Basic. It was marketed as a programming language that even "a fool can comprehend"  (inaccurate citation from my side). I thought, well, that's for me! That's what I needed. And indeed they had really nice tutorial explaining such basic concepts of what a "variable" is, what a "string" is and etc. It definitely helped me to move forward and gave me a feeling that it's not a "rocket science".
I've played with Dark Basic for two or three months and then moved to C/C++. Then there was Python, which came really easy after C++.
But I don't advocate Dark Basic. It worked for me, but I would rather recommend you to start from Python. There are plenty of books online and it's very easy to learn due to it's interactive nature.
Starting from C++ is also an option. Though a harder one. Option for those, who think that "what does not kill us, makes us stronger"  :)
But here's an argument for taking an option B: switching latter from C++ to something else is almost painless, but reverse is not true.

Have fun and good luck.

Regards,
Andrei
Logged

Briggsy16

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #12 on: November 02, 2010, 12:50:46 pm »

That's why I went with C++ really. I like to struggle at something, it makes me feel good when I succeed.

Plus like you say, it has a certain 'backwards compatibility' with other languages.
Logged

winner

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #13 on: November 03, 2010, 12:40:16 am »

try colorForth it can be as low level as you need but easily lets you get as high as you want.  It has syntactically significant color :) .
Logged
The great game of Warlocks!

Ari Rahikkala

  • Bay Watcher
    • View Profile
Re: Learning a coding language
« Reply #14 on: November 03, 2010, 04:56:43 am »

Ah, the "what programming language should I learn first" question. Every time someone asks this, regardless of where, they get a large set of wildly different answers. As far as I can tell that still holds even if they ask the best programmers and programming instructors in the world. You know what that means? It means that, in all likelihood, that there's no obvious reason to prefer any of the usual suggestions above another, and you're fine just picking any mainstream language.

Aside that, be sure to get a decent grasp of the basics of software engineering and computer architecture. Don't copypaste other people's code, do use other people's libraries. Don't go from reading one tutorial to another, do practise and exercise yourself. Don't give too much credence to any single programming paradigm - back in the fifties there used to be silver bullets in programming, singular advances that brought the field forward by huge steps... but then we invented subroutines and information hiding, and ever since software engineering has been a constant pitched battle between several different paradigms of which each tends to have some advantages over the others in some domains and disadvantages in others.
Logged
Pages: [1] 2 3