Slashdot Mirror


Taking Your Programming Skills to the Next Level?

An anonymous reader asks: "About 6 years ago I graduated with a degree in Computer Science. Since that time I've been working on and off as a programmer, however I feel that my programming skills haven't really progressed to the next level as I had hoped. I guess part of the problem is that my work environment hasn't been especially technical or challenging, so I really need to try and improve my skills independently. What strategies did Slashdot readers use to improve their programming skills Which books are useful in this area?"

29 of 240 comments (clear)

  1. It's not the eyes, but the brain by Pig+Hogger · · Score: 5, Informative
    Reading books is one way, yes, but like muscles, the brain must be exercised.

    Practice. Learn a new language, just for fun. To do so, program a new application to do something useless that has been nagging you for months.

    1. Re:It's not the eyes, but the brain by eln · · Score: 5, Insightful

      I may be wrong, but the submitter doesn't seem like the type who's going to pick up another language or solve some useless problem "just for fun." That's okay though, because I'm the same way. I hear about people who program shit in their spare time just to solve trivial problems, and I just cant get into that. However, I am a fairly good programmer. In my case, the reason I became good is because I went to several different jobs, and in each job there was some sort of major problem that the company or team had been dealing with for a while, that I decided I could solve. The difference between that and solving useless problems in my spare time is that a.) it makes my job easier, and b.) I'm getting paid for it.

      I've made most of my money over the years (not that I'm a millionaire or anything but, hey, I'm still young) doing automation work. I see a manual process being used, decide it can be automated, and I automate it. That's the sort of programming that really gets me going: programming that makes life easier.

      So, I guess my advice for those unmotivated to do things on their own time would be this: Find a problem at work that can be solved through some sort of program. Solve it. This could be automation of a monotonous task, or it could be writing an application to replace some boneheaded spreadsheet that everyone has been using for years to track inventory.

      The upshot of all of this I guess is that I agree with you that practice makes you a better programmer. However, I would encourage people to look for problems in their work lives that can be solved through programming if they are too unmotivated or otherwise occupied to program in their spare time.

    2. Re:It's not the eyes, but the brain by Aladrin · · Score: 4, Interesting

      I think it's also quite a bit easier to 'take your skills to the next level' when you have outside pressure to do so. Doing projects in your free time is great, but there's no great push to overcome challenges like what you get while doing 'work' for a company.

      I'm one of those people that program for fun in their free time. For years, I resisted becoming a professional programmer because I didn't want to taint my hobby. I finally realized that I needed to do SOMETHING for a job, and got a 2 yr degree for the paper. 4.0 GPA because I already knew it all, having learned it myself over the previous 10-15 years. (Yeah, I started programming young.) In the last year at this company, my skills have progressed more quickly than the last 10. Having your boss say 'The entire system is down. We need a fix.' has motivation like nothing else. I've learned languages and concepts both. I'm a much better programmer than I was a year ago.

      So in the end, the answer is: No book will help you like a good job will. Programming projects in your spare time is better than a book, but not by much. (The 2 together can be useful, though.)

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    3. Re:It's not the eyes, but the brain by SQLGuru · · Score: 3, Insightful

      The parent post is alreday +5 Insightful, but I'd like to add that another way to get better at programming is to find a mentor.....a good mentor. I made the biggest leap in my ability during my first job (which was rather fortunate). I was on a team of young guys, but we were all sharp. Where one of us lacked, the other was strong. After 5 years, I was a very well rounded programmer. I try to continue that by always having someone that I've taken under my wing to mentor as well. So, if you're in Austin and want a top notch database programmer (not a DBA) to be your mentor, look me up.

      Another area that will help you is breadth of knowledge. You don't have to be an expert in everything, but be aware of many fields (different tiers, different languages, different layers of the network model, what have you). This helps because you will quit fighting to put part of a solution in the wrong layer. If you can push it to the right layer, your solution will turn out better (easier to write, easier to maintain, more robust code, better overall design).

      Layne

  2. Find a new job. by Bitsy+Boffin · · Score: 5, Insightful

    If your current job isn't challenging you, then get out of it now. Do not delay.

    All you are doing is painting yourself into a corner skills-wise that is going to get harder and harder to get out of later. The longer you're doing this basic stuff, the rustier and rustier all the real actual knowledge you got out of your degree is becoming.

    Employers don't want rusty people, they want people with skills already.

    Get out now.

    --
    NZ Electronics Enthusiasts: Check out my Trade Me Listings
    1. Re:Find a new job. by The+MAZZTer · · Score: 5, Insightful

      Err... ideally you'd want to find your new job BEFORE quitting your old one...

    2. Re:Find a new job. by PoderOmega · · Score: 4, Insightful

      I don't have mod points, but I totally agree with this. I have been out of college for 5 years, and my first job took about 2 years to basically learn all the existing code and my job got to the point where it was too "boring", so I spent a year trying to take my skills to the next level. Well, I learned some stuff but switching jobs took me to the next level 10 times faster then me reading a book and playing around with stuff on my own. Working with bigger systems and more advanced programmers really brought me to the next level. Now I am to the point where it is getting boring again and I am not sure what I can do to keep learning without jumping ship for bigger brighter things.

      Do you work with other programmers? Are they content to spin their wheels all day? Competition can also be good thing, and its nice to have someone else really into coding.

    3. Re:Find a new job. by o2sd · · Score: 3, Interesting

      Agreed. My personal strategy that has worked very well for me so far is that if the programming is boring, then there is nothing at stake. The easiest way to make programming interesting AND take it to the next level is to find a job with a lot more risk involved. This usually involves either (1) Look for a company that is smaller by half (at least) than your current employer or (2) Be on the lookout for companies who are about to engage in something that would be considered too risky at your present location.

      Now I am not recommending this approach for everyone, I'm just saying it works for me. More Risk == Better Programming

      YMMV

      --
      - Nothing to see hear.
  3. there's usually a quest involved by bunions · · Score: 5, Funny

    Typically, you have to rescue a kings daughter or defeat a marauding ogre that has been terrorizing the townsfolk. That's how I got to be a level 9 Programmer, although the +2 keyboard, +3 against fire elementals, does help. If I take it to the next level, I get an enchanted chair.

    --
    there is no need to sign your posts. this isn't usenet. your username is right there above your post. stop it.
    1. Re:there's usually a quest involved by Xyrus · · Score: 5, Funny

      "That's how I got to be a level 9 Programmer, although the +2 keyboard, +3 against fire elementals does help."

      Amatuer.

      A more efficient way is to find the Wizard of 7-11. You will find many goods for your journey at his shop, such as the Chilidog of Power(+5 artery clogger), the Mentos Charm Disks(+2 charisma), and the Sack of Magical Poofy Cheese (+3 yellow). You must remember to pick up several Flasks of Mountain Dew, as this will give you a +5 haste.

      Soon after consuming the Chilidog of Power and the Sack of Magical Poofy Cheese, you will be endowed with new abilities, most notably the Chair Earthquake (good vs. earth elementals such as the troll-like Cowerkers) and the Cloud of Stench (+10 repulsion). Combined, these will make you a powerful adversary.

      Now drink several flasks of Mountain Dew. Your skills will multiply at an accelerated rate. When your Boss Templar comes around, quickly apply a Mentos Charm Disk for a charisma boost.

      IMPORTANT! DO NOT COMBINE THE MENTOS CHARM DISKS WITH THE FLASK OF MOUNTAIN DEW! This combination will cause much harm to even the strongest of warriors.

      One last word of wisdom. Avoid reading the Scrolls of Slashdot. Only trolls dwell there. No good will come of it.

      Sincerely,
      ~X~ Level 41 Code Warrior

      --
      ~X~
  4. "working on and off as a programmer" by Anonymous+Crowhead · · Score: 3, Insightful

    To me, it sounds like you are not really that interested.

  5. Perhaps you should learn how to program? by shoolz · · Score: 4, Insightful

    I have a feeling that I'm going to be modded troll, but if you know how to program properly you can teach yourself any language without much difficulty and therefore tackle any challenge you place before yourself. Give yourself and insanely unrealistic task and then force yourself to follow through on it. If you can mentally build a road-map to making it happen, you're ok, if not, you may wish to try a new career or remedial programming courses.

    1. Re:Perhaps you should learn how to program? by W.+Justice+Black · · Score: 4, Interesting

      Re: Insane Programming Task

      This is a good idea, believe it or not. Many years ago, I had a case of hubris where I thought I could write an OS in pure assembly. I took a week off of work to give a go at jumpstarting the process. The OS I produced: Er, none. What I learned?

      • How DLLs, particularly linking/loading at compile- and run-time, work at a low level.
      • The innards of three filesystems.
      • Solutions to various bit manipulation problems in assembly.
      • General implementation of hardware-assisted task switching (i.e. saving/restoring registers, etc.)
      • ...and dozens of other esoteric (but later quite useful) topics I can't remember off the top of my head...

      Being a good programmer means challenging yourself--via coding competition (TopCoder, e.g.), weird language acquisition (Haskell seems to be a favorite nowadays), or outrageous tasks (as I did above).

      Picking a favorite OSS program and putting in extra bits is a good thing, too. I did that (though wasn't able to contribute back due to bureaucratic nonsense at my company) with PXELinux and the Linux loop.c driver, for example. Bummer that I could never release the changes, but at least I refreshed my x86 assembly (PXELinux) and learned some kernel driver basics (loop.c).

      Just make sure your company doesn't own your work produced on both on- and off-company time. Ugh.

      --
      "Time flies like an arrow; fruit flies like a banana." --Groucho Marx
  6. Expand by illuminatedwax · · Score: 5, Informative
    Several suggestions:

    • Learn different programming languages. Perl, C++, Python, Ruby, and make sure to include functional ones like Lisp, Haskell, and ML. Build something useful or interesting in each of them.
    • Study algorithms. Get an algorithms textbook and learn about trees, linked lists, hashes, etc.
    • Study complexity theory. Learn how to find the big-O running time of an algorithm. Learn how to reduce an NP-complete problem so you can tell if the problem you are working on is intractible.
    • Study math. Learn cryptography, etc.
    • Read Knuth's Art of Computer Programming.
    • Complete all the tasks you can from the 2006 ICFP Contest.
    --
    Did you ever notice that *nix doesn't even cover Linux?
    1. Re:Expand by AKAImBatman · · Score: 5, Informative
      Learn different programming languages. Study algorithms. Study complexity theory. Study math. Learn cryptography, etc. Read Knuth's Art of Computer Programming.

      Funny. That sounds an awful lot like a CompSci degree.

      .

      .

      .

      .

      Just saying.
    2. Re:Expand by RAMMS+EIN · · Score: 4, Insightful

      ``Funny. That sounds an awful lot like a CompSci degree.''

      I _wish_ CS degrees actually taught people different programming languages these days. And I don't mean mentioning them in passing and showing a few snippets of code, but _actually_ making people use the concepts of these languages and recognizing the value of these concepts.

      --
      Please correct me if I got my facts wrong.
  7. Hate to sound like a broken record by LeonardsLiver · · Score: 5, Insightful

    but have you considered helping on a open source project? Depending on the project (and yourself) you could learn a lot. It being a real project with a real team, etc, should sufficiently motivate you.

    As for books, pick up K&R & read it, work the execrises, repeat.

    Best of luck.

  8. Programming self-improvement by Animats · · Score: 4, Informative

    Six years out of school and "programming on and off" seems strange. What kind of programming do you want to do? GUI stuff? Graphics? Games? Algorithms? Databases? Real-time?

    One way to get better as a programmer is to do maintenance programming on code written by someone better than you. Learning to understand someone's thinking by reading their code can be a worthwhile exercise. It's also useful to be able to write in someone else's style.

    Right now, something worth getting good at is understanding how to write highly parallel programs that are reliable. Write something that has lots of intercommunicating threads and be confident the locking is correct. There aren't that many people who consistently get that right. You have a CS degree, so you have the theory for that. Put it into practice. The world is full of underutilized multiprocessors. Learning how to write safe concurrent code will definitely make you a better programmer. (It will also make you realize how bad most mainstream programming languages are for this.)

    On the language front, today I'd say that you should be good at either Java or C++ (C# if you're in Microsoft land), and either Perl or Python (VB if you're in Microsoft land). One strongly typed language that goes fast, and one weakly typed interpreter. Basic familiarity with the HTML/PHP/Javascript world is useful, but don't spend all your time on the details of that - that's for low-level programmers with two years of experience. Also, learn how and when to use a relational database, at least at the MySQL call level.

  9. Go work in a crummy company by rocjoe71 · · Score: 5, Interesting

    ...No seriously. If you join an IT department where you're the "big fish in a small pond" people will start to notice, they'll give you the tough jobs (note: NOT read as "fun" or "challenging") and because the rest of the IT department is crap they'll pile it on and I mean it. If you find the right place (i.e. the worst place) they'll stack it up and then slam you for not getting it all done sooner.

    Instead of sinking under all that work, it will become you're motivation to raise your game and plow on through. You'll find new techniques to get work done, you'll learn to identify the patterns that get work done in the department and you'll invent new processes out of those patterns. When you start to succeed, you'll master your job and maybe a programming language or two.

    Then when you're feeling confident about your skills, QUIT that job and go join a firm with a good reputation, knowing full well you're ready to play with the big boys.

    But seriously, don't go searching for a book or learning material. Search for MOTIVATION. It's through motivation that we test how much weight we can pull and it's motivation that will select the subjects that we want to study the most.

    --
    Height: 38U, Weight: 0 Newtons, Eyes: #0000FF, OS: Gray Matter 1.0 (Alpha)
  10. Learn Lisp, avoid fads by ghostunit · · Score: 3, Insightful

    I recommend you the following essay (or any by Paul Graham for that matter):

    http://www.paulgraham.com/avg.html

    If you have a boring programming job such as coding Java web apps (as I do) it is particularly important you turn away your attention from the mainstream (e.g. the framework of the week) or else you too may become yet another boring corporate drone.

    It is also very important to avoid fads (such as PHP) as well as stuff that gets a lot of attention but only because of the huge publicity behind it and the swarm of clueless people who fall for it (.NET, Windows whatever)

    Finally, it is essential that what you work on is interesting in itself (to you, of course), otherwise no matter how effective a way you find to make it, it will fail to inspire you and without inspiration your mind will deteriorate.

  11. Modelling by Spiked_Three · · Score: 3, Interesting

    Even though I have 29+ years of programming, I have never worked for a company that had its stuff together as far as product development. They all were poorly conceived, constant moving targets dictated by the sale's department's conversation of the day.

    As far as learning new languages go, that's fine - if you are not already there - I was at the point quite a long time ago where 'its just another language'.

    I finally forced myself to do some small projects in text book perfect approach - requirements - use cases - UML models (and appropriate design (not refactor) patterns - Test driven development. The results were some incredible complex multi-threaded x25 to tcp bridge code that worked first time and was a pleasure to enhance. Never before had I experienced that, and never again since either.

    Anyhow, that was a personal accomplishment / satisfaction. Now if I could only find a company that builds software this way.

    --
    slashdot troll = you make a compelling argument I do not like the implications of.
  12. Re:Good Idea! by Perseid · · Score: 5, Funny

    White programmer needs Dew badly.

  13. Answering the original question, sort of... by hackwrench · · Score: 4, Informative

    I don't know about books per se, but these links help:
    http://joel.reddit.com/
    http://programming.reddit.com/
    The design patterns book website with, as I understand it most if not all of the content for the book:
    http://lci.cs.ubbcluj.ro/~raduking/Books/Design%20 Patterns/

    The next three I keep the bookmarks to in a folder called "Practicing programming:
    http://www.devblog3000.com/archives/2-Practicing-P rogramming.html
    http://butunclebob.com/
    http://www.objectmentor.com/resources/publishedArt icles.html

  14. Re:Solve problems, but don't worry about full prog by Silver+Sloth · · Score: 5, Informative
    I once read in Accidental Empires? that there are three types of coders - and the terms are not mine
    1. Code bashers - these are people who bash out endless lines of cobol (probaly VB nowadays) with no real feel for the craft
    2. Hippies - Hippies write good code badly. Once the problem of how to code this task is resolved they lose interest so the actual transformation of the concept to the written code is poorly executed
    3. Nerds - Nerds write bad code very well. Nerds become obsessed with particular techniques and will use that techniqu whether it is relevant or not. However their attention to detail means that the code is well executed
    Looks like you, like me, are a hippie under these definitions.
    --
    init 11 - for when you need that edge.
  15. How wonderful it must be by clickclickdrone · · Score: 4, Insightful

    To have enough spare time to do all the stuff people suggest here. Being married with a family, between commuting, working, doing chores, keeping wife happy, bring up children etc. I get maybe 30mins to an hour a week to myself and then I spend that working on website I sort of inherited after the previous editor bowed out. My commute could be used I guess to do a bit but that's the only time I get to listen to the news etc. on podcasts.
    I can't even imagine having time to learn a language or play with programming for the sake of it.
    To all those who have the time for this, enjoy it while you can and appreciate it.

    --
    I want a list of atrocities done in your name - Recoil
  16. What worked for me by mrjb · · Score: 3, Insightful

    - So far, every time I have changed jobs, I've had to work hard to adapt to the new environment. New environments will keep you on your toes on different technologies, introducing you to new concepts which probably apply to various platforms. Once you've seen Oracle, MySQL, PostgreSQL and SQLServer, you'll likely know how to handle databases. Once you've seen PHP, JSP, ASP and CGI Perl scripts, you'll probably be familiar with the underlying concepts of server-side web programming. See a few flavors of everything and you'll readily adapt to new environments.

    - It's not just about learning new programming languages and platforms. Perhaps to you "The next level" means fewer bugs. Do you already consistently write unit tests? Document requirements? Perform regression testing? Have your code tested by collegue programmers? What about code reviews/code reading? Is your code maintainable? Readable? User-friendly? Well-documented? Bug free? How can you (automatically) prevent these bugs next time? How familiar are you with the infrastructure of your programming environment (version control, build servers, network, etc?)

    - Get familiar with 'new stuff'. I first heard about "Correctness by construction" here on Slashdot. Follow the white rabbit and find out what Spark Ada has to do with this.

    - Learn to do things by yourself, even just as hobby project. Although nowadays it is relatively useless to write your own file compressor/database engine/scripting language/GUI framework/chat program/network protocol/file system/operating system, doing so will give you massive insight in how these work in general.

    - Find someone with whom you can discuss better ways to do things. You will pull each other up. Show your code to each other and discuss improvements. Keep in mind that other programmers sometimes have an opposing view from yours. This doesn't mean that one is right and the other is wrong. (Example: What is better, a micro-kernel or a monolithic kernel? Answer: The truth is probably somewhere between those extremes.) The importance is in understanding the shades of gray between the black and white.

    - If you want to learn, first you must get rid of the strong ego that most programmers build up over the years. Most programmers with a strong ego don't deserve their arrogance anyway.

    --
    Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
  17. Avoid overly bitter OcamL/Lisp/Eifel freaks on /. by Qbertino · · Score: 4, Insightful

    Someone calling 'Java Web Programming' boring and PHP a fad. [sarcasm]Gee wizz, what kind of person could that be?[/sarcasm]

    1) Neither Java or Webprogramming or both together are boring. It's jobs and projects that can be boring. If it isn't your thing, don't do it. And if the webstuff your doing in Java actually *is* boring, you might want to consider switching your framework? The current, somewhat justified hype is Rails but I'd actually suggest Symfony. Which, in second instance. is a PHP framework.

    2) Sorry to be raining on your parade, but you're talking out of your ass. PHP isn't a fad. It was an Open Source SSI template solution that scratched an itch ten years back that could be solved satisfactory with Perl alone. Now it has grown to number two in the server side game, moping the floor with Cold Fusion, ASP and a few failed, sad and sorry attempts at consistent Java webframe projects. It's easy to learn, has by far the largest amount of very mature and successfull OSS webprojects and scares the living piss out of BEA, Intersystems and the occasional MS web plattform division.

    PHP is a descendant of Perl and thus simularly crazy, no doubt - but calling it a fad puts you in the classic position of an anti-social, they're-all-holding-me-back Lisp/Ocaml/Eifel/[fill in rare academic PL here] crack that's actually best off *not* doing any stuff that requires frequent team interaction, such as - believe it or not - web projects. Ever considered doing exotic science stuff on large supercomputers or bio-IT or so? Chances are you'll feel like a bug in a rug in those fields.

    Real world programming is about learning to cope with the restrictions of the real world, called load distribution, wacky and stone-age database concepts (you call PHP a fad but don't lose a word on SQL - how am I supposed to take your opinion for granted?), inconsistent and/or non-existing developement pipelines in dire need of updating, shoestring budgets and the occasional boss/client poping in and overthrowing everything. Programming and IT is about helping the people along, raising your boss/client to be aware of the needs of solid IT and it's resulting advantages and, in the end - believe it or not - acually delivering marketable results. All together makes up the skill of a good programmer. Pick your technology - whatever it may be it doesn't matter, only OSS may be a prerequisite - and get on with becoming one.

    That's 2 cents from a client- and server-side web developer.

    --
    We suffer more in our imagination than in reality. - Seneca
  18. Re:Solve problems, but don't worry about full prog by SomeoneGotMyNick · · Score: 4, Funny
    3. Nerds - Nerds write bad code very well. Nerds become obsessed with particular techniques and will use that techniqu whether it is relevant or not. However their attention to detail means that the code is well executed

    Oh God!!!! That's ME!!!!! Why didn't anybody tell me this SOONER!!!! I feel so ASHAMED!!!! I need to re-program my Segway to lead me off of the edge of a bridge. I think I'll use a variant of the Medial Axis Transform of the city model to determine best path.

  19. Improving Development Skills by esammer · · Score: 5, Insightful

    Not having had the advantage of a formal education (I have a GED and otherwise I am self taught) I've had to resort to, in some cases, drastic means of career as well as technical information acquisition. I have found the following to be consistently true.

    1. You are rarely given additional responsibility (i.e. new projects, new technologies, "hard" stuff) at a job without first proving that you can do it. This usually involves doing things that "aren't my job" without getting paid for it for a certain amount of time and then being your own advocate after the fact. No one deserves anything on their own word. Find new things going on at work and put yourself square in the middle of it. Nothing interesting going on? Start analyzing the development process and environment and propose ways of making it better (and ofter to execute said plan).

    2. Read. A lot. I highly recommend O'Reilly's Safari Bookshelf thingie. Some people don't like to read on line and prefer "real" books. I think that's cool, but you can't let that be a reason why you don't read. If you can't afford to buy all the new tech books you want to read, get a library card. Live in some strange place with no libraries? Find a way. You will if you want it.

    3. Read non-technical articles and resources about the development process, software design and architecture, intergration methods. You know, "sciencey" type stuff. I find that I like certain authors more than others. For instance, Martin Fowler (http://www.martinfowler.com/) is the author of many excellent books and is known for his work in design patterns and architecture. If you read nothing else, read his work. Remember there's a much bigger world than writing guest book "scripts" 10,000 times (and thank insert-deity-here that's true).

    4. Talk to other people. Anyone. Everyone. Project managers, developers, system administrators, architects, analysts, QA folk, telco employees, and anyone else that will give you the time of day. Learn what they do, how they do it, why they do it that way, and how it effects what you do and why. You'll have a much better understanding of distributed computing if you understand network and security principals and how they apply (and you might just not open up yet another SQL inject bug because of it).

    5. Commit yourself to improving your craft by practicing it. Constantly. I find that being involved in open source development is 100% free peer reviewed experiance. Additionally, the open source work I've done in the past has won me a job or two. You never know when you might meet someone important to advancing your life.

    6. Consider everyone you meet a student who may benefit from you, but more importantly, a teacher no matter how much smarter you think you are. Discuss, debate, learn, integrate new knowledge, repeat.

    7. Find a mentor. Someone willing to take you under their wing (whether they know it or not) and soak information from them like a sponge. Don't know one? That's why I said *find* one. Very few people learn things themselves. Most people are taught by others, if by written or spoken word, code, IRC, or otherwise. I can't stress the mentor thing enough. Find two. Three is better. Find mentors that don't agree with one another and compare ideas. Learn from everyone.

    This is what has worked for me. I dropped out of high school, got a GED ("good enough diploma"), and got really lucky in meeting the people I did. I do software architecture and design for a living in addition to mentoring and "grooming" developers. I learn more from them in a single day than I learned from any book (give or take).

    Good luck. If you're trying to figure out why you aren't where you want to be or why you haven't attained what you want, you're already a step ahead of everyone else. You'll be fine.