45 points · by ashley · 16y ago · 89 comments
I'm just starting, but I guess as a girl who majored in the social sciences, I don't have as many friends interested in computers. A very nice person from the Boston Lisp meet-up tipped me off to Felleisen et al. "How to Design Programs", as well as their paper comparing their text to the standard "Structure and Interpretation of Computer Programs."
That was 30 years ago this year, today I design aircraft simulators and automated test systems for aircraft computers. The methodology has never changed: aim high, with a goal you will enjoy a lot.
edit: to your second question, I have this to offer: there's nothing more I wish I had known when I started. I'm actually very glad I didn't consider theoretical questions too early. "Programming" is no different a language than Spanish, Japanese or Russian (maybe a tad more formal). To program you need to learn to give directives to a machine. Designing a system is something else, which uses a completely different skill set, and the entry point to that is being able to talk to the machine.
So my only advice could be: if you really want to be a hard-core computer nerd, stay with "programming" for 7-10 years, then learn (at least at overview level) all the important design principles. You'll then be able to choose according to your personality.
2. It's a lesson I still haven't learned how to follow well, but I've always been more successful just doing things rather than trying to start a large long-term project. I would/still keep getting caught up trying to make a full game or a complete library, and I end up getting caught in planning or setup and never get to the coding part, which is what I actually want to be doing.
I rembmer when I was a kid (9 or 10 years old) my father got me a copy of Turbo Pascal and some books about it. I've been trucking ever since.
As far as the second question goes, I think I'd prefer to be blissfully oblivious. :) That said, I've blackboxed pretty much everything I know outside of Lisp, so I think one of those truths that should be shared with others can be summed up by saying, "Exploration is key. Don't be afraid to take a sledgehammer to the code you're working on. Your future self may end up thanking you for it."
The first job I found was a programming job at a churn and burn consultancy. A couple of months in I was asked to learn Perl. I took that skill to be better job. There I encountered a good programmer who got me started on reading (and incorporating) classics like Code Complete.
Everything else flowed from that.
In my early teens (early 90s), I saved and got a C++ compiler, Borland Turbo C++. Digging into real memory with a debugger was so cool. I wish I'd had a Forth to play with, at that age! Later, I dug into Linux, and all the stuff that came with them. For free! (I'd suggest Python as a first language, nowadays.)
A couple things I wish I'd learned earlier:
1) Learning how to work on codebases with other people takes different skills than solitary stuff. Since I started by working alone as a little kid, I didn't really learn consistent variable naming conventions, how to define interfaces between components, etc. until I was in my late teens and digging into open-source stuff. You may not ever learn these things doing projects that are only a couple pages long. (_The Practice of Programming_ by Kernighan and Pike is a short, lucid book that covers this well, IMHO.)
2) Complexity kills projects. Most things don't need to be large systems, and if you structure a system as a group of communicating components, you can get a prototype (rough draft) of the whole system, see design mistakes early, and then cleanly replace the parts that need it. (I don't think conventional OO works that well for this - as Joe Armstrong observed, everything carries along too much context.) Start simple and don't worry about efficiency until you have to. Brainstorm on paper, if that helps.
3) Write programs for something you're interested in, not just another blog engine or what-have-you. The added motivation in making something to make music, cool 3D animations, etc. will keep you going through the hard parts. Your social science background will give you an angle for interesting projects beyond the ken of most CS students.
Needless to say, that's the wrong way to start now.
Other countries used 2.54 mm pitch heart-to-heart for pins on chips whereas eastblock variations on this were supposedly 2.5 mm.
The difference is small, and for packages up to 16 pins you could probably get away with it bending a bit but for a 40 pin package like a 6502 that would not work (or at least, not easily).
If you have access to a machine like that it would be interesting to know for sure!
They gave us a bunch of wires, a soldering iron, and instructions for making a homemade radio or some such.
As a Freshman, the local Radio Shack had the TRS-80 and I spent all of my time bugging the salesmen as I played games and tried to tweak it. A friend wrote an app and made $800. Eight-hundred bucks! Then our High School got one of the first computers, a Commodore Pet. There was a guy named Roland who always signed up for it, was an arrogant jerk, and generally ticked everybody off, so I wrote a game called "Kill Roland" that became quite the local hit.
Then I wrote my first contract program, a bookkeeping app on an Apple IIe. Then a program for a comic-book store, etc.
After that I went into the Marines, wanting to do "real work". Several times in my young life I tried to swear off computers for other stuff I loved more. Each time, no matter what I was doing, I ended up hacking together solutions. So, for instance, after I got out of the Marines I started into management at Domino's (while taking a full load at the local college). Within a couple of months I had created a series of linked spreadsheets that handled all of the store's paperwork. I clerked at a truck-shop -- ended up writing a dBase III program that handled inventory, maintenance, driver payments, and taxes. (I also found them 100K in overpaid taxes from previous years)
I tried freelance writing. I love writing. Ended up writing a bunch of articles for newspapers and magazines. Wrote some sci-fi even. Got to meet and interview famous people like Clive Barker. But within a couple of months, yet again, I was installing Macs at the local weekly newspaper, filling in for the CIO at a local company, and teaching graphics programs to guys who wrote print ads.
So I finally just gave up and went into consulting. Didn't seem any point trying to fight it any more.
I didn't pick hacking. It picked me.
I did VB, ASP, and dabbled with the .NET framework until I was about 14, which is when I started to get into languages like Java and C.
After studying Java for a couple years, I started learning about buffer overflows and shellcode, so I did x86 for about two years. At that time (I was 16), I had a job for a VoIP security company in Texas, and I published various exploits for VoIP phones. I think I was 17 when I gave a talk on overflowing SIP at Toorcon and Blackhat.
I did PHP and Perl for about a year after that, but I dropped that pretty quickly when I found out about Ruby and Python. I'm running several web-based startups now, and I love it.
I'm currently 19.
As for your second question, I wished I had learned about 'structured programming' earlier, that would have saved me a couple of years. But then again, learning it only after a few years of 'spaghetti basic' definitely made me appreciate it more :)
Best of luck, it's going to take you some time but you'll be glad you did it, the ability to program computers isn't going to make you smarter per-se but it will give you an amazing new tool to help with all kinds of other things. The net result is very close to actually being smarter. It's like being able to use a powertool.
Jacques
1982-83 (grammar to high school age): My parents bought a word processor in the 80's that you could also program. It had orange letters on a black screen. I picked up the manual and I tinkered with it, typed in a few BASIC programs.
My parents didn't want me in the house playing with it and I wasn't motivated because what I got done was so limited and my imagination could only take me so far at that point.
In spite of that, I went to the neighborhood library to learn more, but there was nothing really there except for books on electronics. I tried to get friends and family to help me but no one could or would. For some reason going to the library I felt the need to hide my interest. I vividly remember hiding in the library stack with a few books on electronics one summer.
I am pretty sure they thought I was weird for having this interest. I was supposed to be doing more "female" things. My mother actively prevented me from doing other geeky things like bike maintenance (too greasy! and not feminine!).
1985 (17 years old): When I got to college, they didn't teach programming in a sane way. We had this book, "Oh! Pascal" and it sucked so hard I dropped the class. But the only work-study job I could get in college was administrative assistant work. They hired me then fired me (I'm not a secretary type), and strongly suggested I work for the computer geeks. To this day I have no idea why they pushed me there. But they had me doing tape back-up and whatnot. I enjoyed it.
1992-1994: When I was about 22 or 23, I got into programming while I was stuck in the Navy. I hated the Navy and they treated me like an idiot so I used my free time to self-study C language programming. Once I got through the course I realized I would have to pass a real university program and I just couldn't take the classes where I was stationed (not available).
1995: I got a career in software sales (6 years of that). I was entered sales info into a Unix box with an Informix database and I got to the command line by accident and started using gopher and usenet and Pine. I figured out how to install Slackware Linux.
I eventually became a sales engineer (1 year of that), then started work in network administration (2 years) which led to web development (Javascript/ASP) and eventually I taught myself Java (about 2001), then C# and now I do C++.
While I was working in network support/administration (hoping to eventually work my way into something better) for a public relations firm in Chicago, one of the PR seniors asked me where I went to school while I was fixing his computer. I told him and he realized I went to the same school as he did (prestigious, expensive midwestern university). He then said, sorrowfully, "It really is a shame then." He meant to imply that I was doing work beneath my capabilities and shouldn't be happy about it.
My battle may be dissimilar from others here. As a black woman I was supposed to be aiming at being a lawyer or business owner, not a software geek. My father worked as a tech in various roles for the phone company and I went home for a holiday a few years ago and I was so proud I got my first real programming job and he responded with "why would you want to do THAT for a living?"
It was at that moment I realized I had been living for approval of others and I felt released to do exactly what my talents and desires drove me to :)
They still don't!
Most professors retreat into lecture mode due to large classes, inabilty to teach, and wide variance in student quality. When students are motivated it is mostly towards things outside CS (games, IT, etc.). Industry has a pernicious influence and when their initiatives fail they assume it's because the academics didn't follow the PHB's plans far enough.
Even if you're on top of all that, it's still incredibly difficult. I taught CS courses a few times, and the hardest part by far was pacing -- simultaneously pulling the lost students along and pushing the advanced students towards stuff they can sink their teeth into.
Congratulations, thank you so much for putting that out here, I'm sure it will be an inspiration to many, and not just limited to programming.
I have a tendency to keep up with all the men in my career who helped me with my career, directly or indirectly:
Mark Ruzicka: Navy petty officer who turned me on to DOS 6 and hacking in general
John Grosshandler: my first software sales job
Leo Linder: helped me with MCSE certs and got me into network admin and support via his consulting firm
Larry Spear: CEO of a voice over ip company who supporting me being hired and doing Java dev
Brett Slaski: Network and DBA manager who let me talk the company into revamping their software and use C#
My current boss: unbelievable support and encouragement from him allows me to make mistakes and recover.
I could not be programmer, my life love, without these guys.
:)
edit: To answer the OP's question, I would start with a specific goal/project in mind and find out what steps are required to get it done. The best way to learn programming is to do it. If one book doesn't click, try another on the same subject. And another. Until you get it.
Best advice you can get especially when you start learning to program.
2.) I don't really remember the "before programming" phase of my life as I started very young. But I guess I wish I knew #1.
To answer your second question, I wish that I had some insight into software design as I was learning to program. Too often, I would kludge through something in BASIC ... that was the mental model of the software that I retained. It was hard to translate something like that into assembly-language or anything other than BASIC.
I took a course in Pascal which helped to organize my approach to problem decomposition and program design.
However, I was very young when I started programming, so I probably wouldn't have understood those books - partly for intellectual reasons, and mostly because I'm not a native english speaker.
There was another thing that helped me a lot when I was a beginner: I attended a few "advanced computer courses" in some kind of "youth center", where I had the luck to be taught by really engaged computer freaks. They not only taught me knowledge, they also showed to me how much fun that is - even when digging on assembler level.
Writing scripts, prots, take-overes, and connections were just so fun. I loved the competitive nature, having races to see who had the better protection scripts. It was interesting to see how the community really grew, as it turned really sour in the next few years and then MSN finally shut it down.
But thats what got me going. The feeling of writing code for something you understand, being able to think it out in your head and then just write it without having to check the docs. What a rush. I miss it, so now I learn python. :-)
In 7th grade the first programming I did was mIRC scripting. I then did a little tcl/tk to try and get a bot running on a unix box.
I quickly moved to web dev from there though.
FYI the AOL work culminated in AOL-Files.com, which was the premier AOL hacking site circa 2000/2001. Check it out:
Oogle released the VB source to his "proggie" and I did the exact same thing... I went through the code learning how everything worked and started VB programming on my own... faders, punters, etc, oh the good times. =) What was the name of your prog?
I am so happy to know that the peson who ran AOL-files is an HN member! That site was a goldmine.
Thanks for the note; shoot me an email sometime.
P.S. For a bit of fader/punter nostalgia, check out these screenshots from my first prog circa 1998:
How difficult is it to find Lisp programming jobs in Boston (interested in other cities as well)? Here in Florida, I've been stuck with a choice of Java, C#, or Fortran.
I think these guys would be better suited to answer your question. Neil Van Dyke runs the listserv. I read that a company, ITA, sponsors the monthly Boston Lisp meet-up, and browsing their website, they have projects for Lisp. ITA does travel applications, such as the algorithm for Orbitz's (or was it Travelocity?) low-fare search. As Lisp was developed at MIT, I bet there are more companies familiar with it.
If you can really grok SICP you probably won't need anyone to tell you what to read next - depending on your interest you will pick up the right book.
What i wish i knew before i got into programming is essentially the above. It took me a solid 10 years of C,C++,Python,Java and reading the right blogs/journals to realise that my knowledge/understanding was ass-backwards.
The problem, at least as I see it, was that I always just trying to "get my next idea implemented". Granted that's how I learned quite a bit, I think the thing that finally helped me the most was when I decided I wanted to fully commit to programming - and so I sought to learn for the sake of learning. TO consume myself. It was then when I met kohana, and jquery, and frameworks, and ruby, and Hacker News, and MVC, and OOP, and yeah the rest is history - true love.
So my advice. Take it seriously. That doesn't mean it has to be work; consume yourself! You'll be good!
edit: I wish I knew about frameworks and the power of just shutting up and learning from and trusting in people better than me. I love jquery. If people 1000000000 times better than me are working on jquery, it's more than I'll ever be able to do. Have to appreciate that.
I didn't do much serious programming until I was about 24, the place I worked, a convenience store, just got cash registers with scanners. So we had all this scanning data but no easy way to collate it over time. I wrote a perl script that would parse our scanning data and tell me how much of x we sold for a period of time y. That was when I truly got bit by the programming bug.
My advice would be to have a problem you really need to solve, a goal. The rest is just trying to figure out how to make your language of choice reach that goal for you. It is so much easier to learn how to program when you have a real, tangible, and personal goal, and not some arbitrary exercise put forth by a language tutorial.
Something I wish I knew before getting into programming? Language choice is personal. Find a language whose syntax you enjoy and you can wrap your head around. Don't get caught up in language wars/debates. It's basically meaningless (although fun to argue about). Whatever language you enjoy the most is the one you should be using.
More recently, I have decided I would like to learn a programming language to write a simulation, again for the purpose of more effectively sharing information. For a variety of reasons, I have yet to get started on learning a programming language. But I keep getting interested in more technical stuff to serve my other interests that are still more social sciences based. I joined Hacker News in part because having people to talk to about a topic of interest works well for me as an intro to a topic. Taking classes on it would not currently fit into my life.
Good luck with this.
SICP was still written to be a college textbook, though, and is now more than 15 years old. I think there's room for another programming intro book. Let us know how it goes :-)
What did I wish I knew at the time? That there were more fun languages to play with other that BASIC and Pascal. Perl came about in 1987, for example, and I wonder what might be if I started in on that language way back in the day. Since you're already tuned into HN, I think you have that base covered.
Side note: the thing that made me think I was any good at programming was a computer programming contest held by Dell Computers during my senior year. I entered, and, while I didn't make #1, I did get in the top 10, which meant I got to have lunch with Michael Dell in 1989.
Low level programming being my main interest, but I love reading and working in pretty much every language. Except for ActionScript!)
If you're interested in doing programming, I think the key element to having the learning drive is to work on stuff that you like.
As for, what are some things that I wish I knew before I started. Well - primarily being the fact that you can't learn everything there is to programming.
My first attempt at writing a program?
DRAW A DOOR2. I personally found those years hacking around with the TI calcs not knowing what the hell I was doing to be incredibly valuable. I think a lot of people try to learn the "right way" of doing things by reading about "design patterns", etc., but they never deeply understand the value of those ideas of structuring programs. By just hacking a lot and making tons of mistakes, I really learned the power of abstraction and how abstraction can be used or mis-used.
1. Took a biology class that involved using matlab. Found the matlab part more fun than the biology.
2. Went through this course on my own one week: http://www.cs.cornell.edu/courses/cs1130/2009fa/index.html At the time, almost of the materials I needed to do the homework was online. I'm not sure if that's still the case.
3. Took a class in data structures and programming in java. I've never worked so hard in my life.
4. Profit! (Yeah... no :P) My current step 4 is downloading open source projects I want to do something to (mostly in python) and futzing with them.
After a few years of playing around with BASIC as a ten year old I got my own computer and from there it was BASIC -> Euphoria -> C++ -> HTML and JavaScript -> PHP and MySQL -> and now my latest undertaking, nearly ten years later: JSP.
Now I am more interested in web development, though I still have strong skills in application development. It is a learning process, and a fun one at that.
We even setup some crazy starmap printer, and I think it worked through our antennae. We didn't get a dish until much later.
At the very least I learned to master the fear of big manuals.
My programming, and my general interest in computers, was the natural progression from that. I don't even remember the first programming language I learned, but everything after that was easy. Learn one language and you learn them all, I guess.
Taking things apart, reassembling, and creating is in my blood. Thanks dad.
While it might seem as if my generation was privileged to grow up at the same time that computers grew up, actually there have been several similar situations since then.
A couple of years ago, there was a chance to influence what happens on your mobile phone (with J2ME programming, or earlier more hardcore methods). Recently, there is the mobile internet, or Twitter apps and social networking.
Just kidding.
(P.S. Jurassic Park I was on yesterday. "It's a Unix system." I couldn't help but smile. I was 9 or so when that movie came out, and I remember thinking I should get a Unix system.)
The reason? I outsourced dev for my first startup (which I started my Junior year) and it failed miserably. Small fixes took days. Terrible freaking way to start a startup.
Anyways I started with HTML/CSS then moved up to LAMP (yes I know rails is awesome, but hey, I just started coding =)). Since my Senior year, I've personall started and coded two startups, one of which raised angel money and the other which may not need to.
they look pretty lame now that everything is ajax-ified and web 2.0 shiny, but 5 years ago they actually looked decent for the time period ;)
my advice for newbies is to not worry so much about what book or language you want to learn, but rather to figure out one project you're truly interested in creating, and then learn the technologies that are needed to create it. i had some false starts back in middle/high school when i bought some programming books with the intention of teaching myself programming ... sure, i learned what a 'for' loop and 'if' statements were, but i never got any real traction since there was no project that i was deeply interested in hacking on. if you have a hobby project to drive you, then you'd be amazed at how fast you can learn what's needed to hack on it. best of luck!
2 - Programming is mostly about understanding stuff, so don't be afraid to tear thing aparts since it's ok to reinvent the wheel just to see how it's done.
(2) You don't really know a technology unless you have a project you want (want) to finish. Before then, there's no motivation to go deeper.
I didn't really develop a passion for programming until I was out of college and learned Python (and later Ruby). I really wish I had started with one of those languages.
It is well worth your time identifying and working with these. Not to be snobbish; they are just so much more efficient, and enjoyable.
I stopped programming. Because I tried making games, programming is not for me. Maybe if I was not so ambitious, it would've been.
I'll never know: I'm trying things other than programming.
Then in IB HL Math in 12th grade, my teacher decided to have "C++ Fridays". After that, I entered college as a CS major (and vocal performance, but that is another story).
During that time, I ruun few warez sites and a free hosting company (which was profitable!)
I think this generation's equivalent is probably iPhone.
At a holiday dinner yesterday, a friend's kid (11) wanted to know how to make games for his iPod Touch. The conversation ended at "well, you need to buy a Mac, first."
The costs are pretty high, even by North American standards. My first computing system cost less than $200, I think. Getting started with iPhone development will set one back $1500.
If I had thought I could make lots of money (by teenagers' standards) selling graphing calc apps then I probably would have become a hermit.
So my first languages were APL, C, awk and a few 4GL databases, oracle, nomad.
Now, i would start with ruby and python, then look at erlang, clojure, scala, haskell, ocaml, F#. i.e. lots of FP
You should email her ask for a retelling of her story..