Slashdot Mirror


Joel On Software

Daniel Shefer writes "Joel on Software is a collection of essays from the Joel Spolsky's Joel on Software web log. Spolsky is also the author of User Interface Design for Programmers (previously reviewed on Slashdot) and is the principal of Fog Creek Software. In this book, Spolsky distills his technical knowledge, wit, and years of experience into an engaging collection of essays on programmers, programming and the software world. Spolsky covers everything from the technical aspects of writing code to software project management, and even offers insights into software marketing." Read on for the rest of Shefer's review. Joel On Software author Joel Spolsky pages 362 publisher Apress rating 9.5 reviewer Daniel Shefer ISBN 1590593898 summary Great insights into programming, software in general and how to do it right.

The essays in this book are even-handed. While he focuses on Windows, Spolsky is not a fanatic believer in one approach over another; if C# works better than Visual Basic for a specific task, so be it. His approach is refreshing when so much is written by opinionated members of the "Microsoft is the source of all evil" camp.

Spolsky starts with down-to-earth topics, such as how to estimate the length of time programming tasks will require, and the ratio of QA people to developers needed for a healthy product. He then moves on to share his thoughts on managing developers and higher-level software-related issues.

One of the book's opening salvos, "the Joel Test for Better Code," is a simple "irresponsible" test that Spolsky created to provide insight into how well a development organization is functioning. The test looks for things like using source-code control, and having testers create daily builds with a single click of a button. As someone who has worked companies that would have failed the "Joel Test" miserably, I can attest to the importance of these criteria.

The chapter on Unicode is a short and to-the-point overview on the topic and should be required reading for any software developer and product manager who wants an introduction to Unicode.

Clean and bug-free code is a common thread in several essays in the first part of the book. Spolsky explains the inappropriateness of developers performing QA and stresses the need to "eat your own dog food." Having developers conduct testing is a waste of resources and upsets them just the same; forcing developers to use their own product will motivate them to create a better one.

In "Fire and Motion," Spolsky takes issue with the "architect astronauts" who generate vague technology announcements that are often counterproductive by creating fear, uncertainty and doubt. While these announcements may drive competitors to waste cycles in converting their code base to the latest technology, they offer no real substance. Misguided companies, mesmerized by the promise of new technologies or by demands from numskull customers, can sap years of developer time when product improvement should have taken precedence.

In "Biculturalism," Spolsky dispassionately discusses the differences in world view between Windows and UNIX programmers. Spolsky probably rankled some UNIX fans, but I share his perspective. Spolsky points out that UNIX developers are just as smart as Windows developers, but when it comes to understanding their end users and having empathy for customers, they tend to fall short.

The "Gorilla Guide to Interviewing" is relevant to all hiring managers. Spolsky describes some of the traits of his ideal hires. Those who, in one sentence, are both smart and "get things done." Spolsky believes in hiring people that can perform multiple roles. Spolsky believes in making a "sharp" decision about the candidate, and finds insulting that a hiring manager would not find the interviewee good enough for his own team but would refer him to another team. Spolsky shares one of his hiring secrets: never hire a "maybe." This might seem obvious, but he details why it's better to reject a good candidate than to hire a bad one. Firing can cost a lot of money, time and effort. Additionally, Spolsky suggests questions to ask during an interview and the necessary "what not to ask."

The "Iceberg Secret Revealed" discusses the manner in which customers express their pain, and points out that customers often don't really know what they want. It is the product manager's job to find a solution that will solve their customer's pain while keeping an eye on the market she is addressing. Just listening to customers without proper filters, is as Spolsky points out, a recipe for disaster. And the Iceberg Secret? Spolsky illustrates in five different ways how customers and stakeholders only look at the tip of the iceberg, and not at the substance beneath it.

In one of the shorter chapters, a missive on measurement, Spolsky addresses the prickly issue of measuring performance in companies. In addition to his own insights on measuring performance, he recommends Measuring and Managing Performance in Organizations by Robert Austin. I will add that to my reading list.

Spolsky wrote an introduction to In Search of Stupidity . He offers there the "geek's" perspective on what it takes to make a successful software company, taking as a starting point the ten largest software companies in 1984 and the equivalent list of 2001. His conclusion is that "no software company can succeed unless a programmer is at the helm." With his usual even handedness, he is quick to point out some of the debacles programmers are responsible for. In the example he gives, Netscape's disastrous rewriting of their code base and almost complete loss of market share while they were doing it. His bottom line? To succeed, a company needs a management team that love and thoroughly understand programming and understand and love business. Not as easy as it sounds.

In his five "Strategy Letters," Spolsky writes about issues that are relevant to anyone making strategic business decisions in the software industry. He starts with company growth modes by comparing Ben & Jerry's to Amazon. He then discusses the classic "Chicken and the Egg" problem when building new platforms. His example is still relevant -- few will develop .NET-based clients until a large number of end users have the .NET engine installed on their PCs and end users will not install it until there are enough applications that require it. Spolsky moves on to discuss backward compatibility, open source economics and the myth of bloatware.

Spolsky points out that despite the growing size of applications, the cost of disk space has plummeted even faster. This may be true, but Spolsky does not address the programs' resulting sluggishness despite more and more processing power. Spolsky wraps up the essay by dismissing the notion of coming out with a "lite" version for a given software product. I agree that lite versions do not always satisfy everyone, but they can be a great way to keep out low-end competitors from entering the market in addition to a way to introduce customers to the high-end product.

The chapter about Microsoft losing the API war is a classic. Spolsky starts with the seemingly outlandish assertion that Microsoft lost the API war. After apologizing for his "grandiloquence and pomposity," he goes on to build a convincing case that if Microsoft has in fact not lost the war, they are definitely in danger of doing so. He starts with the diminishing interest in the Windows API as a development platform. He then describes how two camps inside Microsoft (the "Raymond Chen" and the "MSDN Magazine" groups) are influencing Microsoft's approach to their developers' tools. The former group emphasizes creating a backward-compatible operating system, free of bugs and impervious to third-party applications' errors that can harm it. On the other hand is the MSDN group, promoting the latest and greatest Microsoft has to offer. As Spolsky sees it, the latter group has the upper hand, and because of this, Microsoft is losing their developer base to simpler, more easily deployed platforms.

In part 4 of the book, Spolsky takes on Microsoft's .NET strategy. He describes Microsoft's tendency to create FUD in the marketplace with vague, hollow statements, and details his own company's reasons for not adopting .NET anytime soon. Spolsky wraps up with a very straightforward feature request: a linker for .NET. This would seem to be an obvious feature, but Microsoft so far doesn't agree. Microsoft is acting as though they want to win the development platform war in a single sweep. At the same time, independent software vendors (ISVs) are resisting, because they have to guarantee backward compatibility and support for everything their customers run.

My only complaint about the book is that it's too short. On my bookshelf, it resides next to the Mythical Man Month, another favorite.

Spolsky is knowledgeable, funny and free of unnecessary religious fervor. Joel on Software is a must-read for developers, product managers and those who want more insight into the world of developing software.

Daniel Shefer is a Software Product Management professional and has written numerous articles on this topic. You can purchase Joel on Software from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

44 of 166 comments (clear)

  1. Aha! by Otter · · Score: 4, Interesting
    I'd been meaning to put this in a JE after it was rejected as an article submission, but this seems like a good opportunity:

    Joel is assembling a volume of "the best software essays" of 2004 and is taking reader nominations. Suggest something if you have a favorite, or just click through and read everyone else's picks.

  2. Worth noting by prostoalex · · Score: 4, Interesting

    The entire book is available on the Web for free, since the book is basically the collection of Joel's best articles. He cleaned them up, according to the introduction, but anyone willing to "look inside the book" (tm) before getting it, has a chance to go through 100% of it.

    1. Re:Worth noting by michtu · · Score: 4, Insightful

      That's cool, but I think having the book on your desk can do more to get other people to read it than pointing them to a web site. Logical or not the people who should read his stuff will be more inclined to believe a book though from experience the people who should read the essays, won't.

      --

      Frenchman to King Arthur - "You've got two empty halves of coconuts and you're bangin' 'em together"
  3. Re:From Joel's blog by Anonymous Coward · · Score: 3, Insightful

    Uh, no shit, and if North Korea nukes his office that might affect his coding, also. Obviously he's talking about the code itself, which cares nothing about the guy at the keyboard.

  4. A quick FYI by Swamii · · Score: 4, Interesting

    For those that don't know the background to the story, Joel published a "How Microsoft Lost the API War" essay on his blog which stirred up enough developers at Microsoft that the company decided it would backport their new windowing and rendering system ("Avalon") and their new networking and messanging system ("Indigo") to previous versions of Windows, including XP. Before this essay, the said technologies had been designed for Windows Longhorn only.

    Point being that Joel has a lot of influence and a lot of respect among the Microsoft folks. I also hope his suggestion of a linker for .NET falls on listening ears in Redmond, time will tell.

    --
    Tech, life, family, faith: Give me a visit
    1. Re:A quick FYI by atheken · · Score: 2, Insightful

      agreed, and I also don't understand why there's so many "haters" out there - he writes eloquently, and only picks topics that have at least SOME relevance. (more than I can say for *most* blogs). Everybody probably hates daringfireball.com also.

    2. Re:A quick FYI by Anonymous Coward · · Score: 2, Insightful

      One of the reason, imho, that MS puts alot of weight into Joel is because he played a MAJOR part in the development of VBA for Excel. I'm not versed in his history at MS but I do recall him being noted as a very talented developer by top MS executives.

    3. Re:A quick FYI by mccoma · · Score: 2, Insightful
      There are a lot of companies in the world in a lot of different fields that rely on "individual talent". Yes "individual talent" is hard to replace, but the productivity gains from hiring top flight people with talent are worth the effort. Great companies hire great people.

      Software is not factory work, methodologies come in and out of favor, but great developers produce more and cleaner code than an average developer. I have never been on a project where people can be replaced like "lego pieces". There is always a ramp up time to not only learn about the organization but domain knowledge.

      The figure 10x more productive is quoted a lot, and just think - a bargain at around 1.5 to 2x the price.

    4. Re:A quick FYI by cygnusx · · Score: 3, Interesting
      Microsoft ... decided it would backport ... their new networking and messanging system ("Indigo") to previous versions of Windows, including XP

      Indigo was supposed to be available for Windows XP and Windows 2003 ever since it was announced.

      Don Box's introduction to Indigo in the Jan 2004 issue of MSDN (available on the web since early November 2003) says as much:
      As part of Windows Longhorn, Indigo is available to every Longhorn application. Indigo will also be available as a separate download for Windows XP and Windows Server 2003.

    5. Re:A quick FYI by rjshields · · Score: 2, Informative

      I'm not versed in his history at MS but I do recall him being noted as a very talented developer by top MS executives.

      Just playing devil's advocate here, how would top executives know how to spot a talented developer? There's a developer at my work that people think is "very talented" because he's always boasting about how good and fast he is, inflating his own accomplishments and stroking people's egos. Realistically, he's an average developer, but he fools the "top executives" because they all come from a sales and marketing background and wouldn't know how to spot a talented developer if one landed right in front of their noses.

      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  5. Definitely no PHB by ggeezz · · Score: 4, Insightful

    Joel is definitely no PHB (pointy haired boss). You will think that many of his insights are just plain common sense and that is correct. The problem is that too many times management will not use common sense and they need someone like Joel to point it out to them.

    I'm Joel's collections made it into dead tree form as that will lend them some more credibility. Good reading.

  6. Re:Joel is a blowhard by oexeo · · Score: 2, Insightful
    "-1 flamebait, but all Joel ever talks about is what a smart guy he is and how everyone else is an idiot and all companies, except fog creek, suck."

    You just described most of the programming population (except for the fog creek part)

  7. Re:What's the guy's name again? by Anonymous Coward · · Score: 2, Funny

    404 Teh funny not found

  8. Circular Reference by dchamp · · Score: 3, Funny

    Gotta love this:

    Joel on Software is a collection of essays from the Joel Spolsky's Joel on Software web log.

  9. Watch those guys by MikeMacK · · Score: 2, Funny
    His approach is refreshing when so much is written by opinionated members of the "Microsoft is the source of all evil" camp.

    Yeah, you gotta watch those guys, I much prefer the unopinionated members of the "Microsoft is the source of all evil" camp - they write much better stuff.

  10. Re:Yep, this guy's an idiot by jjohnson · · Score: 3, Funny

    There's definitely an idiot in there somewhere, but I don't think it's Spolsky...

    --
    Anyone who loves or hates any language, platform, or manufacturer, doesn't know what they're talking about.
  11. Re:Yep, this guy's an idiot by Lao-Tzu · · Score: 4, Insightful

    Yeah, I used to work for a company that believed that. No specifications, since deciding how things will work would take too long. So we did iterative software development, instead - build it once, present it to the users, and then start over because it wasn't what they wanted.

    I quit.

    Oh man, am I ever happier now.

    Joel is no idiot. He realizes that specifications take time and effort to develop, and to keep up-to-date. He argues quite convincingly for specifications as a wise investment of time, not a waste. A large section of this book is devoted to "painless" specifications, and it is insightful and useful. This book is the only book I've ever felt a need to keep next to my keyboard - and it's not even a technical manual.

  12. I do not pay much attention to Joel Spolsky by Paul+Bain · · Score: 2, Insightful

    I do not pay much attention to Joel Spolsky because he seems to have a poor understanding of the most important trend in software today: the open source revolution (OSR). He rarely writes anything positive about OS (or, at least as of 18 months ago, he rarely did so), and his CMS software, CityDesk, is not open source software. Open source tends to improve more rapidly than proprietary software. If Joel understood that simple fact (and he does not), then he would release his software under an open source license. And he would move to Linux, abandoning M$ Windows.

    Furthermore, Joel's "technical interview questions" are less than optimal. If you want to assess a prospective employee's intelligence, the first questions that you ask should be along these lines: "How long have you been using Linux or *BSD? How long have you been using Apache, Tomcat, Zope, mod_perl, PHP, gcc, etc.? What is the difference between TCP and UDP? What are the most salient differences between Linux distributions these days? Why do you use your particular distribution (of Linux, *BSD, etc.)? What do you know about package management?"

    Why do people who have such a poor understanding of the OSR (e.g., Joel, Steve Jobs) attract such attention, nay, adoration, from Slashdor readers? I simply do not understand it.

    --

    A lawyer & digital forensics examiner. Also an expert on open source software (OSS).
    1. Re:I do not pay much attention to Joel Spolsky by mbullock · · Score: 3, Insightful

      I really don't understand the response. I work for a medium sized company that is growing fast. A lot of our initial infrastructure (hardware & software) came to the company via 2 key acquisistions. We use OS software and solutions where we can and were they make sense. Nevertheless, we have to be able to support a range of non-OS solutions. If we hire a programmer help maintain a legacy VB application it is great if he/she has OS experience, but certainly experience in MS environments is absolutely critical. Unless you are lucky enough to work in an OS bubble the questions you pose are just plain silly. What I personally value in coworkers is smarts, work ethic, and an ability to learn things quickly. The specifics are secondary because they change.

    2. Re:I do not pay much attention to Joel Spolsky by Naum · · Score: 2, Insightful

      Good Gates, how could this comment be moderated down to -1. Agree or disagree with the poster, but valid points are made.

      Read through Mr. Spolsky's web site and see that he doesn't acknowledge free software/open source at all other than sterotypical blanket bromides.

      --

      AZspot
    3. Re:I do not pay much attention to Joel Spolsky by TheRealSlimShady · · Score: 4, Insightful
      You don't think that might be because Joel doesn't share your opinions about Open Source software?

      Furthermore, Joel's "technical interview questions" are less than optimal. If you want to assess a prospective employee's intelligence, the first questions that you ask should be along these lines: "How long have you been using Linux or *BSD? How long have you been using Apache, Tomcat, Zope, mod_perl, PHP, gcc, etc.? What is the difference between TCP and UDP? What are the most salient differences between Linux distributions these days? Why do you use your particular distribution (of Linux, *BSD, etc.)? What do you know about package management?"

      Well that would be great if you were interviewing them for a job developing web applications on Linux - however, since he writes most of his software for the Windows platform they would be pretty useless questions really wouldn't they?

    4. Re:I do not pay much attention to Joel Spolsky by kashani · · Score: 3, Insightful

      Yes asking someone how long they have gone to school is the same as asking someone what they have DONE at school. I've got 5 years of major ISP exp, that trumps 10 years of screwing around with a single PC in your basement.

      kashani

      --
      - Why is the ninja... so deadly?
    5. Re:I do not pay much attention to Joel Spolsky by downbad · · Score: 2, Funny

      How can you call "open source" a revolution when it's been slowly festering for decades? That's like calling Linux revolutionary despite the fact that it's 13-year-old reimplementation of a 25-year-old OS.

    6. Re:I do not pay much attention to Joel Spolsky by Fulcrum+of+Evil · · Score: 2, Insightful

      If Joel understood that simple fact (and he does not), then he would release his software under an open source license. And he would move to Linux, abandoning M$ Windows.

      And if you understood that sold software is intended to generate income, not exist for its own benefit, maybe you could run a business.

      If you want to assess a prospective employee's intelligence, the first questions that you ask should be along these lines: "How long have you been using Linux or *BSD?

      What the hell for? Lots of intelligent people don't use Linux/BSD or really drink the koolaid. Some of us have lives outside of the computer.

      Why do people who have such a poor understanding of the OSR (e.g., Joel, Steve Jobs)

      Why do you think their understanding is poor? Just because they aren't OS crusaders?

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    7. Re:I do not pay much attention to Joel Spolsky by JoeNiner · · Score: 2, Insightful

      You don't pay attention to Joel on Software because he doesn't support open source? Well, since he is in the business of selling software, why should he? He can surely sell a lot more web development clients for small businesses using windows than for those using Linux, and it is likely (to me) that his target marker (non-technical users looking for an easy to use web page maintenance system) are almost exclusively using windows anyway.

      When the time comes (ie, there is a significant linux desktop presence, with customers willing to pay for applications of that type), I would not be surprised at all if he develops software for the platform. Until then, he is trying to make money, not prove he is smarter than everyone else.

      Disclaimer: I have Joel's page bookmarked and have at least read a part of every one of his essays. You'd be crazy not to learn what you can from successful people who share their thoughts with such ease in a public forum.

      --
      Mod Me, Bee-yotch!!!
  13. Bloat is good! by MrLint · · Score: 2, Insightful
    1. Re:Bloat is good! by vhold · · Score: 3, Insightful

      His point still stands though. It's a sacrifice. Anything you make at all, the very first decision you make whatsoever is whether you are going to actually make it, and that hinges almost entirely on how much it's going to cost to make. Stapling a bunch of fatty components together has the advantage of being relatively fast. It's not entirely uncommon for software to bloat up at first and trim it's fat here and there where it matters later.

      So without bloatware, there would be products we wouldn't have at all.

    2. Re:Bloat is good! by akuma(x86) · · Score: 4, Insightful

      >> Interesting reasons. Bloat is still bad, no matter how much CPU you decide you can throw at it.

      It's comments like this that make me think that computer science should be taught as an engineering discipline.

      It's a tradeoff. Engineers make tradeoffs all day long. Consider the costs and the benefits. In this case it's a tradeoff of how much does the user care about bloat vs. how soon they want the product. As disk and memory and cpu speed all increase EXPONENTIALLY at the same cost point over time, the tradeoff often falls towards bloat since exponentially falling hardware prices make the user more likely to be indifferent.

  14. A bit trigger happy with the name calling? by vhold · · Score: 2, Interesting

    Hmm, when I went poking around I found this quote almost immediately..

    'First of all, failing to write a spec is the single biggest unnecessary risk you take in a software project. It's as stupid as setting off to cross the Mojave desert with just the clothes on your back, hoping to "wing it."' ....

    I don't think you are really justified to call the guy an idiot with your single, most likely very out of context, quote. Here is where I got this quote.

  15. Actually I just read this too... by RobinH · · Score: 3, Insightful

    My review would be that it was a quick, enjoyable, and thought provoking read. I don't think you should necessarily live by what he says, but he makes some good points. I particularly appreciated his essay about how to write functional specifications, and after reading that online, I decided to go out and purchase his book.

    The book doesn't flow too well, since it's a collection of loosely related (or sometimes not-at-all related) material. You also have to check the dates on each one, since some of the essays, particularly his early comments about .NET, seem quite dated.

    Overall, I'm happy I read it. If 30% of it has something useful or insightful, then it's a bargain.

    --
    "I have never let my schooling interfere with my education." - Mark Twain
  16. Re:From Joel's blog by mattyrobinson69 · · Score: 4, Funny

    Thats not true. My computer doesn't didn't care about me and crashed frequently. Then i decided to start caring for it and installed linux and now it shows its love.

  17. Review advertised. Summary delivered. by skoda · · Score: 5, Insightful

    I realize critical writing is difficult, but if you're going to advertise a book review, deliver one. Like most Slashdot "reviews", this review is actually a summary.

    A review should provide critical thoughts on the strengths and weaknesses of the material under consideration. A book review is not just a regurgitation of its contents. It also also provides an evaluation of its merits, noting where it succeeds or fails in its purpose. And enables me to determine if its worth its while.

    This "review" nicely summarized the contents of the book but largely failed to inform as to whether the reviews are well written, provide new ideas, or present old ideas in particularly valuable manner. Therefore, I cannot recommend reading this review. Instead, just read the book's table of contents.

  18. Sounds like 13yr old kid rants by Anonymous Coward · · Score: 3, Interesting

    In "Biculturalism," Spolsky dispassionately discusses the differences in world view between Windows and UNIX programmers. Spolsky probably rankled some UNIX fans, but I share his perspective. Spolsky points out that UNIX developers are just as smart as Windows developers, but when it comes to understanding their end users and having empathy for customers, they tend to fall short.

    I should probably read the thing firsthand, but if this is an accurate summary then it is garbage. This "difference in "world view" between Windows and UNIX programmers is such an overly simplistic and stupid straw man argument.
    Politics are orthogonal to software indeed, why don't you follow your own goddamn sentiment Joel.

    Having worked a ton of jobs as an electrical, hardware, and software engineer I can tell you that this generalization makes absolutely no sense. In general, there is absoultely no macroscopic correlation between software usability and underlying operating system platform. Software development is such a complex process, and for anything other than some shitty little bug tracking tool, one that involves more than a few people. How these teams are managed (that ranges from methodology, to choosing the smart/professional people in the first place) has absolutely nothing to do with some UNIX/Windows dichotomy you're promulgating. There are of course the zealots, of which you are a Windows/Microsoft one, even if you don't realize it. This is from the fact that you draw this simplistic separation, no matter how charitable you are about the other side.

    When you get out of the realm of the shrink wrap software market from Best Buy, you realize there is a huge multi billion dollar industry of software used for things like manufacturing and design, and no Joel, they're not all programmers tools.
    For many segments of this market, the operating system used becomes a secondary issue to having an integrated or working system.

    For a high profile example, there was the LAX shutdown due to the shitty designed Windows based ATC system. Apparently, according to you, at least the developers had empathy for the poor bastards flying to LAX when their shitty system didn't work. The fact of the matter is that this could and probably would have happened if the same team of idiots had chosen to use a UNIX system. It is not an issue of smartness or UNIX people people being as smart as Windows people.

  19. An error in one of his essays by Sirp · · Score: 4, Interesting
    I don't know if this made it into the book or not, but there is an error in one of his essays that reflects a glaring misunderstanding of the workings of C++. From http://www.joelonsoftware.com/printerFriendly/arti cles/fog0000000014.html :
    You could have code like this:

    int foo( object& r )
    {
    r.Blah();
    return 1;
    }

    and you would get crashes there because the r reference was NULL, even though that's completely impossible, there's no such thing as a NULL reference, C++ guarantees it
    And then he goes onto blaming the problem on 'cosmic rays' and the user's computer. While it is true that there is no such thing as a NULL reference in C++, the problem is still likely to be a simple bug in his software. There are many possible constructs that the C++ Standard leaves as 'undefined'. A conforming compiler can do anything it wants if you do something involving undefined behavior, and that includes creating a 'NULL reference'. Just try this program:
    #include <iostream>

    void f(char& ref)
    {
    std::cout << "value of reference is " << (int)&ref << "\n";
    }

    int main()
    {
    char* p = NULL;
    f(*p);
    }
    What's its behavior? It's undefined, because a pointer-to-NULL is dereferenced, and that's a big C++ no-no. It could be anything whatsoever according to the C++ standard. The most common behavior though, and the behavior of my compiler is to output, value of reference is 0 That's right, we have created us a 'NULL reference'. I must admit, I'm a little surprised that someone who has so many years of experience as a programmer doesn't understand this, and instead blames it on the user's computer. I know his book is mostly on a higher-level, looking into the management of software projects, but he seems to think that being a good programmer is fundamental to being a good manager...
    1. Re:An error in one of his essays by Alex+Belits · · Score: 2, Informative

      *p in this case _is_ the dereferencing of the NULL pointer, and it certainly will produce a segmentation fault. The use of reference merely obfuscates the nature of dereferencing in this example, and a debugger or runtime has to find out, what exactly should be said about the reference when the segfault/exception/... happens inside the function because dereferencing happened not at the earlier moment (outside the function) when it looked like it was supposed to be done. Even if some particular behavior was defined for this situation, optimization would likely break it.

      So the most Joel could accomplish by using a reference is that the dereference of NULL would kinda supposed to happen outside of his precious function, and in the code of the poor guy who dared to call it. "Kinda supposed" because it isn't even guaranteed to work that way in the first place.

      --
      Contrary to the popular belief, there indeed is no God.
  20. Re:From Joel's blog by ZoneGray · · Score: 3, Insightful

    It's funny, everybody thinks they know to vote for one guy or the other, and they'll somehow prevent software development (or car-building, or steelmaking) from moving overseas.

    But did you ever stop to think about the laws that would be necessary, especially for software or services? And could they be effective? If I buy software from a guy in the Netherlands instead of Iowa, are they gonna bust me?

    What if I hire an Asian coder I met on a BBS to work on a site? And what if I like the guy's work, and I want to use him to work on 20 more sites? And then he decides to hire first one helper, then another, and his company grows? At what point do I have to stop doing business with him?

    How do you write a law like that without being incredibly ambiguous, or leave numerous loopholes, or ways to work around it (not to mention the paid-for loopholes, similarly pitched in the name of "job protection").

    Folks have been promising protection from overseas competition since... well, forever. And it should be blessedly obvious by now that it just doesn't work. Trying to regulate software and services in that manner is a civil liberties nightmare.

  21. A wee bit disappointing... by a_karbon_devel_005 · · Score: 4, Insightful

    After reading this book, I actually decided Joel was much LESS clever than I initially thought. Most of his knowledge is directly from Microsoft, you might as well read a Microsoft training manual. Yet it's plainly obvious he fails, for a LONG time, to grasp .NET

    Pages upon pages bitching about how stupid .NET is and of course, he ends up moving Fog Creek software towards it. He seems short sighted in many regards. Remember the page where he wanted a linker for .NET? hehe.

    My impression after reading the book is that he was a rich guy who went to good schools, was given opportunities and learning early (thousands of dolloars on computers when he was a kid and computers were quite rare), and basically recycles things he was spoon fed at Microsoft.

    There's nuggets of goodness, but my opinion of Joel's knowledge and expertise actually went down after reading the whole book.

    1. Re:A wee bit disappointing... by Junks+Jerzey · · Score: 2, Insightful

      After reading this book, I actually decided Joel was much LESS clever than I initially thought. Most of his knowledge is directly from Microsoft, you might as well read a Microsoft training manual. Yet it's plainly obvious he fails, for a LONG time, to grasp .NET

      Joel is smart, but he's decidedly old school in many ways. Or rather he's old school for the typical reason people are old school: because he's resistant to change. This is common among technical people in my experience. First they rant about how awful something is. Then they grudgingly use it. Then they become advocates.

  22. Re:I've never quite understood... by Foolhardy · · Score: 3, Informative

    What SuperKenall said is correct. However, some languages have more differences than others.

    All the .NET languages MS ships are all about the same; the only difference is syntax. .NET requires all compatible languages to adhere to the same capabilities so they can be 100% compatible with each other. Unfortunately, it also requires all the languages it supports to be dumbed down to the lowest common denominator. There is a very long list of things that had to be removed from ISO C++ to create Managed C++, because including them would make it incompatible with VB and C# (and .NET), such as multiple inheritance, templates (non-type params too), pointers, member pointers, etc.

    Functionally, VB.NET, C#, J#, and Managed C++ all have exactly the same capibilities. They are all sequential, procedural, imperative, object-oriented languages that support single inheritance, interfaces, events, exceptions, type generics(they will in v2.0), reflection and share a common runtime library and work in a sandboxed VM. The ONLY differences between them are in syntax. So, it doesn't really matter which of these languages are used unless someone in the group doesn't know the syntax for a language in a source file they need to work on. The interfaces between them will be equivalent regardless of language.

    Compare this to a functional language such as Common LISP or Scheme, or a declaritive rule-baed language like Prolog or Mercury. Mercury can compile to .NET (it normally compiles to C), but you can forget about a runtime system like Prolog being compatible with .NET. .NET doesn't understand functions that don't have an implementation until you've decided the direction the argumets are flowing (a very big part of declaritive languages), .NET doesn't understand state tracking and backtracking or multiple modes based on detirminism, .NET doesn't understand multiple possible results for a single variable (a list is the closest you can get; it isn't the same because you have to do all the handling yourself which defeats the purpose).
    Haskell has to jump through hoops to get the needed multiple inheritance to work.
    OTOH, there are some interesting projects like F#, an OCaml like functional language. It has some serious issues to be compatible with .NET, though.

    It's like Microsoft offers you several languages, but they are all the same. The illusion of choices without really having any. They should just be like Java and admit that there might as well be one language-- seriously, Java could have all the multi-language support of .NET if there were bytecode compilers for other languages. .NET and Java are so alike in function anyways.

    As for what languages should be used when, where and by whom: I don't know. I'm still trying to figure that out. I know that some are good and bad for certain things, but I also know that personal preference is important, too.

    </rant>

  23. Re:Yep, this guy's an idiot by Moraelin · · Score: 3, Insightful

    Going ahead without a plan is a sure-fire way to get shafted. Especiall when the client doesn't have only _one_ person representing them and making the decisions, as is the pipe-dream of extreme programming. You soon end up with 1 of them wanting something, 1 threatening to cancel the contract if he doesn't get something completely different, 3 playing politics and prestige games and trying to make a "my department is more important than yours" point to each other, and 2-3 wanting to turn the whole program into something completely unrelated because their department didn't really need an e-commerce system but could use a customized project planning tool.

    And I even have an experience that went like this: the client actually nominated one person to represent him and make the decisions for him. The ideal situation, right? So we go ahead, and even accept a ton of change requests from him, and conversely he aggrees that extra time is needed to implement those. Also that some features that needed the most time weren't that necessary and can be left out for now. Had some iterations with him too. All went smoothly.

    So then here comes the big day and deadline and have to get the program accepted and paid. And the client PHB gets in the act and overrides the representative. "What? You threw away _that_ feature I explicitly requested myself in the beginning?! On whose authority?! And why the heck is this program two months late?! I needed it in March!!" (The two months had been accepted by his representative as time to implement the change requests.)

    Turns out the peon nominated to represent him didn't have as much authority as he and we thought. And not having anything written down and signed for all that stuff in between, well, basically his view was that we went into phantasy land and implemented something else than what he asked for. Two months late too.

    "No development method can save you if complete idiots are in charge."

    Quite insightful, but therein lies the rub: development without any specs and just doing what the clients fancy this week, basically puts _them_ in charge. They're your new managers, they decide what you do. And they're not even trained or experienced to manage a programming project. How do you prevent half of them from being complete idiots?

    Basically I'm not against iterations as in showing the the client some progress. But I do like having _some_ specs, if nothing else to prevent wasting even more work.

    True, the client doesn't know exactly what they want from the beginning, and just writing all down will make the bad spec that you mention. But here's the fun part: you can help the client give you a good spec. Mock-ups and small demos take a lot less work than actually coding those features, and lets them see roughly how things work and kill dumb ideas just the same.

    --
    A polar bear is a cartesian bear after a coordinate transform.
  24. OT: Re:A quick FYI by Tim+C · · Score: 2, Insightful

    If this is offtopic, then so is the parent. Stupid mods; you're not supposed to mod down just because you disagree with what's being said...

  25. Joel is way too self-assured by fionbio · · Score: 3, Informative
    I've came across an interesting discussion at Joel's site. Answering a question regarding Lisp, Joel writes:
    Paul Graham is brilliant and I'm sure lisp was great for him and his team, but I think most of the productivity of lisp came from the fact that it's garbage collected. I don't see any reason why a lisp programmer today would have a productivity advantage over a C# or Java programmer (and yes, I know lisp.)
    If I knew Lisp so little (seems like e.g. he doesn't even know about Lisp macros and has no clear idea what closures are), I'd have never written "yes, i know lisp". Later in same discussion some guys who know Lisp bring out clearly that Joel is, well, somewhat underinformed and that he'd better shrink his self-assurance a bit. Poor Joel seemingly was unable to say anything against it.
  26. I simply do not pay much attention by guet · · Score: 3, Insightful

    I simply do not understand it.

    Perhaps because you're so blinkered by your belief in the 'one true way'.

  27. Re:From Joel's blog by hey! · · Score: 2, Informative

    Well, there's more than laws. There's trade policy, diplomacy, and fiscal policy. Why are these important: they affect exchange rates. Exchange rates are what drive programming jobs overseas; American programmers are as good as any in the world, and in many cases there are inefficiencies in moving tech jobs overseas. But if the cost is low enough, then the jobs will go. Marginal changes have a big effect.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.