Learning code, where should I start?

Discussion in 'Computer Programming, Emulation, and Game Modding' started by gifi4, Aug 3, 2011.

  1. gifi4
    OP

    gifi4 How am I a 'New Member'?

    Member
    2,352
    142
    Apr 21, 2010
    Melbourne
    I plan on learning to code and well, I don't know where to start, is C# a good place to start or not?
    Any tips? What language should I learn afterwards?
     


  2. Waflix

    Waflix El Psy Congroo

    Member
    638
    1
    Dec 17, 2010
    Netherlands
    I started with VBScript. The basics are quite simple, and it helped me understanding how it works.
    Then I learned Python. Just because a friend of mine recommended it.
    After Python, I started learning C++.
    I don't have experience with C#.

    I have also collected a few sites that helped me, and a few tutorials.
    • W3schools - A site full of tutorials how to learn languages HTML, CSS, JavaScript, VBS, and many more.
    • VBS Tutorial - The VBS Tutorial on W3schools.
    • Python - The official site for the language Python.
    • Python BG - The Python Beginners Guide. I used this as my tutorial for learning the language.
    • C++ Tutorial - A good tutorial for learning C++.
    • C# Tutorial - A site for learning C#. I haven't used it, so I don't know if it's useful.
     
    Satangel likes this.
  3. Issac

    Issac oh!

    Global Moderator
    GBAtemp Patron
    Issac is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,058
    1,835
    Apr 10, 2004
    Sweden
    I wouldn't bother with VBScript actually... I'd jump straight on to C++.
    Java is also a good place to start...
     
  4. xist

    xist ΚΑΤΑ ΤΟΝ ΔΑΙΜΟΝΑ ΕΑΥΤΟΥ

    Member
    5,861
    863
    Jul 14, 2008
    I bought this last month having no experience at all with programming. It's actually a really good resource and i *think* i'm doing ok working through all the examples, drills and exercises.

    Having guides online is great, but nothing beats the ability to read 10 mins here and there when you don't have computer access.
     
  5. Wabsta

    Wabsta you fight like a dairy farmer

    Member
    2,498
    69
    Apr 25, 2008
    Netherlands
    SCUMM Bar
    I wouldn't start with VBscript. It'll only get you unmotivated to code.
    You should start, or right on with C++, but that can be hard. Or Java or C#. I have personally learned programming with Java.
     
  6. Berthenk

    Berthenk Epitome of Awesomeness

    Member
    1,314
    8
    May 16, 2008
    Netherlands
    If you're interested in game development, I'd recommend C# with XNA. I use the book called Learning XNA 4.0, it's pretty easy to understand and there's source code available for every chapter, including sound, textures/sprites, etc.. This, however, only counts for the Windows, 360 and Windows Phone 7 platforms.
     
  7. Wabsta

    Wabsta you fight like a dairy farmer

    Member
    2,498
    69
    Apr 25, 2008
    Netherlands
    SCUMM Bar
    Is that book buyable in some dutch webshop by any chance? I've been looking to get into XNA. Also, how basic is it? Is it too, like, easy if you already know C# (pretty good), or do they just teach you XNA?
     
  8. nutella

    nutella Low Glycemic Index

    Member
    1,097
    3
    Sep 4, 2008
    Your nearest supermarket
    The programming language you choose isn't all that important, though I personally started with Java.
     
  9. gifi4
    OP

    gifi4 How am I a 'New Member'?

    Member
    2,352
    142
    Apr 21, 2010
    Melbourne
    I'm thinking about Java atm, every damn guide I find supposes I already know how to program, but I'll still try... About to look into the links Waflix provided
     
  10. Berthenk

    Berthenk Epitome of Awesomeness

    Member
    1,314
    8
    May 16, 2008
    Netherlands
    comcom has it, but I don't know if they're a reliable shop, and 27 bucks is a bit steep in my opinion. I "acquired" it by other means because I can't really be arsed to buy a book in a digital format.

    Edit: it does teach some basic things but after a while it just assumes you know basic things like a construct; variables and such.
     
  11. pistone

    pistone GBAtemp Advanced Fan

    Member
    506
    56
    Feb 18, 2010
    Albania
    in your heart...coz secretly you love me !!!!
    im starting to code my self and my choice language is c
    ist very spread and also is simpler than c++
    if you want to code try first a good ide .....those help alot
    my choice here is code blocks
    also some starting web page :
    Page nr 1
    Page nr 2
    Page nr 3


    edit:this one down..... isnt any good as @Mazor said but i will leave the link so anyone will not make the mistake to follow this tut [​IMG]

    Youtube c programming tutorial!
     
  12. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,105
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
  13. Mazor

    Mazor Z80 master arch

    Member
    547
    23
    Feb 14, 2008
    As someone who knows C, I must say that tutorial was completely terrible and definitely an awful place to start.

    Not only does the guy use and promote the use of the terrible obsolete Dev-C++ IDE that has not been updated for 6 years, he doesn't even know it's an IDE and instead refers to it throughout the video as a compiler (Dev-C++ does not even have its own compiler, it uses MinGW).

    When talking about including the header file stdio.h, around half of what he says is messy and the other half wrong. When talking about printf included from stdio.h, he even admits he doesn't actually know what it stands for, making two wrong guesses. This would be bad for any function, but printf specifically stands for "print formatted" which indicates that the string it takes is a format string, which means that it can contain placeholders for arbitrary data of various types which is supplied as additional parameters after the format string parameter. The guy seems to be unaware of this concept as a result of not actually knowing anything about printf, and does not make any mention of it when he should have.

    Also, he disregards the C90 standard by omitting return 0; at the end of main() which is generally considered bad practice.


    To summarize, he pretty much made all mistakes he could have made. I would strongly advise against following this guy's videos. Read The C Programming Language instead.
     
  14. Gh0sti

    Gh0sti iOS Guru

    Member
    1,317
    49
    Aug 19, 2009
    United States
    Inside you, all around you
    java is also good to know taking a class on it, use bluej to help create files
     
  15. waitaminute

    waitaminute Member

    Newcomer
    30
    0
    May 24, 2010
    No, this site is useless, and will teach you the wrong things.

    More info: http://w3fools.com/
     
  16. amrboghdady

    amrboghdady Member

    Newcomer
    22
    0
    Sep 4, 2010
    United States
    Hmm, I wanted to become a web-developer, so I first started with Html
    There were many free websites teaching it, so learning it was extremely simple

    Then I started doing Css as well, no books or tutorials, I just looked at the different Css files used on other websites and started from there

    Then I purchased a book covering Php & MySQL, which really helped me a lot

    That was all about 5 years ago when I needed to raise some money. I was able to work as a freelancer for a few months and earned around $1500 until I got a real job [​IMG]
     
  17. pistone

    pistone GBAtemp Advanced Fan

    Member
    506
    56
    Feb 18, 2010
    Albania
    in your heart...coz secretly you love me !!!!
    thnx .i will follow your recommendations ,so now only the other links remain ............. [​IMG]
     
  18. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,981
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    Good Lord, where to start here?
    I'll take that youtube guys Hello World over this, at least you can see it after compile and run, lol.

    Seriously, Master00d, just get a good (modern) C++ book. The one Xist recommends is a good choice. It was written by the creator of C++ in fact. [​IMG]
    http://www2.research.att.com/~bs/programming.html

    Or if you don't want to be overwhelmed-- try C++ for dummies. I know dummie books can vary in quality, but this one isn't so bad. It's not too rough, not to easy -- just right. You can branch out to other books after that if you think it's too easy.
     
  19. mrwienerdog

    mrwienerdog GBAtemp Regular

    Member
    155
    0
    Nov 1, 2007
    Canada
    Most people are split between java and C++. Truth of the matter is, once you get used to object oriented programming, it doesn't much matter which you go with. The syntax is obviously varied, key words are different, but the actually fundamental concepts are what you need to wrap your head around. Java is the choice of most programming schools for a first language, because memory allocation is taken care of for you, and you don't have to mess around with it at all. With C++, memory allocation is just one more angle you will be concerning yourself with, and it can be a bit overwhelming. I started with java.

    HTML is not really a *PURE* programming language (sorry, not trying to insult anyone - I am in web applications development). It is extremely easy to understand and code.
     
  20. Mazor

    Mazor Z80 master arch

    Member
    547
    23
    Feb 14, 2008
    Actually, while HTML can vaguely be called "code", it certainly cannot be called a programming language at all. It has nothing to do with one, it's a markup language.