Coding and Stuffs

  • Iridium616
    12th Oct 2013 Member 1 Permalink

    First, calm yourself. Second, patience is the key. Growing up before helps, but if you really feel like doing it, why not.

     

    And even if I sound like a cheap optimistic faggot selling cheap books at the nearest corner, There's really not limits. You can code anything you can imagine. The hard part is figuring out. And even if you dont, there's still a way.

  • nucular
    12th Oct 2013 Member 0 Permalink
    Personally, I would recommend you to start with plain Lua, since you want to code things for ThePowderToy. Lua-Users provides many tutorials: http://lua-users.org/wiki/TutorialDirectory
    and FeynmanLogomaker started a pretty good tutorial here: http://tpt.io/:17801

    Just run the scripts you create in the way described here: https://powdertoy.co.uk/Wiki/W/How_to_run_a_script.html
    Heres the interface between TPT and Lua:
    https://powdertoy.co.uk/Wiki/W/Powder_Toy_Lua_API.html
    Edited once by nucular. Last: 12th Oct 2013
  • Schneumer
    14th Oct 2013 Member 0 Permalink

    to run the scripts, is it the folder that appeared when you downloaded and extracted tpt.....cuz I have powder.pref.......why is there no tutorials that explain it to someone who knows NOTHING about it.....it always starts with "strings" and "numbers"....

    Edited 2 times by Schneumer. Last: 14th Oct 2013
  • mniip
    14th Oct 2013 Developer 2 Permalink
    nonononononononon wrong totally wrong.
    You shall never start with a scripting language. first language has to be strict and plain, like C or even pascal
    EDIT: and again: feel free to convo me
    Edited once by mniip. Last: 14th Oct 2013
  • greymatter
    15th Oct 2013 Member 0 Permalink
    @Schneumer (View Post)
    "to run the scripts, is it the folder that appeared when you downloaded and extracted tpt.....cuz I have powder.pref"
    Yes.

    If you know absolutely nothing about coding, and by absolutely nothing I mean totally completely and absolutely nothing, you might want to start with QBASIC...I looked into that when I was in 4th grade..

    Then, it's all based on your interest and effort. I dived into C++ next, got confused and went into HTML instead and found it...understandable. http://www.codecademy.com/ is good for beginners.

    Then you can slowly go up, learning languages of your interest. If you want to edit TPT, you'll need to know C++. And I don't recommend diving right into it if you know nothing about coding (unless you have an IQ<150..)

    You can PM me if you wish.

    @MiningMarsh (View Post)

    <blockquote>"No, please, not codecademy!

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

    It's not a bad site..really, for beginners.
    @mniip (View Post)

    Do not code in C#, PHP and java


    What's wrong with java?
    Edited once by greymatter. Last: 15th Oct 2013
  • MiningMarsh
    15th Oct 2013 Member 0 Permalink

    @greymatter (View Post)

    Java is a terrible terrible language that only really fits for specific server side situations where you really can't afford to not have garbage collection.

     

    All codecademy does is make you memorize some syntax and hopes that you will grasp what that syntax really means. It teaches you nothing about algorithms, design, etc etc. I think a good analogy is that codecademy is basically teaching you how to say simple phrases in Spanish without actually teaching you any of the grammer or syntax in depth. Hell, I already know how to program in some languages and codecademy wasn't even fit just to teach me the syntax of a new language (I was aiming for python).

  • PowderCircleJerk
    15th Oct 2013 Banned 0 Permalink
    This post is hidden because the user is banned
    Edited once by PowderCircleJerk. Last: 15th Oct 2013
  • MiningMarsh
    15th Oct 2013 Member 2 Permalink

    @PowderCircleJerk (View Post)

    I fail to see how this can be considered circlejerking, he asked for advice on learning and we are trying to give it to him. I really fail to see who is worked up about this.

     

    I am going to go ahead and call Poe.

     

    ---

     

    He said not to start with an interpreted language. I tend to agree as some of the things you are forced to learn in lower level language (indirection being a huge one) are super useful to your understanding of computers.

    Edited once by MiningMarsh. Last: 15th Oct 2013
  • PowderCircleJerk
    15th Oct 2013 Banned 1 Permalink
    This post is hidden because the user is banned
  • MiningMarsh
    15th Oct 2013 Member 2 Permalink

    @PowderCircleJerk (View Post)

    I learned C from a guide. No one said not to use a guide. We said not to use specific guides.

     

    Java is a POS, and I can justify a lot of my hatred for it. Not all languages are perfect or even good.