9

Tldr: what are some tips you wish you got when you started programming?

Hey so. I got added to a facebook group with absolute beginners to programming. Been tryna answer their questions but its getting overwhelming and i thought id make a definitive guide to beginners or something like that. I have a buncha topics and tips but the more the better, so please if you got some advice you wish you got x years ago, post it down here.

Comments
  • 2
    The fuck does my accent come thru written text is beyond me...
  • 1
    Leran js as one above commented. And then learn test driven programing. It helps alot to break down complex functions to test ale functions.

    Do on small project and have someone to comment on the code and rewrite it aftrewords and learn from your misstakes
  • 1
    "Get some sleep."
  • 1
    Fail hard.
    And then read the errors and know what to do when they occur and why they occur.

    It's okay to quickly hack something together but if you want others to read your code without becoming insane, code cleanly.

    Read a lot: How to do things, what design patterns are, when to use what, what are the professionals doing.

    Don't get discouraged by how well the professionals do everything and how easy it looks. They all have been where you are, learn from them. Knowledge doesn't come over night.

    Learn fun and hard things in your free time. Implement an algorithm, get your head around a concept and do something with it. You don't have to finish those projects, just learn on them. Make those projects small. Built a little component that can be done at your skill level on a weekend.
    For example, I once wanted to know mod_rewrite and wrote a little rewrite engine in php. Or I wanted to separate code from design in php, so I wrote a little templating engine. Both on their own were almost useless and quite shitty I think, but I learnt a lot on the way and ended up reusing those components in another one of those projects.

    That are my two cents. Hope there's something that you can use.
  • 0
    @Charon92 @Jmann @2Dynast @Vyrr @TobyAsE thanks folks, these are all good advice
Add Comment