How do you learn how to code? Other than following courses of course. I've been bouncing between reading docs, following tutorials, and just learning on the go (I'm not a professional dev and don't really spend that much time doing it).

  • 4
    do it together with a friend who holds you accountable so that you togheter reach a goal.
  • 0
    Books, side projects, online tutorials
  • 3
    Think of something you'd like to make.

    Something simple.

    Then make it.

    There's just no getting around that tutorials and such are handy, but you gotta make a thing to really learn. Hit stopping points, get through them, find ways to do that thing and so on.
  • 0
    @N00bPancakes how would you suggest coming up with things?
  • 0

    Doesn't really matter what it is as much as you work at it and learn.
  • 2
    Building is the best way to learn. Just think of something you'd like to use. Ask for folks or friends what they like to be automated if you can't think of any and just do it.
  • 0
    Just make something.
  • 1
    "How do you get to Carnegie Hall?"
  • 0
    Read some simple code, try and figure out how it works, alter it a little to see what this bit is for.

    Read up about the commands in that language to get a better understanding of what they do, even if you don't fully understand everything written.

    You don't necessarily need to know anything to start with.

    After you get started, then you can begin to write short articles about how to do X or Y, and / or books.

    Look at other folks code to see how they do things, and after a while, you might notice better way to do things.

    Built very simple things to start with, to get the hang of a specific aspect, like:


    20 END

    Old computers are good for that. :-)
  • 0
    Codingame can be a great place to get started.

    You'll be given small, solvable problems and, once you figure out a solution, will be able to see how others did it.

    Learn to learn by reading other's code. But don't take the way others do it as the only way to do it. Learn the language, learn the nuance, try to follow the logic and patterns.
  • 2
    @SortOfTested Your directions were unclear, I typed "how to learn to code" into my GPS.
  • 2
    Objectively, this is for the best.
  • 1
    @SortOfTested agreed. Help those who help themselves.
  • 0
    The best way to learn anything is to get a job where you learn by doing with the help of your coworkers. The best part is that you also get paid.
Add Comment