Ask HN: First coding apprentice. Any advice for me (and him)?
https://news.ycombinator.com/item?id=4257271I work for a PHP powered finance company (I promise it's not as bad as it sounds) with a wide range of projects, from 8 year old crufty internal systems to fairly bleeding-edge and genuinely interesting projects.
A new chap started a week ago and I've been assigned to train and manage him. His programming chops extend about as far as basic use of arrays and objects in PHP, and a bit of MySQL/javascript. He's quite competent in frontend/design stuff though.
He's clearly very smart and a quick learner from what I've seen so far, so if I handle this right he should have a very successful career ahead of him. This is also his first full time job.
I personally wish I was given the following in my very early career:
* Encouragement of my progress; I nearly gave up early on because I thought I was really shit at programming
* Conversely, frankness in my weaknesses, and specifically being told how to improve, not just told I'm doing something wrong
* How to spot a resource I can trust (online resources that don't give outdated practices, books that don't leave gaping security issues)
* The reasons for doing things certain ways, instead of just cargo-cult shit (I got told "that's just how we do it" so much)
Here are some questions that will hopefully give you some ideas:
* What advice do you wish you were given when first learning to program?
* What advice do you wish you were given when you got your first job as a developer?
* What advice do you wish you were given when you got your first full-time job?
* Is there anything your first mentor(s) did that you wish they didn't?
* Is there anything your first mentor(s) did that helped you a lot?
* Have you tested any techniques with very green programmers that worked to help them learn much better (eg. pair programming)?