102 points · by BWStearns · 13y ago · 124 comments
1) How did you learn to code? Totally self taught from books and RTFM // Self taught plus MOOCs or comparable resources // Some classes in college but no CS degree, remainder self-taught // Self taught plus a developer bootcamp or some non-degree related formal education // CS degree and personal efforts
2) When did you start learning (perhaps informative because of the recent rise of MOOCs)?
3) At what point (if yet) did you start working as a programmer professionally relative to your initial efforts?
I had been wondering about this for a bit and the discussion here (https://news.ycombinator.com/item?id=6467914) motivated me to finally post it.
Administrative note: I'm below 200karma so I can't make this a poll, if an admin wants to throw some polling categories in here that'd be cool too.
Edit: added quotes to the self-taught in the title since I realized that with the advent of StackOverflow and various other social learning tools that there are very few who can truly claim not to have learned at someone else's digital knee at some point or benefitted from the currently robust community that exists online now.
I did study a uni CS and EE for a couple of years, but left because my school was way behind what was happening in the real world at the time. I was consulting in the IT world, and thought at the time that the CS stuff was hopelessly outdated. I realised years later that I should have stuck with it because now I know that some of the theory is universal and timeless and would have stopped me from reinventing wheels a lot.
I've mainly learned by doing, solving problems using technology. I learned in the beginning from books and usenet, then gopher was my friend and eventually of course the web. I still find a good book is the main foundation I use for learning, supported by things such as forums and MOOCs (I've yet to find a MOOC I agree with, mainly because I am personally not a big fan of video learning - I still like books the most)
I've worked on and off in the IT world for 25+ years, currently I am an English teacher, I do IT projects on the side and I'm about to tackle e-learning head on with a new start-up. I would have trouble finding a job because I have no formal degree (people toss my CV/resume) and I am late to the world of github so nowhere to point people to see my work as most of the problems I have solved are internal problems businesses have. So most of my work comes through word of mouth recommendations, and I only take projects nowadays that have an new, interesting angle for me - point in case I am learning NoSQL and Graphing DBs to create a recommendation system for a network of insurance brokers. (I think the problem could actually be solved trivially with Postgres and judicial use of statistical analysis, so I am creating 2 solutions in parallel to see which one will perform better at scale as well as more accurate). I've never done rec systems before, but I'm a big fan of AI and ML, so this seems like an interesting problem to research and look into, as well as having the opportunity to be a little profitable.
How do I get a job?
Sure, having a degree might add some weight to your CV/Resume but it will not have the same weight as three to four years of experience in a skillset that is modern and relevant.
The problem with the approach of avoiding the degree route is what some might see as a lack of depth/insight into computer science. And that really all depends on what career you want. If you want to build mobile Apps and Websites then you probably don't need the in depth computer science knowledge. On the flipside, if you want to get into games programming or device driver programming or programming of computationally intensive tasks then you need to know that computer science stuff.
People here might say that the computer science you'll learn from a degree is invaluable, but honestly it's mostly boring junk that most people sat in an lecture hall of three-hundred people will struggle to get through because of the tediosity of it's presentation. In educational institutes you (the student) are expected to go out and seek the answers to the lecturers questions - makes sense right? But you're doing the work there, and most of the time students don't know why they need to know what's been asked of them.
A few final points: most of the self-taught programmers I've known have been head-and-shoulders above their CS counterparts. They have had an insatiable appetite to learn and most have learned from a young age.
I started programming at a very young age, and actually wanted to study Physics at University because I was slightly tired of computer programming by that age... little did I know I was going to make a career out of it.
For me the most important thing is not having a rule book. If you believe deeply that you need a CS degree or to follow a popular route into the industry then I believe that you will fail to learn as everything will seem to be an obstacle that you are not privileged enough to overcome.
Without a rule book, and with the belief that anything is possible... and if you can break down your problems into logical things you can describe... then you can teach yourself how to solve the problem.
My first step was a simple one, I had a manual mailing list which was names and addresses on bits of paper that I photocopied onto Avery label sheets. This was in 1993 and when the mailing list exceeded 2,000 I knew a computer could do this easier then I could. I purchased an IBM 386 and had no internet access (or knowledge that it existed) and could only learn from books as I also knew no programmers.
I purchased a book called Programming Perl, and just set to it. I think it took about 2 weeks to get the full mailing list application built, with flat-file datastore, printing, etc all complete and working. Looking back, everything was horrible about the implementation, it was ugly, inefficient, virtually unmaintainable... but it worked.
By 1996 I had started selling merchandise to the mailing list and written stock management, VAT accounting and reconciliation, the paper mailing list, an email marketing list, a shopping cart web-site, a community area on the web-site. This was effectively a shift from hobby programmer into a professional programmer and the start of a career in computing.
If I had been told those things were hard, or belonging to the problem domain of highly educated programmers, then perhaps I wouldn't have tried.
Believing in advance that anything was possible gave me the motivation to persevere, an obstacle would clearly be overcome if I could just stand back and think clearly about it.
After that... just carry on solving problems. Every time you have a new problem you gain fresh experience. Over time, that adds up.
Pre-planned courses never appealed to me at all, maybe because of some slight ADD tendencies. They try to titrate knowledge in a steady, regulated, and pedagogic way. That just bores the shit out me. The only thing that even remotely excites me is diving into doing things that are too difficult for me, failing, beating my head against my desk, asking real people for help (not supervisors or TA's), making tiny exhilarating steps of progress.
I'm generally very skeptical about all kinds of teaching, upbringing, and so on. Like when parents and educators try to ensure that their kids turn out good by adhering to various "time-honored" methods and curricula, and fail to realize that they're just locking their kids up for decades, ineffectively preaching at them while they wait for the break so they can talk about whatever they're actually, genuinely, vitally interested in.
Maybe I'm just weird, but to me joining a MOOC seems like tying oneself up in chains to learn how to walk. There does seem to be people who actually find sustainable motivation in that sort of thing, but the statistics seem to say they're not as many as those who only think they will.
By all means dabble around with some courses to get your feet wet, but don't expect to become a good programmer by following other peoples' curricula!
One thing I'd attribute to my success in self-teaching myself programming is the lack or very sketchy access to the Internet since before high school (I pretty much only downloaded OpenGL examplex over the phone modem; anything else and my parents would have killed me for the phone bills). I also had the attitude to fix all my bugs myself and never ask for help (and then when I got reliable Internet connection, to help other folks a lot, but never ask for it myself). Even when I spent a day debugging some stupid things I did, it wasn't a time wasted - I forced myself to actually understand the problem in order to fix it.
Nowdays I still try to fix everything myself, but I'm not afraid to Google some StackOverflow questions if I'm stuck with a problem related to webdev that is stupid (mostly because of poorly documented / poorly working libraries or weird bugs like support for HTML5 video has).
About a year later (summer 2007), I got a job working for a ticket search engine called Tickex, doing Rails. I was paid £9 per hour, and worked at a BBQ table and chair. It was a really enjoyable time. we were Seedcamp finalists and nearly got funding from Sequoia, but sadly the funding ran out and the business moved back to California and then shut down. Since then, I've worked at a few other startups, at a web agency called New Bamboo, at AOL, and now I work in a small business. I also had offers to interview at Square and Facebook, but a temporary lack of nationality/family circumstances meant that I couldn't move to California.
The decision to deviate from the path offered by my degree has been one of the best in my life. Before I had learnt to program, I had ideas but no ability to program, so they remained as ideas. Having learnt to program, I have the ability to have ideas and do something about them.
I was happy playing games for a few weeks and then it broke. It took one month to fix, so meanwhile I was left with the BASIC manual it came with. I read it to withstand the cravings and when I got the computer back I was already more interested in coding than playing games.
So I taught myself Basic. Later in school I was taught Comal 80, some variation of Cobol taught in Danish schools. I learned Pascal later, also in School. When Internet came to Denmark in 1995 I taught myself PHP v1+2+3, and later Javascript, and started my own little business creating websites, based on a selfmade CMS. PHP + javascript has served me well for 18 years, but I think its time to move on to something like Go - so thats what I am planning now.
Instead of playing any of the bundled 12(?) games we had to wait for shops to open to get the drive swapped, and instead I read the thoroughly comprehensive manuals. Initially playing in BASIC, then later hand-assembling via the opcode table at the back of the book.
1) There was a ZX Spectrum at home, which booted to a BASIC interpreter. My dad taught me the basics (no pun intended) and I picked up the rest from experimentation and copying listings from Microhobby (http://www.microhobby.org/). Later moved on to gwbasic/QBasic/Quickbasic on the PC. I discovered C++ at 13 and I'm still trying to figure it out ;)
2) I was probably 4 or 5 - 1985/1986. My first documented "thing" is dated Sep 1986 (http://www.gabrielgambetta.com/img/1986-listado.jpg). At 10 I was making "games" (https://plus.google.com/110907875579750723363/posts/8RkT5K2K...)
3) I got a less-than-part-time job at 15, writing payroll software for a small real estate developer.
More details than you can possibly care about here: http://www.gabrielgambetta.com/about_me.html
(Born in 1981) at first I attended some programming language courses: Turbo Pascal, Visual Basic, Delphi, in my early teen years, that is in 90s. I even co-authored a series of articles on the subject to a nationwide magazine. (Poland, not USA).
Subsequently I lost interest in the IT, I went on to study political science and only turned back to programming in about 2007.
Starting from scratch, I picked up C#. I learned from books and by programming. I attended MCTS courses in college and got myself certified, but in retrospection I think it was a waste of money.
I had quite an inferiority complex regarding my lack of formal education and experience. I didn't even start looking for a job until 2011, when my girlfriend forced me to get up on my feet and start sending CVs out :) So it was like 4 years after I began, but I worked full-time and didn't learn very intensively.
Anyway, once I began looking for it, I landed a job quickly and needless to say, the moment I saw the code written by some of my predecessors in the years when I thought I wasn't ready to get paid for programming, some swear words left my mouth.
I remember writing BASIC on the Apple IIGS computer in my first grade classroom, playing with HTML in second grade, but my big breaks came around 6th iirc. I helped move an online community from a hosted bulletin-board provided (ezBoard) to a hosted phpBB instance, and hacked on that code for a while, but was nothing serious. Write a few scraps of PHP here and there before getting into Python, and did web development in that for a while.
Over time, though, I've followed this gradual descent down toward the metal, learning C from K&R (great book) while holding down a Python/ActionScript day job and occupyng myself outside of work learning how to design C APIs and writing a few libraries. The second-to-most-recent position I held involved Python and Ruby at work, and I contributed some code to the Linux kernel in my free time (some USB audio stuff). The position after that was for Linux kernel development and other low-level embedded systems work. I've tried to get into infosec a few times but nothing's panned out.
Currently I'm getting a startup off the ground (surprise, surprise). Desktop software, audio production, lots of real-time DSP, lock/wait-free data structures, some OpenGL...I'm happy as can be.
To answer your questions:
1/ Totally self-taught from books and RTFM. Lots of help from the Internet as well, though I own my fair share of college texts.
2/ I'm 24 now, started learning around 2001 I think (when I was about 11).
3/ Got my first development gig at 17.
2) Five or six. My mother owned a ZX spectrum - this would be around '93 '94 - and she had a bunch of old magazines that had programs in them, so I started typing them in. I'd also done some programming on a BBC before this - but that was with my mother's urging so not really a self-taught thing.
3) I was 16 when I sold my first program to a shop I did some volunteer work at. It was a simple thing that just did ranked correlation coefficients to arbitrary sets of data so that they could keep track of what their KPIs were telling them.
More substantially, I did it after uni. Graduated with a philosophy degree, which was the subject I found least objectionable, and found myself largely unemployable in any other line of work.
2) 2002
3) 2009, although if I didn't do three years of university it would have been sooner.
EDIT:
[0] I think university is also good for life experience, and I still think it holds true that most companies (even non super-mega-corp) prefer people to have degrees.
My first professional programming job was when I was about 22, writing C on Unix, then I moved into C# at about 24-25 and have been doing that ever since.
I've had no formal training (that I can think of anyway!) but mainly learned through a combination of intense fascination and a desire to improve my skills for professional advancement.
Started again properly about a year and a half ago when I began college (I'm 20 now - and I'm doing a Business Management degree), and haven't looked back since. You are right in saying that StackOverflow has literally changed the many people learn code because of how vast its library now is (for iPhone especially). Never had any formal education whatsoever — I've only ever read one book (http://www.apress.com/9781430236023), which was a complete beginner's guide. Everything else has been online tutorials (make sure you do your research and corroborate information on which blogs/sites are best to learn from for your chosen language), and Apple's amazing documentation.
As I am still in college, most of my projects are 'side'-projects, but with each iteration they're getting stronger. Collaborated with an SME to make an educational app and now have a contractual and in-house app lined up before Christmas. It's difficult to freelance like this, but the funding (loan) that comes with going to college means that I haven't needed to find a 'proper' job yet.
Never give up trying to learn, if you enjoy doing it. If you don't enjoy it, don't try to learn it past the point of caring. I constantly felt an 'impostor' syndrome-like feeling when working for the first company I worked with, but in reality, consistent hard work for at least a year will put you ahead of most average outsourcing operations for basic stuff. Try and validate your learning, too — keep a blog and constantly ask questions, either on SO or your language's forum of choice. A milestone for me was when I was accepted on student scholarship to attend WWDC this summer. Take it from me, you can achieve something similar if you make sure you don't slack!
I wish you the best of luck.
Along the way, there were forums like FxZone (of Eyeball-design), which closed unfortunately, and a myriad of other tutorial sites, forums, communities (most of which had closed... what's up with that?) and finally landing on sites like CSS Zen Garden which introduced a whole new world of front end concepts.
While turning the forum into VB, I learned there were these things called subroutines or 'functions' that broke problems down to incremental chunks and got reused a lot (you can reuse code?! Why, yes) and then I learned about these things called 'databases' where you can search for things. Finally, no more text files for storage!
My dinky little router was rubbish, so I took an old PC and turned it into a router/gateway and that lead me to learn about networking.
I wanted it to be accessible from the web, so I had to learn about DNS.
Everything I learned allowed me to turn that forum into a continual learning experience where I slowly turned a script into an application and later platform.
So basically, one project turned into a learning thing and the learning thing became a goal in itself. That brought in some jobs that allowed me to learn and train on the job.
In a way, this sort of hodgepodge learning turned out to be a good thing, because I've had to touch on hardware, networking, DBA, programming. So a whole spectrum of problem solving that I doubt I would have had a chance to work on.
The most (pleasantly)frightening thing about learning is how quickly you realize how much more there is to learn. It's like firing a gun while riding atop a rocket and then trying to catch the bullet. Your goal will always going to be ahead of you.
1. Self taught from internet resources and experiments. I still remember stuffing my 128MB flash drive with HTML pages so that I can read them at home. Originally got into programming to cheat in some games. Started with making trainers/ memory editing and bot for MMOs.
2. 3rd year of middle school. Around 2005, I think. Accessed the internet for the first time.
3. Not yet. but I have been trying to learn more about the topic ever since I realize whats possible with it, and my decision to learn more seriously about programming led me to taking CS degree in college.
I started programming when I was studying for a PhD (in mathematics) around 2006-07. I was 23 at the time. That was mainly in Matlab and Fortran. My code from those 3-4 years is, frankly, pretty horrifying.
When I got my first job in industry (quant at an investment bank in 2010) I had to learn Java, and a language called Q[0], which is a very fast array-processing language with a functional feel and a built-in query language for the KDB database. I also picked up a little bit of R, mainly because I was building a lot of statistical models and it was far easier than doing it in Java.
That piqued my interest in functional programming, and I subsequently learnt Haskell using the book Learn You A Haskell[1]. I picked up Python around the same time when I was trying to write a web scraper, and finding it painful in any of the languages that I currently knew. For that I used Learn Python The Hard Way[2].
When I started a new job in 2011 I started writing Matlab again, causing me to finally learn it properly. Around that time I decided to try and learn a low-level language, so I picked C, mainly because there was an interesting edX course [3] that I wanted to try (the Harvard course CS50).
I'm at a weird in-between stage now. I can write comfortably in half a dozen languages, but there's a whole swathe of programming that is completely alien to me (web design, networking, and any kind of formal software architecture). I've written a lot of heavily numerical and mathematical code, but never written a CRUD app or a web page. I still don't know Javascript.
[0] http://en.wikipedia.org/wiki/Q_(programming_language_from_Kx...
[1] http://learnyouahaskell.com/
I tend to be a bit suspicious of people who've "been on a course" (short of having done a CS degree), since those people when I've worked with them often don't seem able to think like a developer, let alone write code.
Although computers were simpler back then, learning to code was difficult as my main resource was computer magazines. I couldn't afford many books and had no access to any programming communities or academic culture. It wasn't until I got online in the late nineties that I was able to really flourish as a programmer. I feel a lot of regret about this as I believe I could have made it into game development in the Amiga era as a teen, if I'd had enough resources and confidence. I also had trouble keeping my computer up to date as I couldn't afford it. All this slowed me down.
Coming from a working class uk background, university wasn't even mentioned to me at school (unbelievable, right? The anger I have towards the education system is almost limitless), so I always focused on self-education as my way ahead.
Some people think that self-taught coders are lacking in terms of computer science theory, but that's ridiculous when anyone can download SICP and similar books. I've met plenty of CS graduates who slept through their algorithms class.
Meanwhile, in addition to the aforementioned languages, I've coded professionally (as in I've delivered code and gotten paid for it) in Ruby, Perl, Rexx, Bash/Bourne shell scripting, Python, PowerShell, VBA, QBasic, C#, XQuery, Fortran 66, Fortran 77, Fortran 9x, SQL (various forms), Javascript, ECMAScript, CoffeeScript, Cobol, FoxPro, SPARC assembly, x86 assembly, Java, LISP, Sed/Awk, ColdFusion, Curl, Objective C, and PHP. I've also tinkered around with (as in I have not gotten paid for it) Scratch, Boo, Groovy, F#, Haskell, J#, and Scala. I'm not sure if these are exhaustive lists.
If you aren't an autodidact, either you won't last long as a software developer (i.e. you'll get promoted to management) or you will get stuck working on legacy code. If you want to remain employed as a software developer, you need to keep learning, to keep that fire burning that got you started with programming.
Now, for the answers to your explicit questions.
1) I learned to code by teaching myself on an Apple ][ (predating the ][+ and ][e) with Basic. I then read cover-to-cover a Pascal book for several years before I had a Pascal compiler. I credit this (reading the Pascal book) with my ability to read textbooks and learn from them, even if I don't apply the ideas right away. Very often, there was no FM to read, so much of my learning is through experimentation. A combination of tinkering (i.e. applying the ideas), book learning, and a high tolerance for frustration...
2) I started learning in 1979. I was not yet a teenager. Our school bought an Apple ][, and nobody knew how to use it. They turned over 2 of the "bright" kids to it, and I ended up teaching programming to the person that would become the computer programming teacher.
3) I started working professionally as a programmer while in high school. I ended up consulting in university--it ended up paying my way through school.
Switched to Turbo Pascal (and to Tasm) in school, when I was in 6th grade (11 y.o.), after "inventing" bubble sort. By that time we were hacking good old computer games to get infinite lives and money. Primary role of my C.S. teacher by that time was to give me computer time and employ in school as part-time computer classes technician when I was 14.
When our class was 16, we were told that there is new cool language for web, called Java and we will have an exam on it by the end of the year. We happily dove into it. Our teachers were learning it together with us (they also were setting up Linux for the first time, but I and my friends were too busy playing funny game of hacking/counter-hacking the admin passwords to the Novell network we had in our school).
When I was 17, I graduated from school and moved to Moscow to study quantum physics and electronics in MIPT, but it was quite busy time to survive (1998), so I learned HTML and started developing web sites for money for beer. Few years later I've got my first full-time job as Java developer and from that time I've never gave up a hobby that one day had become my profession.
Forgot to note, that I was learning by books, not from Internet. When I was a MIPT student, my spending on books could be up to 50% of my income ($400/month or so).
In 1988 after a back injury knocked me out of construction work, I started with 16bit intel assembly language on an old XT. I was guided by listings from Byte and Dr. Dobbs magazine and the fine folks on FidoNet and RIME/Relaynet. I eventually learned C, tried qbasic and turbo pascal and eventually settled on C++.
I was initially driven by the desire to write a game similar to the first NES Zelda game, but for multiple people. I got it somewhat working so 2 computers could play with stick figures over a serial or parallel cable. My lack or art skills torpedoed it, but... It was what kept the fire burning for almost 2 years.
I eventually learned Perl (to help out a friend of a friend with his business web site), Python (again for a FoaF), Rexx, shell scripting, awk and a few others that coincided with a move to Linux in the late 90s when OS/2 died. The draw of games kept me in Windows machines from 3.0 to Win7...
If not for Joseph Carnage, Jerry Coffin, Bob Stout, Doug Azzarito and the others on the BBSs, I would not be what I am today. Almost all gave their time selflessly in helping me learn to think and function as a professional programmer.
25ish years later, I'm still doing things in Python and C++ and trying to wrap my head around Haskell along with various and sundry things that fall in my lap and need doing. :)
1) How did you learn to code? Totally self taught from books and RTFM // Self taught plus MOOCs or comparable resources // Some classes in college but no CS degree, remainder self-taught // Self taught plus a developer bootcamp or some non-degree related formal education // CS degree and personal efforts
Unfortunately I never worked in any company so had to learn all the coding by myself and I strongly feels, if you want to be a good developer, you should work in a company and on real world applications with people who knows more than you which speeds up the learning. Though I am working full time on my own marketing product, if given a change, I would love to work part time in any company for free. There are few things which you can never learn from books and tutorial videos
2) When did you start learning (perhaps informative because of the recent rise of MOOCs)?
I do have a computer science degree from a reputed engineering college but I learnt nothing there, though I do have exposure towards programming for 10 years, I only started building real world apps in last 12 months.
3) At what point (if yet) did you start working as a programmer professionally relative to your initial efforts?
last 12 months, I am learning and writing code in parallel.
I taught myself Objective-C in the 6th grade after I bought my first laptop with money I made from doing contract web development work for local businesses. I made a few simple iPhone apps and and started to appreciate the beauty more than before.
In the 8th grade I started to find school severely lacking and enrolled as a computer science major at a local community college. The courses weren't great, but I learned how to get through a textbook, which I've learned to appreciate.
I got my first proper job at a small (3 person) startup when I was 15. I'm still at this job and have loved every moment of it. We're set to ship our first product sometime next week.
Answers to your specific questions:
* How did you learn to code?
Coding, running into an issue, fixing it, repeat. Books. MIT OpenCourseWare. Community college. And some MOOCs.
* When did you start learning?
Back in the 3rd grade, when I was 7.
* At what point did you start working professionally?
I started doing contract work in either the 4th or 5th grade. Got my first full-time job at 15.
Early 80's: TRS-80 / Apple / C64 BASIC, Z-80, and 6502 assembly-language via books and the wealth of magazines available.
Mid 80's: Turbo Pascal via a local CP/M community and a couple of books. I did take an introductory Pascal class.
Mid/late 80's: C, 80x86 assembly-language, and AWK from books and magazines and by necessity at my job.
90's: C++, SQL, Perl, Java, JavaScript HTML, and many other "learned as needed" languages in the profession. I used Delphi, C, Perl, and TCL for various side-projects.
I work primarily in Java, JavaScript, HTML. As a hobby, I like to tinker with Lua, Clojure, Erlang, and Go. While I still buy books, I depend more on the Internet community for more timely information and for code reviews and such. Publishing code for all to see via a blog or Github is a great way to invite constructive criticism and to learn the philosphy ( and not just the syntax ) of a particular programming language discipline.
Beyond coding I picked up development strategies ... version-control, team coding strategies, testing methodologies, ...etc. initially from the job, supplemented by reading material.
2) I was 15 when I started learning basic in 1980.
3) I was 21 when I got my first full-time programming job, but it was unrelated to my self-taught skills, at the time. I had taken vocational training in IBM mainframe ( COBOL, Assembler ) technologies and worked in those for about a year-and-a-half before I moved onto a new-to-the-company MS-DOS team ( programming initially in C ).
A gradually got better, and in the mid 90s as a teenagers I taught myself Assembly language, again from books and magazines.
And then as an Adult starting about 8 years ago, I started learning C, from a couple of books and lots of websites.
2) As I said, when I was 8
3) 10 years later, on and off (but often in a setting where I had job X and rolled into doing all IT around it up) until I became a scientific programmer 4 years ago (after quitting my Phd in Neuroscience, but that is another story) and started working as a self employed app developer in mHealth last January.
) Edit: PS: I think I outpaced my dad very soon, so most of that was all by meself. I especially remember a 1400+ pages book (in Dutch called 'PC Intern 4') that I borrowed many times from the local library - and given the topic it wasn't really surprising that it was always available: it went into PC hardware programming as detailed as possible, specifying all int 21h calls, explaining how to program the 16 bit Soundblaster and write stuff immediately to the VGA video memory.PPS: I've teached myself programming in GW-Basic, Q-Basic, Asic (which was mainly Basic but had a compiler, WOW!), Assambly, Pascal (inline ASM, WOW!), C (Dos 4GW, WOW!), Java, PHP, JavaScript, Perl, Objective-C. I also did Prolog at the University. And I've done a bit of scripting left and right in Ruby as well.
I took a computer science course in high school and learnt Pascal. I wrote a dinghy sailing (racing) management program when I was 17. I created a windows style GUI using ACSII codes. It worked quite well.
I went to university and was taught C++. I hated it. I wrote some C and Delphi during that time as well. By the end of university I wanted nothing to do with computers. For me, Computer Science in university was a disaster.
I took two years away from computers and worked in a completely different vertical. A friend got me interested in computers and programming again and I got bitten by the bug again.
I learnt some HTML and then got a job at a web agency as a junior trainee. I learnt ASP scripting and SQL. From there I went to work for a big computer company working on their online presence.
From there I bootstrapped my own web development agency (which died) and I've been freelancing ever since.
When ASP.NET came out I taught myself C#. Soon after Ajax became "the thing" so I learnt JavaScript.
Sometimes I have to hack around PHP, Python or Java. I sometimes think I should make the jump to Node or Rails, but all of my industry contacts are tied to Microsoft technologies. For the moment I will stay where the work is, and if it dries up then I'll learn something new.
Moocs can be a better introduction to programming than mere books, but I haven't seen any evidence on how successful MOOCs are at teaching programming.
1,2) Me and a cousin started out making games in Macromedia Flash when i was little kid, Probably when i was 8 or 9. At first it was only copy pasted code and/or keyframing stuff. After i Studied BASIC in 9th grade, got a little more confident and started playing around with ActionScript more. By the 11th grade I was making pretty cool stuff programatically in Flash 5 (or i think was MX by then) I made a lot of game physics and game AI and stuff. In freshmen year in college, i got introduced to C and later C++ and just took off from there, learning mostly by doing, making harder programs etc. Competed in a lot of national level Programming Competitions and won.
3) Recently graduated with a CS major and working at a big software solutions firm, working on enterprise level software for insurance companies.
Btw, i think people should really take up CS in college. While you can learn programming and a ton of languages on your own, there is a lot of timeless theoretical stuff that is best learned in class. Oh and also Software Engineering stuff like "Object Oriented Analysis and Design" or "Requirements Engineering" or "Design Patterns". That stuff comes in handy a lot!
I think it is as self-taught as, say, carpentry, or playing an instrument.
That is to say, it is certainly possible to be excellent at what you do by putting in the hours, and you don't need anyone to achieve that, but it is wrong to think that only you can teach yourself. Learning from others can definitely accelerate your development.
Of course, the reality of learning is very complex. It's always about engagement. For a teaching situation to function, there has to be a genuine engagement between the teacher and the student.
In cases where students are, for whatever reason, very highly motivated, the "lecture" style of teaching might work. A sign of a functioning lecture would be that students ask relevant questions. This has not been the case in most of my university experience, where students mostly take notes of whatever is written on the blackboard, drink coffee, and ask things like "is this going to be on the exam?"
It's interesting to think about the prospect of teaching carpentry through books, lectures, and online courses. Maybe it's possible. But I think simply having access to an environment of practice and active people to ask for help is the biggest factor. Hands-on help with an actual task at hand plus lots of individual experimentation.
Most of my basic programming knowledge came from PHP manual and the comments within.
Since then, a lot of my knowledge just comes from experience.. you learn by doing, something has gone wrong - Google it. Now that I'm working, when I'm desperate, I have peers to bother too, but prefer working it out myself.
2) 1999 at the age of 12 - that was just HTML/CSS at the time, got into PHP within a year or so, then more advanced JS / node.js / Ruby in the last 3 years of working professionally.
3) Got my first job not long after finishing University - 2010
I discovered Javascript when I started poking around the source of the Mozilla Suite (which eventually became Firefox). I learned Scheme from watching Abelson and Sussman lecture from SICP. Learned some Erlang at some point, etc, etc.
I started all of this when I was 9 or 10. I started programming professionally after I discovered Javascript, which was my first year of college.
Volunteered at internet cafes, so I could use their machines at night and learn html/css/js via the web (no software required). Started a web dev business soon after and ran that for 5 years before coming to the US. There was no school for this kind of stuff anywhere nearby and I was too young to go to college in my country so there you have it. I got my CS degree in the US years later.
In reality most CS programs can't teach you even a quarter of what you need to know to be a great developer. Tech moves too fast to be teachable. The best just learn faster, and dig deeper than the rest on their own via web communities, head-to-wall action, and resources available to everyone.
After that it was mostly self-learning, specially reading other's people code (back then, CD-ROM included in magazines were gold). During my time at the university (CS degree) I learnt interesting things, but I think it was equivalent to reading good code.
My professional career started when I was 19 I think, just after my first year in university. So that was 6 years after starting programming, but to be fair I didn't have a "proper" computer until I was 18 (before that I did mainly gwbasic and cobol because my 80188-compatible PC didn't have HDD and I had to swap diskettes three times to compile a C program).
After I bought my first "modern" PC, it was like each month was equivalent to a year of learning compared to my previous experience. Something like that happened again when I got Internet connection at home, circa 1998.
2/Grew up in the countryside, without access to computers. So I'm a late bloomer: I started programming around my 20, while doing a degree in biology. Enjoyed it so much that I first thought about doing a mixed cursus, then completely put aside my degree.
3/Started to program professionally 4/5 years after having written my first line of code (did some short internships and some programming for friends before that, but I consider it to be professional programming only from the point when I joined a company).
I've now been working for three years, still learning in the background to grab a maximum amount of software engineer and CS skills. Been promoted recently to team lead.
Later my parents got a 486 and I got into the wide world of DOS/W3.11 gaming.
In high school I learned how to build computers and install linux. I bought C++ Primer Plus but I never made it past Chapter 4 or so. C++ was way too complex for me. I drifted away from programming.
When I was about 27, I got a job as an entry level Linux sysadmin and built all sorts of systems. I touched a lot of code and changed and wrote all kinds of scripts, rekindling my interest in programming. After I got canned, I ditched administration and poured my efforts into web development.
I impressed a web design freelancer enough to get him to use me on his bigger projects. We were going to start a business together but I got cold feet and pulled out. I've been bouncing around different web development jobs ever since.
I don't see much value in Computer Science and don't personally value such degrees very much. It might become useful to me at some point but every time I start to look at CS course work, my eyes glaze over and I want to just go build something. So much of it seems to just boil down to "be careful what you put in your loops".
What's going to get you jobs is being able to do stuff. Knowledge is secondary to action. Get out and do stuff. What's going to allow you to retain your sanity is knowing how to do stuff without adding unnecessary complexity. So go over every project and do a post-mortem, buying books to shore up your understanding.
You don't need someone to teach you how to program. You just need the drive to teach yourself.
In junior high, I got involved in modeming and wrote a BBS for my Atari 130XE in Turbo Basic XL. When I got an Atari ST, I released my first public domain program, a VT52 "animation" editor, compiled from GFA Basic.
Afraid of the social stigma of being too involved with computers, I gave up programming for the rest of my teens, only picking it up again in my last years at college, when my curiosity about the expanding Internet led me to explore MUSHes, MOOs and HTML.
I found a job building static intranet pages from technical documentation and learned the basics of JavaScript, although at the time, it wasn't useful for much beyond client-side form validation.
Then I got a customer service job at a rising e-commerce site and began hitting the books in earnest, learning UNIX shell programming, regular expressions, Perl and SQL. I started writing command-line tools and CGI scripts and moved over from customer technical support to working on the customer service toolkit.
I hit a kind of plateau, though I didn't realize it at the time. Though I continued to crank out scripts, my efforts to become effective in compiled languages such as C and Java stalled repeatedly.
Eventually, largely through exposure to the work of experienced developers, I began to understand principles of computer science as well as practices of large-scale software design. As I became comfortable with a greater degree of abstraction, I branched out from reading books on specific programming languages to reading up on broadly applicable concepts and practices. I've been working in software for over 15 years, and I continue to read avidly.
I also found coding meetups in my city and bothered my friends who were professional developers with lots of questions. My friend at Berkeley in particular is definitely owed a few beers...
[edit] One of the most important things about the 'how' of learning to code is finding out that you enjoy it. If you don't have the gumption to put in late nights to fix things or study after your day job in the evening, then you won't see it through.
2. July 2012.
3. I did some freelance work from about six months in, but got a full-time job in June of this year.
It wasn't long before I discovered the internet and started breaking things on AOL. It was almost all exploration, with a bit of RTFM and IRC thrown in.
I ended up going to school for CS but that what nothing more than a formality to land a west coast tech company job.
I'm not convinced there's any way to cheat this process. I think you just need to have an insatiable curiosity, seriously intrinsic motivation, and 10,000 hours.
For me, it happened in two phases.
When I was 14 or some years old, we did not have a computer at home, so the only way I could play with one was to participate in our science fair and work with one. I participated to make a static HTML website that year. I knew nothing about it, so I got a book and learned basic HTML from it and made one. I liked doing that so much so I kept on doing that for 3 years.
Then I picked up some Visual Basic, because I could build some "cool" UI components with that.
Mind you, till here I hadn't taken "official" CS classes.
But then I joined college for CS and hated every bit of it, as most of it was out of touch from reality (maybe specific to my university) so I changed my major to Computer Engineering and then learned programming in this "second phase" on my own while developing projects.
So far that is the best way I know how to actually learn programming. Try to solve a problem. And ask people if you get stuck on something. You will feel like shit every day for awhile, but that would make you a better programmer and a person.
Just learn basic syntax of a programming language. In my second phase I did that with Python (for APIs) and Obj C (for iOS).
Just learned the basic syntax and then mostly relied on the developer documentation (please get used to reading those, that is the best way to stay upto date with any changes that happen in the future). Also, stackoverflow. But only use stackoverflow if you cannot figure it out for days. Try working on it on your own first. mostly things have solutions online. try searching.
But most importantly, build. Build and solve problems. That is the most rewarding and effective way. It would make you a better problem solver.
I hope that helped!
2) Around 12.
3) 19
I first started to hack around on Linux, which progressively moved me to code stuff to hack around.
I've started working at 17 as a system administrator (at an hosting company then a startup), when it occurred to me that most SA work can be automated or controlled by code (I sometimes like to say that system administrators are the result of a code error), so I decided to became more a programmer than a SA around nineteen.
Before that I'd have developed a lot but just personal projects or sysadmin needs.
Since that i've worked in a couple of agencies, done some freelance stuff, and joined two years ago a startup with some ex-colleagues.
I've kept doing sysadmins tasks, perfecting my knowledges and learned new stuff like JavaScript & client side frameworks. I really love my sysadmins skills because I think they make me a better dev, as i'm able to understand how my code will run on the servers and the different complications.
A lot of those people simply never get any external validation, have problems getting along with other people, and are unable to accept any kind of mentoring (while they desperately need it), in the end growing up believing in the greatness of their skills which in reality are not even mediocre. Since this seems to be the reason a large fraction of people does not finish their degrees, by this point as a recruiter I would just not hire a person without a degree.
For this reason, I would also ignore a lot of the testimonies that invariably will appear here of self-taught programmers proclaiming supposedly doing great, unless they have projects and code to back their claims up.
There certainly are exceptions, but do not start with the belief you will be one. Getting the same kind of wide perspective you get from a college degree from self-studying is several times as hard. I have self-studied mathematics after finishing my CS degree for a few years now and that's my practical experience. If you don't have the possibility to attend university, make sure to get as many opportunities as possible of verifying and testing your skills in different areas and stay modest.
This post by Notch of Minecraft fame illustrates all that I have said very well:
http://notch.tumblr.com/post/15782716917/coding-skill-and-th...
As far as practical advice goes, as soon as you are able to at all write working programs of non-trivial complexity (say, a platform game) MIT OCW is the place to be:
http://ocw.mit.edu/courses/electrical-engineering-and-comput...
http://ocw.mit.edu/courses/electrical-engineering-and-comput...
http://ocw.mit.edu/courses/electrical-engineering-and-comput...
http://ocw.mit.edu/courses/electrical-engineering-and-comput...
Taking those four courses in this order will provide a great basis, but I would be surprised if someone would be able to complete those in less than two years when self studying (I solved most exercises from SICP, learned a lot, but took me more than a year). To get the equivalent of a university degree, you would still need to heavily study at least four more topics: networking & security, compilers, operating systems and databases. Those two books might be a reasonable shortcut to learn some of this:
http://www.amazon.com/Programming-Language-Pragmatics-Third-...
http://www.amazon.com/Programming-Language-Pragmatics-Third-...
Source: I started working full-time as a developer when I was 19 and did it ever since, did a four year CS degree as evening studies after work (already having significant programming experience when starting the degree) and spent a significant amount of time self-studying (I worked through almost all of SICP, read the "Dragon Book", wrote a compiler etc.). I would never be where I am today (wherever it is) without teachers and colleagues from the university, there would be just lots and lots of gaps in my knowledge I would never get aware of.
While the variability of self-taught is higher than those with a CS degree, there are plenty of self-taught (without CS degree) software engineers who rise to the top of hard core software engineering companies (e.g. Microsoft, Facebook, VMware etc.), besides high-profile college drop-outs like Bill Gates and Mark Zuckerberg.
I suspect that your recruiter position expose you to lower than average quality candidates, as most good engineers never needed a recruiter -- they are simply referred by their friends and colleagues.
I am not sure if Mark Zuckerberg can be described as self taught,especially if you consider his high school's CS curriculum.
http://www.exeter.edu/documents/COI/COI_Final_2013_14.pdf#pa...
I also see myself being in more management of programmers at sometime. It's pretty rare for me to trivialization a solution process. I've done it, but so has everyone. Making mistakes is the learning process.
2) Actually I don't remember precisely. I was doing something like programming when I was mid-high school student. It was just beside me always. But that was just a 'script for fun' level with Visual Basic. I restarted real programming at 2007 with AS3.0 and C#. And now it finally became C/C++/Objective-C.
3) I have a B.A. degree in computer graphics design major. Programming job gave me real opportunity to make money. And actually I paid a lot more by programming stuffs when I was student. Also this fits to me a lot more than graphics design.
At the core of my learning was always a desire – that I wanted to build this thing, and rest was the details that I figured out from the internet and MSDN CDs (yes, that used to be my primary and definitive source during initial years of learning.)
In my experience, when I'm passionate about building something, I do not need to motivate myself to learn the details.
Edit: Finally I also did post graduation in CS to cover the gaps of CS fundamentals. Degree is also essential for getting a job at reputed companies which usually have it as the first filter to auto-reject candidates.
Later on, when I was 16/17 I started tinkering again after the fascinating revelation that any piece of code running in my windows machine used a common set of APIs and that I could read/change the code if I just learnt x86 assembly. So I did.
It was probably a combination of books, one-off university lectures I would skip high school for, internet tutorials and surrounding myself with other likeminded people online.
I've rarely felt that the lack of formal education is holding me back. The only time I remember was when I was getting into data science, but research papers are available online for free and books / lectures on youtube bridge the gap quickly.
Plus I imagine the typical university graduate has to go through the same process anyway.
Years later, I enrolled CS. But 90% of what I learned was at home with a 286 that another friend lent me. Materials: books from the university library and technical manuals for the languages. TurboPascal manual was excellent.
I guess they're outdated to recommend, but my favourites were Pascal and Data Structures by Dale & Lilly and File Structures: A Conceptual Toolkit by Michael J. Folk & Bill Zoellick. I wrote a B-Tree implementation that put Clipper's to shame.
When Delphi was released (95), I bought it, binge-read the manuals and did several personal projects. The rest, at work, facing difficult problems, reading a lot, consulting online forums... and specially answering others' questions.
I moved from Atari BASIC to Turbo Basic (superset of functionality and much faster) , to ACTION (compiled language, high level but translating very straightforwardly to machine language), then 6502 assembler. Then Kyan Pascal just to play with. The I got PC (age 16 or so). So Turbo Pascal, Delphi, Borland C++ Builder. Then I stared learning for my master degree and computer science. Most formative experience during college was building sample app in PHP with two teammates. I ended up doing mostly this for profit during last year of college and ever since (I don't always use PHP). During college I picked up Java and C#. Since then I picked up Python and Ruby.
I progressed on to HTML and JavaScript in my early teens, learned mostly from websites. Naturally that progressed on to PHP/MySQL, and now I mostly do Ruby.
I did do a CS degree (Computer Games Development) which taught me some C++ and Assembler, but most of that was learning in my own time, and a lot of it felt like applying what I already knew onto different technologies.
After Uni I started freelancing, and 5 years on I'm still doing it :)
I think like you say no one is really "self-taught", and I think it is mostly down to how you like to learn. I've always preferred to teach my self things, it's how I learned to play instruments, as well as recording and music production. I've just never really got on being taught by others.
I have been at this for over 45 years as a cross-disciplinary hardware and software designer ever since. Still techie, at 66 years old, still nicely gainfully employed, still young at heart (if with a few creaky bits now:). Still mostly self taught, still inventing stuff that did not exist before. Yes, along the way for my own satisfaction I got the B. Sc and most of an M. Sc, but neither were required by my employers. Also, as somebody already mentioned, I have been recruited to every change in my career, or founded start-ups (with funding based on my design abilities), by people who knew me. Other than that first chance, I have never got a job by submitting a resume. And even that first job was by referral from an interviewer for a different job, after we had chatted for a while. Every change always started with my phone ringing.
I do not attribute this career to inborn talent, although I certainly turned out to have some. I attribute it to wide eyed curiosity and a perpetual feeling of "what? you want to actually _pay_ me to do this?", and its concomitant continuous learning and inventing. And to nobody telling me what I wanted to do was impossible.
2) I started around 12 years old; began with HTML trying to replicate websites I liked, then Visual Basic, then to PHP/JavaScript, then to Java, then to C++, back to Java when Android came around in 2009. With competence in countless other languages along the way.
3) I freelanced with PHP from I was ~15, just tiny projects.
I made money writing bots for RuneScape (in Java) when I was 15.
I went to school for Physics, (age 18), no programming involved.
I published my own (paid, successful) games to Android when it was first around, in 2009 (age 19). I freelanced in Android projects at the same time.
I got a job offer from my main freelancing client a few months before graduating (age 21), and moved to the US. I'm still working for the same company, as the Lead Developer, and things are going great (age 24).
When the BASIC started to feel too slow and limited I switched to C. I never really learned the language "formally", my original code was filled with GOTOs and local variables (I was coming from BASIC after all). Then with practice it gradually improved. I still fondly remember the "wow" moment when I understood the point of function-local (stack allocated, but back then I didn't know what the stack was...) vars.
Now I write low level C code for embedded systems for a living.
2) Started around the time I turned 12 years old, so June 2006.
3) I started making money in varying ways almost right away. I took over the site and installed Google ads within a few months. I probably started doing freelance within a year. My first full-time job was this past April doing an internship after first year university.
2. Read my first programming book when I was 15, on ASP of all things but I had been learning HTML on my own prior to that, following tutorials online. My school also offered a short course on Turbo Pascal.
3. Got my first job as a Flash programmer when I was 18 and I'm soon turning 27, employed as a Full Stack Developer (don't hate) without having a CS degree. I do have a bachelors degree in Media but it's essentially worthless and has nothing to do with my work.
The original idea was learn to repair computers and do networks.
Unfortunately, in the moment of inscription was no more seats. The only ones was for "programing". What is that? "Something similar" they say. I apply (I have 14 years, the tech school was owned by my uncle, so that is why I can do it ;)).
I was there 2 years. Amazing good teacher. Learn to do a single project, FULL project, with forms, reports, database, etc (foxpro).
After that, I lear by myself delphi, python, .net, sql. Still do that.
BTW I enter to the university. In full contrast the quality of teaching was terrible. I give some classes as student!
For example when I note the teacher don't know about OO in exchange to NOT BE in the class --I was working and studying-- I do that parts at the end.
It started with a book named "Basic para niños" (BASIC for Kids,) which as you may guess, taught me some BASIC when I was 8 years old. Then a few years later I learnt some basic Pascal (I don't remember where from, it may have been a class in my school, when I was around 11 or 12.) Then I taught me some assembler from a book (around 15) and Visual Basic (and Visual Basic for Applications) around that time, too. I didn't learn anything new until 17 when I started with Lisp and a little later, Python. Then in my university I was taught C (which I complemented by reading TFM, i.e. the K&R book.) After that I've learnt on my own many more languages, up to a certain fluency. The list of things I can at least write a "hello world" (actually if I have learnt it I can write something larger once I get back into the language structure, because every language I learn is for "something") includes Basic, Pascal (well, actually I don't remember much about Pascal,) C, Lisp (that's Common Lisp mainly, and quite a lot of Emacs Lisp... I can write Scheme, but somehow I never got really into the deeper parts of it that make it "Scheme",) Prolog, Forth, Go, Javascript (that's for the browser and for node.js,) Awk, Bash (heh,) Java (ugh,), octave/Matlab, R, PHP and probably 1 or 2 more I'm forgetting right now. I'm currently writing quite a lot of Go, trying to find some use for J to learn it (it's fg crazy!)
2) When did you start learning (perhaps informative because of the recent rise of MOOCs)?
When I was 7-8, that's (whoah) 23 years ago, in 1990-91, before I even had a computer at home.
3) At what point (if yet) did you start working as a programmer professionally relative to your initial efforts?
I'm not sure when the correct timing is. When I was working as a researcher I wrote quite a lot of code as part of my work, and now even if I write a lot of code for work, my main work is not being a programmer. It took a long time, of course, because I started early and didn't start to do real work until right after college.
Nearly all of my learning happened on the job, as a result of taking on projects involving technologies that I had no clue about when I started and mostly mastered by the time I finished. Pretty much what is now called a "full stack" developer as a result.
2) I started when I was 8 or 9 years old.
3) I started doing freelance on and off when I was 21, and eventually started making more than my part time job. It took about 2 years though before I went full time. I tried to go full time twice but would have to go back to part time work due to both motivation and client issues.
2) I started learning in 1996.
3) I started working professionally (part-time) my Junior year in high school for a dot-com business. I have been moving my way up the chain since then. Now I am a partner at MadGlory building custom large scale web apps and web properties for the gaming industry.
I still learn and read a lot, I have always one course going (most recently on Coursera).
2. Started in the early-mid 80s.
3. Programming's always been a part of my job but not the primary focus. I guess the first time I got paid to do something like it was around '99.
2) I must have been 9 or 10 when I started.
3) I got paid to do some static HTML stuff when I was 16 but I first go paid to do code when I was 20.
Had to check wikipedia for when the machine I had came out, but according to that I must have been 8 years old. Kind of scary, since I have a 6 year old myself now.
Learned a lot by reading the original Wiki, which was like the StackOverflow of its day, though more about concepts than specific problems and solutions:
I started learning c/c++ because I found books lying around and found the compiler installed on my windows 98. I later fiddled with some HTML at school and picked up with CSS & JS to show off cool/pretty things. I tried building small games and php websites until I moved to college where I picked up backend development.
Once I got into college, I started taking up freelance projects as a hobby for extra cash. But a professional job didn't happen until I graduated.
2) In 1972 the community college near me had public accounts available to any person who walked in off the street and said they wanted one. Learned APL from a used textbook.
3) Was working a comm tech at a finance company (also self-taught btw) and started using computers + code I wrote to solve problems at work. Had been coding for fun at home on Apple ][, C/PM and Mac. Figured I could be coding for a living, so left and found work programming. Been doing it professionally since 1987.
2) Reading through these posts makes me feel like I started learning later (15/16).
3) After I landed the internship I effectively dropped out of college and started working as a contractor. I hope to go back one day, but I have too much fun with my day jobs to take a break.
None of this is really programming. Sure there is a bit of going through the motions, but you have all these frameworks supporting you, whether HTML or Rails or whatever, and you fail to get to the heart of the matter.
Far better to get a book like SICP (now freely downloadable) install one of the free Scheme packages out there and struggle through writing all of the code for all of the exercises in that book. It will be tought. You will suffer. And at the end you won't have much to show for it; i.e. no pretty websites. But you will have trained your mind to think the way programmers need to think. And you will also have learned to persist in the face of disappointment and failure because that is what programming is really all about.
Of course, there are more marketable languages like C# and Java and it is definitely worth while to work through exercises from a good book in a similar manner, but you won't get as good an education as someone who pushes through SICP. Those of us who learned programming in an imperative language like Java, are now either in a stagnant rut adding features to big balls of mud that hang like chains around the neck of our employer or else we are slowly pushing our way along the path blazed by SICP.
If you already know a bit of programming in any language, you could also take Functional Programming in Scala followed by Reactive Programming at Coursera. They run these courses a couple of times a year and they are good. SICP is recommended reading for this course even though the language is completely different. True programming is all about mathematics and using it to solve problems in a simple way. You need to understand functions, sets, boolean logic, lambda calculus, algebra, category theory in order to truly excel. Mathematics is something that you build inside your head and something that you can apply to any programming language or platform.
By the way, most CS degrees do not teach this. If you find a school that DOES teach this, then by all means, get the degree if you can afford it. But too many schools leave the real stuff for the Masters and Doctorate level folks. If you self-learn, like I did, then you can do better. But you better be prepared to work real hard because most of the time there is no course to keep you on track. Learn every day without fail and you will get there.
http://en.wikipedia.org/wiki/The_Art_of_Computer_Programming
and
Learning to code was very difficult in those days.
1. There were no free compilers outside of academia.
2. Compilers cost hundreds of dollars
3. Programming books cost $50 each
I used to buy $5 shareware disks that claimed to have compilers and tutorials on them and they never had exactly what was advertised.
In the end I managed to buy a second-hand slightly out-of-date compiler (Turbo-C?). I still seemed to spend any spare cash I had on books.
I was lucky enough to be leant a good C book by a family friend (whoops... Still have it almost 30 years later!!).
But I agree with your overall point that it was much harder to self teach back then. On the flip side however is that now there is so much choice that getting started can be a challenge as there are so many routes to choose!
I, too, learnt assembly mostly because there were a few good free assemblers available.
i coded C64 stuff as a kid. i read the manual, took it from there. then during my teens i did other stuff (mostly party).
when i with 19 i realized that i will be a father shortly after my 20th birthday i decided to get a job (it was 1998). i looked into the newspaper (dead tree with ink on it) and there were a lot demand for "web-designers" (the dot com bubble finally reached europe). i went to a job interview. told them "yeah, i can do it" and that i will start in two weeks. bought a book about HTML and one about webdesign directly after the interview. read the books and "coded" (i know HTML isn't code but at that time it counted) for two weeks, started the job. did the same as before (reading books, "coding") now for good money.
that was the point that i realised, if you read a (good) book about a technical topic - and understand it - you know 99% more abut this topic then anyone else on the planet about it. you are not an expert, no, you still have a very long road to go to become an expert, but well, you are in the top 1%.
then i repeated this pattern: CGI, perl, flash (version 2 i think, or was it 3), PHP 3, ... some years down the road ruby, node.js, coffeescript, clojur, haskell, ....
so what are the three things you need
* motivation (becoming a father and don't have any real
money is in most cases a quite effective motivation)
* a good book (at that time i just chose the next oreily
book, today i would say check out pragprog)
* the will to make sacrifices (no party, no alcohol, no TV,
these are time and motivation black holes)2) About aged 14, after getting my first PC. In the year 2K!
3) Couple years ago I started earning from it, aged ~24.
Between the age of 16 and 22 I primarily worked as an IT technician while programming on ever more ambitious projects on my free time. The most ambitious of then was Zynapse, a VERY Rails-like PHP5 framwork I started in 2006. It had i18n and other things from the start, which Rails didn't gain till years later. I never finished though, so uploaded it to Github as-is 4-5 years ago: https://github.com/jimeh/zynapse
When I was 22 and moving to a new city I decided it was time to get paid for programming. Specially since where I was moving to actually had big companies employing programmers, compared to where I used to live there was no local businesses at all hiring programmers. Hence I probably could have started professionally programming earlier if I had easier access to programming jobs.
The first programming job I got was for a Rails shop, so I spent around 10 days familiarizing myself with both Ruby and Rails before they let me work on any real-world projects.
It's now 5 years later, and I live in a much bigger city (London) in another country, and I'm still programming for a living.
As for how I learned to program, it's all been self-taught based on what the internet has to offer in terms of source code, documentation, blog posts, books, and generally just playing around with things to see how it works, and what's the best way to do something.
I should also note that to this day, I haven't actually finished any of the programming books I've started to read. I always end up skimming through them instead to pick a few really interesting things, and then go back to my general goofing-around-for-fun kinda learning style or whatever it might be called.
But as far as I'm concerned you definitely don't need a CS degree or anything fancy to program for a living. I'm sure it helps a lot if you do, but it's definitely not required. You just need to be curious, interested and have some spare time to learn.
P.S. Sorry for not adhering to the 1, 2, 3 structure of your question, I might have gotten a bit carried away :P
I'm self taught at the moment, about to go to a dev bootcamp to really solidify my understanding of web-centric ideas (most of my stuff has been data crunching). Glad to see that so many people are happy in the field without a CS degree.
I think computer science undergrad degrees are highly overrated. If you weren't already curious about computers as a child and didn't figure things out for yourself, what are you going to get by having your parents pay all this money to attend classes?
I spent time programming because I didn't have a modem. It turns out this was the best thing for me, since I didn't waste my time on BBSes. A friend of mine who had, dropped out of the CS program at Penn State after a digital logic course I loved.
In high school I took a year and a half of Basic and Pascal, but more importantly spent three periods a day in the computer lab exploring every nook and cranny of programs I had to write, programs I wanted to write, and the shell language of the school district's VAX.
Seemed clear to me that I wanted to do computer science, but I switched to computer engineering after that digital logic course. Took college classes in Pascal, C, C++, assembly for microprocessors, common lisp for ai, vhdl for processor design, operating systems, and wire-wrapping a microcontroller system.
Grad school courses in Smalltalk [edit: and computer architecture and petri nets and, most importantly, self-taught makefiles for a class project build system].
After I got out of school I took company courses in Java and Perl, but more importantly taught myself the Unix environment from books, and had opportunities to use it every day at work.
On my own, I read books and did programming exercises in Haskell, Ruby, and Go.
[edit: I dug seriously into make and bash for ten years, writing the build system for a telecom network.]
I have a real passion for functional parallel programming in the Inferno shell, so I'm working on a blue-sky build-tool project. [edit: https://github.com/catenate/credo]
On my job I'm now picking up Python because I have to maintain a build system code base in it.
Overall, I'd say I've probably taught myself more than been taught, but only because I had about 8 years of formal instruction in a programming span of 30 years. The education was essential though, because there were so many concepts I would not have gotten to on my own.
I believe the best way to teach yourself is to solve your own problem or build something you're truly passionate about. You can either do something new or improve something you currently use. This is how I taught myself to code in PHP, although now I can also write applications in Python.
1) books, and working on personal projects to "scratch an itch"; progets grew larger, at some time I started doing it professionally
2) ages ago :)
3) I started as a sysadmin since that's what I self-learned from, programming came later maybe 3-4 years
Reading other replies, I totally forgot to mention I first started programming in Basic on a TI-99 with a tape recorder for storage. :D
My first book was on BASIC, and I had no computer so I wrote out what the computer program and what it'd do in a notebook.
It's been 26 years since, and I'm still going strong.
2) about 8 years ago with rpg maker xp. after that vb 6 and php
3) I left italy and found a developer job.
I built a bunch of personal websites, and sold my first professional website (static HTML) to a local estate agent when I was 15, back in 2000. I charged £300 - around $500 at the time. I worked for them for a couple of years, updating properties etc.
I studied Law at university, but worked on websites for my college, the student paper and various sports teams. I started my first startup when I was 19 - I wrote a lot of bad PHP and inline MySQL queries whenever I needed data in what we now call "views". There was no test suite, no version control and I often made changes straight into production, because I couldn't get a LAMP environment running consistently on my PC. This repeatedly took the site down for hours at a time. This was back in 2004. The bad old days.
I took a break from coding to join a management consultancy for almost 3 years, although I ended up automating a lot of my work in Visual Basic (through Excel), and went on to teach the Excel course to colleagues.
I started my second company at the start of 2011, during an enforced 3-month period of "gardening leave" between two jobs. I decided that I wanted to learn how to code properly, so I bought "Agile Web Development with Rails", published by Pragmatic Programmers, and worked through it in about 3 or 4 days, non-stop. This was an epiphany - web development all started to make sense, and we launched the first version of our site about 2 weeks later. I knew enough Ruby to be dangerous, but probably not enough to get a job as a professional programmer.
As my co-founder was teaching himself HTML & CSS at the time, we didn't really have expertise in-house, so I spent a lot of time on the #rubyonrails channel on freenode - a wonderful place to get help on anything Rails related. Stack Overflow was also very useful.
By March or April of 2011, we'd been accepted onto Y Combinator and hired our first (extremely capable) engineer, who had a CS degree. This spurred me on to become more technically capable, so I just started devouring programming books. I've mostly steered away from the classics (Gang of Four just didn't make sense from a Ruby point-of-view), but there are often more practical, up-to-date equivalents in the language of your choice. "Design Patterns in Ruby" and "Eloquent Ruby", both by Russ Olsen, stand out for me.
Ruby Koans, and then implementing a bunch of common sorting algorithms have kept me keen to keep learning the more theoretical side of stuff. I've had a little more time on my hands recently, so I've divided into open-source software - I'm currently trying to help out with Resque 2.0 (pull request coming soon, I promise!).
I've recently played around with Clojure and Go, but I'm struggling to get into them without a practical project to spur me on.
I'd say I'm now competent enough to have a good shot at getting most Ruby-based development jobs out there, if that was a path I wanted to take. And it only took 14 years!
1) Totally self taught, mostly using the internet only. But at my current level I often read books. 2) Started with HTML when I was 13, ASP at 15 and switched to PHP at 16. 3) When I was 20
Every single reply is "self-taught"!
Why have courses?!!
2) Wrote my first code at 8.
3) Got my first programming job at 16 at the US Air Force Research Laboratory in Rome, NY. I'm pushing 30 now and still going strong.
1) How did I first learn to code? Caveat: I think how I learned is a lot different from how most people learn today. I didn't have the Internet, or even a modem. I lived in a tiny, tiny town (~500 people) in Northern NY (closer to Canada than NYC).
But to answer the question, I picked up a book - the Commodore 64 BASIC Manual if I remember the title correctly. Some friends and I wanted to make a game. I remember my friend's dad telling me that I'd need to learn to Program a computer. I didn't know what that was, but I wanted that game, dammit. He didn't teach me to program (he didn't know how, either), but he did let me rifle around in a box of books he had.
A bit later I switched to coding various nefarious tools for AOL (punters, phishers, crackers, mass mailers, etc) on the Mac (Macfilez/zelifcam, anyone?). Everything was done in this tool called OneClick that forced everything to be fairly open and modifiable, so I learned that by example. Incidentally I stumbled into A/B testing by writing automated 'phishers' on AOL (Anyone got any <M>< ?? Press 666 or IM me to trade <>< !!). Turns out that telling people they won something (like a free month of AOL) is far, far more effective at getting them to pony up their password than telling them AOL was hacked. I know better now, I didn't then. I was 12.
A bit later I switched to a PC running windows 98, and I picked up a pirated copy of VB 3.0. I learned that from a For Dummies book, I believe. I eventually shifted to 5.0, then 6.0, and started learning ASP and web stuff. I did a bit of work here and there for myself and for my school.
Eventually I got lucky and one of the Project Managers at the AFRL offered me a job. The AFRL is really slow to do anything, let alone hiring teenagers to build chem/bio weapons detection systems, so he dumped a bit of extra money into one of his contractors and they hired me. He even worked with my high school so that I could juggle my classes around and get out after a half day. Department of Defense letterhead goes a long way. Eventually the bureaucracy came around and the AFRL offices in Rome modified their internship program to include local high school students. I believe the program is still quite active, and it's been hugely useful for both the kids in the nearby po-dunk towns as well as the AFRL. From my end, it was an amazing experience. I had access to tons of awesome equipment, lots of very enthusiastic and very good mentors, and I got to do real work on a real project that had real users (hard to find in DoD work sometimes, especially when it falls under the 'research' umbrella).
I started formal schooling a year and a half later. My university thankfully placed a lot of emphasis on cross disciplinary collaboration. It is a technical university, and CS was a popular program there. For non-computing degrees (engineering, sciences) CS students were often seen as useful, and quite often other programs required that their students pair up with one of us to be successful on larger projects. As a result I spent a ton of time in my university's marine sciences/engineering department. I ended up working for a professor there building in situ oceanographic sensors. It was there that I really learned the "power" of having a domain, and that computing extends far, far beyond computers.
Today I'm still learning, but it's really just your run-of-the mill on the job type stuff. Occasionally I geek out on a side project when I get excited about some new technology which isn't applicable to my day job. This keeps me sane, and often teaches me things that I can bring back to my day job. It's kind of like an individual-scale space program, and the new tricks I learn are velcro, styrofoam, etc.
The question not asked: How do I think a newcomer should learn? Two big, big things that nobody really mentions: find motivation, and completely ditch the 'this is hard' fear.
On motivation, just give yourself a goal which writing some software will help you attain. For most people who aren't already implicitly motivated by the 'compters are neato!' vibe, this must be a goal which is related to something you already care about.
On fear, I've seen the 'this is hard' assumption/mentality cause sooo many people to quit long before they ever gave it a shot. If it's hard, find something that makes it easy. The best resource is a mentor if you can get one.
Also regarding the 'this is hard' fear/mentality, take up rock climbing if you can. I can't think of an activity more analogous to building and debugging software than trying to figure out a climbing problem. It's hard? Then you're not attacking it from the right angle. In bouldering especially sometimes the difference between hard and stupid easy is whether or not you're stepping on the inside or the outside of your foot.
Don't bother with finding good 'learn to code' resources until you've found motivation and ditched the fear (if you ever had it).
Hope this helps. Contact info is in my profile if you want to get in touch!
2) Around 2008-2009
3) The end of 2009
I successfully applied to a math-specialized high school (remnant of soviet special school system, was rated the best in the city and one of the best in the country at the time). The main thing that I learnt in three years there was that I was not, in fact, really smart — not compared to my classmates, anyway. Definitely not smart enough to be a mathematician. I did MIX emulator as a summer project in Delphi, but afterwards decided not to pursue a programming career, and go into bioengineering/bioinformatics instead.
Fast-forward 8 years. I dropped out of university (apparently, being math/physics geek with no interest in general biology isn't the best background to go into biological field) and became a game designer. Applied for a job, passed the interview and then made a career of constructing virtual worlds, later — social & mobile games with free2play monetization. I worked on some management, producer positions, and even started & failed my own offer-based monetization business in the process. But after a few dozens failed projects (fail rate is pretty high in gaming industry, but especially in this part of it) I kinda burned out and decided to change it again. I never stopped programming, and was following and fooling around with Unity3d engine since 2.6, so it wasn't hard to pass a coding interview in the same company I've been working on before. And here I am — coding for a living in the first time in my life for the last three months.
There's a lot to being a software engineer that programmers don't appreciate enough. I'm only responsible for whatever I myself do and have power over. I have clear goals & tasks. Arguments that I have are a lot more objective and much more rarely rely on "feelings" and estimates. I don't necessarily want to stay a programmer forever, but I learn a lot and I'm much more happier then before. And finally, I'm really surprised of how much I'm worth on the job market — being a software engineer almost feels like some kind of easy cheat code in life for a person with my mindset.
1) a)My middle school (~2000) used to have a computer co-curricular course. I learned some BASIC, some HTML, and made websites/applets that trolled the user (the cancel button that runs away, icons and buttons that didn't do what they said, hidden buttons and urls via formatting, etc). Turns out I studied UX anti-patterns via trolling.
b) When I was 13 (~2002), my brother was studying Computer Science for his Indian CBSE 11th grade concentration. I bugged him incessantly about what he was writing, helped him debug, tried to come up with better ideas and algorithms for what he was writing. He was torn between enjoying teaching me stuff and getting my help, and feeling inferior if I actually came up with a better idea than him. Regardless, he was vital to me becoming as much of a hacker as I am today, because he was an excellent teacher, constantly challenging me and giving me interesting things to think about without making me do mindnumbingly boring tasks. While being taught is not really self-taught, that I seeked to learn it without any external motivating factors and purely out of interest, and I just capitalized on the nearest and most effective resource available to me I think makes it close enough. This is probably the answer to (2), by the way.
c) I followed in my brother's footsteps (2005), but I already knew the material, having been progressing through it on my own in my spare time in the interim. Taking the course just meant I could dedicate that much of my "not free time" to doing something I intended to learn! I skipped most of the homework, got mediocre grades, didn't know the algorithms asked on the exams, but enjoyed being vindicated in sitting in front of the monitor staring at code, making my first Tank game, a hangman game, a file encryption/decryption system, etc, all in C++.
d) I started pursuing a degree in Electrical and Computer Engineering at the hands-on school Olin College in Greater Boston, where I was encouraged to learn to do, and less about theory. This is where I really stopped learning computer science, and really started teaching myself programming. I hated CompSci more with every class, and at some point found myself writing way more code the semesters I had no CompSci credits, because I was enjoying it so much more programming controllers for electromechanical projects to do cool things, than learning how Turing Machines and Regular Expressions flip things on and off.
3) I had no real opportunities to work internships in the Middle East where I grew up, the industry was very young and elitist where it existed there. And I'm glad I didn't get numbed to professional programming work there. I worked as a tools developer for an electrical engineering lab where I also did research for a couple summers. I then went on to work at IBM for an internship (2010) and discovered it was a pit of doom for someone like me who could see it "being pretty alright," but never feel fulfilled being a cog in someone else's machine that I didn't care about. There was nothing wrong with the work, but I'm glad it was just an internship. I made something I was proud of, some bigwigs clapped when I presented it, they shook my hand, asked me questions like they were interested, genuinely made it sound like they would use it in a product at some point (I stopped checking a year ago), and I was on a tiny high in my first professional dev job. I fled from corporate software dev, and now live poverty stricken in the Bay Area making (about 50% of) something really exciting, with people I'm excited to see everyday to work with.
I think at some level anyone who pursues programming to fulfill their dreams is self-taught. School does not teach you how to make the things you really care about making, but it can help you a bit.
Slacker at school, College drop out, in full time employment since the age of 18. Now a multi-skilled contractor at 25. I'm not really a programmer but more of a problem solver. Programming is one of the secondary tools I use, my brain is my primary tool. You don't need formal training to achieve it.
Timeline:
1988: Born
2000: Frontpage
2002: Introduced to VB6
2003: Wrote AOL hacks
2004: PHP, modding computer games
2005: Started building PHP apps, dropped out of (UK) college
2006: Discovered Frameworks and learnt good practices
2007: Got a developer job (PHP)
2008: Got better at my job
2009-2010: Had a few different jobs, diversifying, becoming adaptable, learning new tech
2011: Found confidence
2012: Naturally leading dev teams
2013: Contracting, multi-talented
2014: Who knows2. See 1, more or less. I'd say I -really- started to learn when I built my own website in high school that started bringing in money and still does today. It was a full web application to start and I just kept rebuilding it from scratch as I learned new stuff (object-oriented programming, design patterns, etc).
3. I wouldn't really call myself a professional. I went into bioengineering and medicine, but I still program every day because it runs our current world and will for the foreseeable future. I market myself as a software engineer, but I only accept jobs I find interesting or that pay 6-7 figure salaries.