Codecraft

software = science + art + people

All I Really Need To Know I Didn't Learn In Compugarten

2012-11-15

I’m glad newly minted software engineers are exposed to data structures, compilers, concurrency, graph theory, assembly language, and the other goodies that constitute a computer science curriculum. All that stuff is important.

But it’s not enough.

Not all classroom material for CS folks should be technical. Image credit: Midjourney.

Since I’m half way to curmudgeon-hood, I frequently find myself lamenting educational blindspots in the young. I’ve even toyed with the idea of teaching at the nearest university, some day when I Have More Time™. If academia would take me, my lesson plans might cover some of the following topics:

This is only the beginning of my lesson topics; I’m sure I could come up with dozens more, if I thought for a while.

What would you add to the list? Please comment. And please subscribe to my blog (top of right sidebar) for explorations of these topics.


Comments

  • matt, 2012-11-15:

    effective logging techniques. what, when

  • matt, 2012-11-15:

    what constitutes good code documentation...

  • shawn, 2012-11-15:

    I think more information about life cycles would be good to teach, I was taught the basics, but we never went into waterfall or agile, or anything else for that matter.

  • Brian Bellon, 2012-11-15:

    Coding to facilitate effective QA Automation - Hows, Whys, Benefits Working with a QA Engineer - What to expect from them - and what should be expected of you as a developer.

  • Daniel, 2012-11-15:

    Good ones, Brian! Automation is absolutely fundamental, nowadays. And it's definitely the case that some codebases are easier to automate than others. Working with QA is another great focus. So many developers don't make interactions with testers as productive as they could be. Maybe you should come guest lecture to set us straight. :-)

  • Daniel, 2012-11-15:

    Yes. It surprises me how little process/methodologies get discussed. CS classes where you have team assignments might be a good way to expose students to pair programming, sprints and scrum masters, and the rest of that part of what we do.

  • Daniel, 2012-11-15:

    Ooh, yes! Just yesterday I was meeting with a customer who was complaining that at normal verbosity, our log files had way too much detail about certain routine operations. Knowing what to put in a log, when — and knowing how to make the info that's written as useful as possible — would be a great topic.

  • Erik Dietrich (@daedtech), 2012-11-15:

    I think it would be interesting and beneficial to have a CS program where students started a project as freshmen and it extended beyond the "boundaries" of the semester long course. There are a lot of good lessons to be learned from having to live with your code for months and years rather than days and maybe weeks.

  • Daniel, 2012-11-15:

    Great idea. This might be particularly useful if students had to collaborate on the code with others. Imagine seniors having freshmen edit their code, and trying to manage the mentoring and communication to keep the design pure. Your idea reminds me of a TED talk I saw recently. A professor decided to have students start by building logic gates, then integrated circuits, then CPUs, then a compiler and programming language, and finally a game. Very cool. I want to take that class.

  • Daniel, 2012-11-15:

    Forgot one obvious biggie: antipatterns. Really great opportunity to discuss lots of Dilbert cartoons. :-)

  • Shawn Holmstead, 2012-11-15:

    Effective refactoring... learning to live with code that has been around for a long time and how to make it better. Putting in time in a schedule to refactor. Test driven development (unit, integration, and acceptance tests). Communicating with product managers through acceptance tests (Required Reading: Bridging the Communication Gap)

  • Carl Appellof, 2012-11-15:

    Ways of suppressing repeated errors in logs would be good too. It does no good to fill a log with the same critical message 10,000 times in a row, even if the error occurs 10,000 times in one minute. Even better if you really CAN record all the errors in compact form, with a smart viewer. I can't count the times I've asked a customer - "Could you run that failed backup one more time, but with the verbosity turned up just a little?"

  • Carl Appellof, 2012-11-15:

    How to persuade your boss something really IS worth doing, even if it's not in the schedule, not vetted by a product manager, and doesn't look cool on the surface.

  • Daniel, 2012-11-15:

    Now that is a skill we all need! Are you sure you don't want a career in politics? :-)

  • Daniel, 2012-11-15:

    This is a great sidebar topic. Maybe logging systems need some kind of a logIfThisHasntHappenedRecently() function. What ideas do you have about how to achieve this?

  • Brian, 2012-11-16:

    Daniel - a few additional ones that come to mind: SOWs, Contract Negotiations, Open Source Rules (GPL, etc.), IP Protection, Escrows, Legal issues - Engineers often get pulled into these areas but don’t have the formal background or introduction in many of these topics, aside from what they learn on the job. They will get pulled in at some point. Roles and Responsibilities — a holistic review of cross-functional players most engineers will interact with throughout their careers. PGM, PM, Marketing, Sales, Architects, Account Managers, Legal, Support, Q/A, etc. Building a good software product isn't the end of the line, it’s only the beginning. Need to have a holistic view of how a functioning software company/division operates, who the players are, what their roles are, and how the rest of the business operates. Speaking with and Presenting to Customers — The difference between the language of internal speak vs. external speak, tech speak vs, customer speak. How to present and speak with customers, partners, OEMs. What NOT to say is just as important as what to say. Customer Focus at ALL Times / Usability — Customers are not as smart as you are! It’s a lot more difficult to take a complex problem and make it easy to understand than it is to take a simple problem and complicate the heck out of it. There is always a tendency toward the latter — avoid that tendency if you want to sell your products to customers. The Value of Accurate Velocity Estimation — it impacts all layers of the business, from internal and external roadmap predictability, to budgets, to commitments with customers and partners, to revenues, to reputation, to image, to long-term viability and sustainability. Globalization / Localization — The world is a small place today. Most engineers will need to understand good localization techniques and strategies as their products will be shipped all over the world, in a wide variety of different languages, markets, channels, etc. Competitive Understanding — Where the market’s going, who the players are, who is considered “the best” even if they’re not, what the analysts are saying, how to beat the competition. NOTE: It’s not always a technical answer. Consistency! Consistency! Consistency! - Repeatable, best-practice processes that ensure the success of each release. Plow improvements into the process with each successive release. You’d be surprised how few companies actually have good process in place, or how many have no process whatsoever. Fly-by-the-seat of your pants programming doesn't cut it, unless you’re building your own Angry Birds knockoff in your basement for iTunes.

  • Linda Hardman, 2012-11-16:

    Love my awesome, smart, husband Daniel.

  • Daniel, 2012-11-16:

    Wow, Brian. You should be teaching this imaginary class — and just with your list, I think there'd be material for a semester or two, easily. Your first time items, especially, had me slapping my forehead. All the legal issues around software development need to be more broadly understood. No doubt about it. And understanding what a healthy tech company looks like, in terms of all the different disciplines it takes to build a business, is absolutely critical. I agree about the value of velocity estimation. I'm curious to know what techniques you think have been the most helpful on that one; it still feels pretty elusive to me. The competitive understanding discussion is one that you and the rest of the gang from Symantec could talk about at length. Some of the price/performance analysis you did, (the beating-the-streets aspect, the research through IDC/Gartner databases, the linear regression, the analyst and customer calls), deserves to be legendary. It's too much of a well-kept secret.

  • Daniel, 2012-11-16:

    Okay, Sean. You've added a book to my reading list!