1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

I'd like to get into Coding.

Discussion in 'Programming' started by SirMush, Nov 15, 2014.

  1. SirMush

    SirMush cool kid

    Hello, Cloudsixteen. Recently, I have found myself wanting to learn how to code. I was wondering what kind of "programs" I should "learn" to code if I would want to code for C16. I am a noob, and realize I am ignorant with this. Thanks.

    P.S. If you tell me which one, please tell me some good websites of where I should learn.


    :)
     
  2. duck

    duck Phant0m Legend

    What exactly do you want to make?
     
  3. SirMush

    SirMush cool kid

    I want to learn how to code plugins, and just learn how to "Run" Clockwork, basically.
     
  4. duck

    duck Phant0m Legend

  5. Valterain

    Valterain Dex is a chronic masturbator. Watch out. Clockwork Customer

  6. ShadowOfDoubt

    ShadowOfDoubt In the grim dark future. There is only SCG.

    I'm currently learning Python on Code Academy. It's a good place to start.

    And you don't actually code -for- CloudSixteen as such. When you make a plugin, a fix, etc, etc, you're making it for the entire HL2RP community. And not actually for CloudSixteen.

    I'm personally learning Pyton and a few other languages before moving onto Lua, just for personal convenience. But, if you ever feel like learning others, http://www.codecademy.com/ is a great place to start.
     
  7. It Datzy

    It Datzy Clockwork Customer

    Codecademy can be an okay beginning, but it is in no way a real guide to getting things together. You'll absolutely need to start thinking of projects within the skills you gain that you can do. Khan Academy has some good general courses, not sure if they've got anything on Python. There's a lot of different ways you can learn and it's important to try a few and see what works.

    http://inventwithpython.com/chapter1.html
    https://docs.python.org/3/
    http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/
    http://curiousreef.com/class/mit-opencourseware-600-introduction/
    https://www.python.org/about/gettingstarted/
     
  8. Valterain

    Valterain Dex is a chronic masturbator. Watch out. Clockwork Customer

    That confirmed it. You're the real Datzy. But I don't see why he'd want to start off with python when he wants to code for Gmod, probably best if he started with C##
     
  9. It Datzy

    It Datzy Clockwork Customer

    Python's an easy language to learn from the get go, it's got simple syntax and you can deploy your programs immediately without any trouble. C# (or C++) is a compiled language, and has more complicated syntax. Lua looks more like a simple mix of the two in how it's written, most of the time, and if you can get your eyes working with Python then you'll not only have the right step for OOP, but you'll probably be able to adapt to Lua pretty quickly. C* languages aren't good to start with.
     
  10. Valterain

    Valterain Dex is a chronic masturbator. Watch out. Clockwork Customer

    Hmm. Not bad Datzy...not bad. But I wouldn't say Lua is as simple, since when you deploy your program, and it doesn't work, it doesn't tell you what you did wrong.
     
  11. duck

    duck Phant0m Legend

    What mitch. Lua tells you which file and which line an error pops up.
     
  12. It Datzy

    It Datzy Clockwork Customer

    [​IMG]

    Yes it does. Both there, and in a Garry's Mod prompt if you're trying to do something and it's all fucky. If there's nothing 'wrong' in the code and it just doesn't work, then it wouldn't say anything in any language. It just wouldn't work.

    No programming language is 'easy'. I just said it's easy to learn and get a grip of fairly quickly.
     
  13. Valterain

    Valterain Dex is a chronic masturbator. Watch out. Clockwork Customer

    Not true. http://scratch.mit.edu/
     
  14. It Datzy

    It Datzy Clockwork Customer

    >scratch

    That's nowhere near the same thing.
     
  15. duck

    duck Phant0m Legend

    I think if someone wants to get into programming, they should start with VB.NET or C#. Pretty much the only difference between them is the syntax. C# makes it easier to adapt to other languages. VB's syntax is useless outside of VB, but is more human readable.
     
  16. Valterain

    Valterain Dex is a chronic masturbator. Watch out. Clockwork Customer

    If they claim it's coding why stop them. I myself love dropping boxes back and forth.
     
  17. It Datzy

    It Datzy Clockwork Customer

    You won't be dragging and dropping boxes when you're writing something for Clockwork, you'll be doing stuff like this in a text editor
    [​IMG]
     
  18. Valterain

    Valterain Dex is a chronic masturbator. Watch out. Clockwork Customer

    I was making fun of Scratch, and how ridiculously pointless it is towards actual coding.
     

Previous Readers (Total: 0)