Slashdot Mirror


How Microsoft Develops Its Software

crem_d_genes writes "David Gristwood has a post on his blog that notes '21 Rules of Thumb - How Microsoft Develops Its Software', on which he will elaborate at TechEd in Amsterdam next week. It was derived from interviews with Jim Mccarthy, also of Microsoft. Gristwood: 'As someone who has been involved with software development for over two decades, the whole area of how you actually bring together a team and get them to successfully deliver a project on time, is one worthy of a lot of attention, if only because it is so hard to do. Even before I joined Microsoft, ten years ago, I was interested in this topic, having been involved myself in a couple of projects that, I shall politely say, were somewhat less than successful.' Tips include such features as 'Don't know what you don't know.'; 'Beware the guy in a room.'; 'Never trade a bad date for an equally bad date.'; and 'Enrapture the customers.'"

13 of 816 comments (clear)

  1. Re:My post by Reality+Master+101 · · Score: 5, Insightful
    Here's another great example, "Zero defects does not mean that the product does not have bugs" Well, to the rest of the world it bloody well does!

    The "rest of the world" has no clue about the nature of software. That quote is absolutely correct.

    --
    Sometimes it's best to just let stupid people be stupid.
  2. Microsoft master plan! by Anonymous Coward · · Score: 5, Insightful

    How Microsoft develops software:
    (1) They notice a great software idea by another company.
    (2) They ignore it.
    (3) They realize it's big.
    (4) They copy it.
    (5) They "bundle" this software in the next version of Windows.
    (6) They eliminate the competition using their desktop monopoly.

    Number (5) can be substituted by "They buy the company".

    Microsoft doesn't develop software, they copy or buy.

  3. Re:My post by tb3 · · Score: 5, Insightful

    Um, crap. 'Zero Defects' means 'Zero Defects'. If you mean, 'An acceptably small number of defects', then just say so. I still say it's Microsoft double-speak.

    --

    www.lucernesys.comHorizon: Calendar-based personal finance

  4. Re:My post by TopShelf · · Score: 5, Insightful

    Too bad you have to go AC just to say something good about Microsoft!

    You certainly bring up a good point, though - there's a fine balance before working on a product until it's completely flawless (by which time it will be obsolete), or rushing a product that solves today's problems to market before it's completely bug-free. Corporations, naturally, have strong motivation to getting the product out quickly, so as to take advantage of market opportunities.

    --
    Stop by my site where I write about ERP systems & more
  5. Re:My post by jkabbe · · Score: 5, Insightful

    Yes, but that "problem" is generally just the previous release :D

  6. Breakdown by mfh · · Score: 5, Insightful

    1. Don't know what you don't know.

    Yes, and I would also add that feigning ignorance is much safer than feigning self-confidence, and it helps projects to thouroughly research information that is even considered known.

    2. Get to a known state and stay there.

    I disagree. I think we should accept that we are only ever in a state of the unknown, so that we may prepare for the worse. Don't stay in a state of the known, because then you are ripe for the unknown to come up and bite you on the ass.

    3. Remember the triangle.

    Resources, features and the schedule are indeed important, but I would also add that there are core features that must be adhered to in order to prevent disasters, which are not features, but critical systems. Sometimes companies like Microsoft will push for more and more features, when a much simpler system will work better and have stronger core competencies.

    4. Don't go dark.

    I would have to agree with this, but it could also be identified as avoiding feature creep by keeping it simple-stupid. Microsoft adds too many features that require a plethora of miniscule details in order to work, and that often throw off stability of the rest of the system in doing so. Going dark in some areas is going to happen, so I would put that you should go dark wisely, by accepting that at times in the project the team will be in a state of the unknown. Ensure that core competencies are structured correctly to accomodate individual feature additions without delays or growing instabilities. What it comes down to is smart planning and a lot of foresight, but even less features, but enough to get the job done.

    5. Use zero defect (ZD) milestones.

    I disagree. I think every milestone has to be understood completely for what it is, but it's got to be bug free or it's a fail, in my books. And you should understand the milestone failures along the way because that's part of team building. If you code up a module as one of your milestones and it has a few bugs, you have to track down why they are there and set that as a new milestone -- not skip to the next official milestone.

    6. Beware of a guy in a room.

    Read Donald Trump's book, How to Get Rich (2004). There is a part in there when Trump talks about a guy who is constantly late all the time, who isn't speaking with employees, and isn't working as a team member properly. Some employees start complaining, and Trump informs them to ask the guy if he needs his laundry picked up or a coffee or lunch brought to him. Trump reminds them that the guy started acting this way just a few months before a multi-million dollar idea was worked out, alone in his office. He says that whenever the guy acts like this, he's about to shake the company. You have to accomodate programmers like this too, and to do so, you can't be looking over their shoulder all the time. I think you should not beware of a guy in a room, but you should change your schedule to accomodate them, and ask for updates from time to time. You have to trust your people or it won't work.

    7. Never trade a bad date for an equally bad date

    I would agree with this, but if possible you should follow the Id Software motto, when it's done, instead, because only then will you reach the zenith of design and programming practice. Just don't take it too far like some of the other companies with games due out in the late/mid nineties that we're still waiting/not-waiting for.

    8. When slipping, don't fall.

    Duh.

    9. Low tech is good.

    Only if you're at Microsoft, because that's all you've got. *zing!* Seriously... the guy says, "A smaller effort is almost always more desirable than a larger one." Can I just say that it reminds me of the commercial with the underachievers? It hinges on putting forth a paced effort, not a minimal output. Sometimes you have to do some work.

    10. Design time at design time.

    --
    The dangers of knowledge trigger emotional distress in human beings.
  7. Re:My post by Hognoxious · · Score: 5, Insightful
    Microsoft is good at it as each product that goes out the door can generally be qualified to solve at least one problem.
    Solving problems isn't hard. Solving them without creating worse ones is.
    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  8. Re:Worth considering... by gillbates · · Score: 5, Insightful

    I don't think anyone would stoop so low as to say they put out the WORST product out in the market.

    I don't want to get into a flame fest, but since you claim they don't produce the WORST product in the market, and since Windows is such a large part of their revenue, I challenge you to find:

    • An OS that is less secure than Windows.
    • An OS that crashes more frequently than Windows.
    • An OS with a EULA more restrictive than Windows.
    • Software which has slipped the scheduled release date more often and by a larger margin than Windows. IIRC, Microsoft hasn't released on OS on time in the last 10 years.

    Please limit your responses to commercial vendors. Naturally, we'll exclude non-profit and free-software vendors because they couldn't possibly have the financial resources necessary to produce quality software.

    Why is it that everyone looks to Microsoft for advice on code quality when, after 20 years of writing operating systems, they still can't keep it from crashing? Microsoft's genius lies not in their code quality, but in their marketing department . A study about how Microsoft markets their software would be much more enlightening; their code quality is nothing to which we should aspire.

    --
    The society for a thought-free internet welcomes you.
  9. Re:My post by Oligonicella · · Score: 5, Insightful

    Bullshit. I develop software, and have done so since '72. "Zero defects" is an absolute statement. One can wiggle all one wants, redefine the meaning of "zero", or redefine the meaning of "defects".

    Still bullshit. A bug is a defect.

  10. Wow, what a troll... by tqbf · · Score: 5, Insightful

    These "21 Rules Of Thumb" are distilled from McCarthy's "Dynamics of Software Development" book, which has been on the bookshelf of almost every dev lead I've ever worked with or known. You could have a similar "argument" about how good IBM software is (WebSphere?), but at the end of the day, if you're doing it to critique The Mythical Man Month, you're going to sound really dumb.

    More importantly, all bitching about MSFT quality aside, McCarthy was dev/program manager on Visual C++, which is not a poorly-regarded Microsoft product (it's one of the best compiler products on the market). There are extremely successful products --- successful on every axis --- that come out of Microsoft. Visual C++, and McCarthy's book, represents one of them. Microsoft Excel, and Joel on Software, represents another.

    Microsoft is a huge company with an enormous talent pool and many very qualified, very effective well-jelled teams. You do not sound credible when you try to tar them with the "Microsoft is buggy crap" brush, especially when you're arguing with McCarthy or Spolsky.

  11. Okay, I'll bite this troll by bonch · · Score: 5, Insightful

    I don't want to get into a flame fest

    Right.

    , but since you claim they don't produce the WORST product in the market, and since Windows is such a large part of their revenue, I challenge you to find:

    First of all, the question itself is ridiculous. I can quite genuinely say that Windows XP has never crashed for me or been broken into. However, Linux has frozen up on me several times, and it has had kernel exploits in the past. But that doesn't make Linux less secure or less stable.

    The fact that Windows is used WAY more than Linux means you'll get a greater total sum of crashes and breaches, but that doesn't make Windows less secure or less stable. You're arguing a ridiculous premise.

    * An OS that is less secure than Windows.


    Remember that Slashdot article about how Linux was the most-breached OS on the net? I sure do. A Slashdot editor even modified the headline so it said "Linux Most Attacked OS On Net" instead of "Most Breached" so it didn't look as bad.

    * An OS that crashes more frequently than Windows.

    Windows never crashes for me. I haven't seen a BSOD since 1999. But, Slashdotters seem stuck in the late 80s and think Windows 98 still represents the stability of Windows today.

    I had Gnome crash my laptop under Red Hat 9 the very first time I used it. So fucking what?

    * An OS with a EULA more restrictive than Windows.

    This is a silly question to throw in. Windows' EULA isn't much more restrictive than, say, IBM's EULAs or Apple's. As if the EULA has anything to do with the operating system itself. Complain about the legal department but not the software development department.

    * Software which has slipped the scheduled release date more often and by a larger margin than Windows. IIRC, Microsoft hasn't released on OS on time in the last 10 years.

    Yeah, and how late was 2.6 again? Oh, that's right, it shipped a year later than Torvalds said it would. Again, this is a completely ridiculous argument.

    I know it's l33t to be a raving Linux zealot, but a lot of people are really getting tired of it, as evidenced by the posts I've been seeing lately that are getting upmodded. I'm very pleased to see more and more people approaching things rationally and fairly now--even if Slashdot editors don't. The very fact that Clippy jokes and BSOD jokes are still upmodded--two things 95% of Windows users haven't seen since 1999--shows you how stuck in the past zealots are and how they won't let go of their old Windows 98 experience. They're competing with old 9x versions of Windows when meanwhile everyone else moved on when the codebase unification to the NT kernel happened in late 1999, and we got Windows 2000.

    But, I forgot. This is the "year of Linux on the desktop." Hey, remember that article Slashdot posted that said Linux desktop usage would overtake Apple's in a year? I even had one Slashdotter cite it to me as evidence for a point he was making, simply because Slashdot had reported it. So much for that.

    If you're a Linux newbie and you're coming here for tech news, you're doing yourself a great injustice, as everything will be skewed and you will get a huge wrong impression about how the tech world is doing.

  12. 10 other rules by tootlemonde · · Score: 5, Insightful

    These rules of egoless programming have been circulating on various sites:

    The Ten Commandments of Egoless Programming

    1. Understand and accept that you will make mistakes. The point is to find them early, before they make it into production.

    2. You are not your code. Remember that the entire point of a review is to find problems, and problems will be found. Don't take it personally when one is uncovered.

    3. No matter how much "karate" you know, someone else will always know more. Such an individual can teach you some new moves if you ask. Seek and accept input from others, especially when you think it's not needed.

    4. Don't rewrite code without consultation. There's a fine line between "fixing code" and "rewriting code." Know the difference, and pursue stylistic changes within the framework of a code review, not as a lone enforcer.

    5. Treat people who know less than you with respect, deference, and patience.

    6. The only constant in the world is change. Be open to it and accept it with a smile.

    7. The only true authority stems from knowledge, not from position.

    8. Fight for what you believe, but gracefully accept defeat.

    9. Don't be "the guy in the room." Don't be the guy coding in the dark office emerging only to buy cola. The guy in the room is out of touch, out of sight, and out of control and has no place in an open, collaborative environment.

    10. Critique code instead of people -- be kind to the coder, not to the code.

    Like most platitudes, they apply in some situations and not in others and there are plenty of valid exceptions.

    For instance: Treat people who know less than you with respect, deference, and patience -- but don't let them tell you how to do your job.

    Or: Fight for what you believe, but gracefully accept defeat -- and when you turn out to have been right, don't let anyone forget it.

  13. Re:My post by augustm · · Score: 5, Insightful

    Does every piece of software have bugs?

    Does Knuth's TeX program have bugs? He will
    send you a cheque if you find one

    TeX was designed, then implemented. It works