i posted a very brief response to a post on hackernews yesterday challenging the notion that 8 weeks of guided tutelage on ruby on rails is not going to produce someone who you might consider a "junior ror developer." it did not garner many upvotes so i figured that like most conversation on the internet it faded into the general ambient chatter. imagine my surprise when i woke up to couple handfuls' worth of emails from around the world asking me what i did, how i did it, and how i got a job. i'm assuming, judging by the relatively small amount of mail i got from a random aside on hn*, that there must be a lot of people who are trying to figure out how to pursue a career in programming.
first, a disclaimer or two
please note that this blog post is entitled, "how i became a programmer", not, "how you can become a programmer." i'm not a self-help guru or wise or even a particularly good programmer. i did, however, decide at an inflection point in my life to pursue something vigorously and it paid off. any insights gleaned from my experience are yours to make on your own; i doubt i'll have much insight for your personal situation.
also, after consulting with my girlfriend, my total time of dedicated effort to becoming a paid programmer was actually about 12 weeks, not ~10 as i stated in the post i linked to above. so, there you go.
my story: tl;dr
in brief: i left the marine corps after more than a decade in july 2010. i got a job at the state lottery as a pr flak in august of that year, and lost it in mid-february. in mid-may i got hired as a part-time "junior user experience engineer" at directemployers association. by late august i was a full-time, regular old "user experience engineer."
when i lost my job i decided that i was done doing pr; i wanted to be a programmer. i took my tax return and stretched it out on a ramen and water diet. my family (dad, mostly...) was nervous as hell. in that february to may span i spent basically every waking moment learning to program, learning about linux, and learning about computer science. i taught myself python, i taught myself django, i learned some functional and imperative programming, and got semi-decent at the linux command line.
voila. without further ado, i'm going to write about what i didn't do, then dive into the questions i got via email.
what i didn't do
one of the things that was asked in almost every email was, "how did you learn django in 11 weeks?"
i want to make it clear that i didn't set out to learn django per se. django is just a very nice toolkit of abstractions that makes creating web applications easy using python. as far as i'm concerned learning django was incidental to learning to program. i did not -- and still don't -- want to be considered a "django developer." i'm not even sure i want to refer to myself as "a python programmer."
in other words, i do not feel that i would be as modestly competent as i am today if i had spent an inordinate time becoming an expert at the abstraction layer of django, instead of learning the concepts that make django work.
questions from email
did you begin with web or book resources?
yes i did. :) django has excellent documentation, but stackoverflow is a much more comprehensive help source. on more general topics, i believe that mit's opencourseware introduction to computer science video lecture series was one of the first real computer science resources i consumed. i watched through lecture 13 or something.
what kind of hours were you putting in on a daily and weekly basis?
a lot. sometimes 8, sometimes 12, sometimes 16. i was a willfully unemployed single parent, so i not only had a passion for programming, i was also hungry (figuratively speaking) and desperate. i put myself in a position where i had no room to be lazy or complacent. i think above all else that made me work 10x harder. i didn't play video games, i didn't watch tv, i didn't sleep all day. all i did all day every day was code, hack, program and develop.
did you have a mentor of any kind?
i did indeed. a very smart guy was and is my mentor still, though i've learned enough that i don't rely on him as much for guidance as i used to. he mentored my metamorphosis into a programmer in nearly every way. some specific ways he provided leadership: practical programming knowledge (especially python & django); command-line expertise; got me up-and-running with emacs & vim; career advice. it helps that he is a very successful & well-respected guy who has a reputation for informed skepticism.
was there anything from your previous background and experience that you feel was a particular asset in your self-guided studies?
not really. i was a computer geek from way back, had a few bbses in the late 80s (yes, i'm a child of the 80s & 90s), learned qbasic & visualbasic back in the day, and tinkered with python for a few years off and on... mostly off. other than that, nope.
how did you come to choose django to study?
the guy whose career i was trying to emulate had made a very successful career for himself with django. pretty straightforward from there.
would you mind sharing your learning process?
i want to restate that i am not a self-help guru or particularly special in any way. i just worked hard because i was hungry and in a self-made corner where i had no choice but to succeed. i consumed everything i could that would get me to a place where i could make money doing something i love. that was my learning process. seriously.
i don't have any tips or tricks to learning except just doing it. i spent a lot of long (but enjoyable) hours learning stuff.
as i said above, i did not and do not consider it fruitful to "learn django," "learn ruby on rails," or "learn noir." i think a contributor to my success was learning the languages and the concepts behind them, then using a web framework to better learn that language. i learned the framework incidentally to my education in the language.
go read the django docs, join #django on irc.freenode.net and ask questions constantly. that's what i did and it worked ok for me. but honestly i didn't just sit down and read stuff most of the time. usually i was making things in order to learn concepts better, then reading in support of my goals. i'm a hands-on learner. some people aren't, but i am so it worked for me. decide on your own if that's good for you.
as far as html & css there is just so much information out there, and they're such straightforward concepts. i learned as much html & css as i needed to do what i needed to do. i did not memorize much about how html & css work, i.e. syntax & semantics. i don't know right off the top of my head how to create a gradient, but i do know right off the top of my head how to find out. i think that's the important thing.
how did you show the company your skills? did you show them the projects you've made?
github, github, github. i can't emphasize it enough. make stuff, put it on github, show people you're passionate and smart and curious.
also, network. attend meetups. meet people. tweet. blog. interact with the community around your language(s). get to know people. demonstrate to the world that you really love programming. the week before i saw the job posting for my first programming job i delivered a lightning talk on fabric, python's capistrano analog. that got me on a few people's radar.
if i had to summarize the big overview of how i did what i did, i'd say:
- ask questions, be curious, be passionate
- learn a language, not a web framework for god's sake.
- work hard
- network, attend meetups, tweet, blog, be social and show people you'd be fun to work with, and a credit to team.
- (optional) put yourself in a position of desperation, so there is no choice but to succeed
my final point really is that i got lucky. i'm not an amazing developer. at the end of the day i'm a newb and i still have a lot to learn. my career is just beginning but i am proud of the effort i put into changing my life. i hope my experiences can help some other folks.
* i should note that i was already of a mind to blog about this since my cousin jeff has also taken up programming after leaving the environmental consultancy business.