Coding and Stuffs

  • Schneumer
    10th Oct 2013 Member 0 Permalink

    Is there anyone nice enough ON THIS WHOLE ENTIRE EARTH WHO IS WILLING (stop caps) to teach an elementary kid how to code? I can give likes and do errands and stuff I can do but........basically I"m askijng for a coding tutor. You don't have to teach me EVERYTHING, maybe just some stuff and then another person will hopefully help...I know it's a big job (more like HUGE, GIGANTIC, ENORMOUS!!!) but I really think TPT will be much more fun if I learn how. If you get frustrated, please understand I'm trying to skip to high school (just an analogy) and I don't know ANYTHING! Now if someone would kindly answer this question, what is coding first of all?

    Edited once by Schneumer. Last: 12th Oct 2013
  • billion57
    10th Oct 2013 Member 1 Permalink

    First you have to pick a language.

     

    TPT is coded in C++, which is based in C.

    Python is an easy language for beginners. I recommend this one.

     

    You can just Google for tutorials in both (and pretty much any other) languages.

     

    If you're interested and can handle it, edX is offering university courses, many involving programming.

  • mniip
    10th Oct 2013 Developer 3 Permalink
    @Schneumer (View Post)
    recommending you to start on a fixed compiled language like C or Pascal (mainly C, since Pascal is never ever used since 90s)
    only then you can move to unstrict and interpreted languages.

    EDIT: i can help you with some things, PM me if you wish

    oh and
    Do not code in C#, PHP and java
    it might injure your mind and make you a retarded faggot like what most nowadays programmers are
    Edited once by mniip. Last: 10th Oct 2013
  • xetalim
    10th Oct 2013 Member 0 Permalink
    @Schneumer (View Post)
    if you wanna learn a bit from the TPT code, open a random element.cpp in the source(src/simulation/elements if i am right)
  • Dingolo
    10th Oct 2013 Member 2 Permalink
    @mniip (View Post)
    I like the way you scare kids, seriously.
  • Sylvi
    10th Oct 2013 Moderator 0 Permalink

    @mniip (View Post)

     PHP is more scripting than code I would say.

  • boxmein
    10th Oct 2013 Former Staff 0 Permalink
    @Lockheedmartin (View Post)
    what does that even mean

    @Schneumer (View Post)
    http://codecademy.com/learn - pick some language you like and kinda start doing stuff with it.

    @MiningMarsh (View Post)
    fine, OP talk to me on the IRC, lol
    Edited 2 times by boxmein. Last: 10th Oct 2013
  • MiningMarsh
    10th Oct 2013 Member 0 Permalink

    @boxmein (View Post)

     No, please, not codecademy!

     

    It doesn't teach anything, it just makes you memorize stupid things that won't help you.

  • Schneumer
    12th Oct 2013 Member 0 Permalink

    oh god.......UNIVERSITY COURSES? why would i take those? I don't think you guys understand......i have NO IDEA what you guys are talking about....i knew this was a bad idea.... :L What is "coding", first of all? huh....google type: coding for kids......java and a bunch of crap........oh boy... (:P at myself) apparently lots f kids coded at young ages........should i download this scratch app? Probably not.....OHH THE WIKI helps.....so programming...wait, i'm osflsdf, is coding the same as programming? wait no...why is it called coding then.....huh. the basic idea is: you type commands and stuff for the computer to follow......makes perfect sense. now onto the hard part. NOW I NEED HELP.....oh boy... (:P and facepalm myself. I actually did one at the time this was edited lol)

    Edited 7 times by Schneumer. Last: 12th Oct 2013
  • edza101
    12th Oct 2013 Member 1 Permalink

    @Schneumer (View Post)

    1.  Become slightly less hyperactive.
    2.  Learn some easy scripting languages, I recommend python (www.python.org) or lua (www.lua.org). There are plenty of tutorials online on how these languages work.
    3.  Once you've become quite use to one or more of these scripting languages www.projecteuler.net is a nice website to test your skills (and learn some maths in the process!).
    4.  After this you can try to learn C++, as this is the programming language powder toy is written in.
    5.  If you then want to try your hands at a powder toy mod (meaning you add something new to your own version of the game) you can read the wiki on how to setup a compiling enviroment.
    6.  Some of the other pages on the wiki also help you with this, such as providing a template for a new element.

     

    Now for some jargon busting! Coding is when someone writes computer code in a language the computer can understand (Like C++ or python). And yes coding = programming.

     

    If you need anymore help you can always come onto irc and ask under #powder.

     

    (The only reason I'm really helping you is that I can remember being this stupid ... I mean ... enthusiastic.)

    Edited once by edza101. Last: 12th Oct 2013