For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | schmylan's commentsregister

Before the title was moderated there was an important tidbit. StackOverflow doesn't unit-test. Fascinating.


tldw; He says he doesn't advocate it but they get away with it by having the community test it out for them in their meta site. Then the community writes up the bugs.


He actually says " I'm not advocating that you shouldn't put in tests. [ The reason we can get away with this ] is that we have a great community. "

I take this to mean that he feels that StackOverflow doesn't need tests. Not that tests are useless.


User community as testers presents some interesting pros and cons.

Pros:

* Tests are self-updating. Add a new feature: tests come in for free. Change a feature: tests automatically update. Fail to document a change: tests fail.

* Tests are unusually thorough

* Eventually consistent testing. If nobody ever complains, it probably wasn't a bug worth fixing.

Cons:

* Tests cannot be run offline. Feature must be committed and deployed before tests can be run.

* Potentially large quantity of false positives (bad bug reports)

* Potentially large quantity of false negatives (nobody notices particular bug, release considered good)

* Does not work for non-user-visible features

So basically you trade the reliability of your tests for a substantial build/release speedup. Some users experience each bug, but they are the users who are actively using the meta-community and have signed up to experience more bugs. Still, lack of pre-release unit testing must radically increase the importance of VERY careful code reviews.

Not the decision I would have made, but definitely has the sorts of advantages that a small team of engineers drool would drool over.


Remember that our community writes bug reports but also vets bug reports. We rarely have to deal with bad reports. Interestingly, large quantities of false negatives are a non-issue.


Presumably the same reason why they don't have a ton of bad questions on stack overflow: their community scoring would apply just as much to bug reports


That's an accurate read.

- Stack Exchange employee


You're missing it. Here's what Joel is saying without saying it: C# 4 is "that language.". Both his companies are built on the MS stack.


Given that the article is from 2006 that'd be some prescient writing.

Also at the time of this article they had their own custom language Wasabi. This article explaining Wasabi is dated a month after the original article:

http://www.joelonsoftware.com/items/2006/09/01b.html

It's based on VBScript, not C#.


C# 4.0 didn't exist when the article was written in 2006.


My mind works exactly the same way. Best thing for me is to commit to a deadline and have consequences if I miss. Involve third parties somehow (angel investors or get it approved as a school project). Make a deal with another entrepreneur where you owe him money if you miss your deadline. If you don't produce, don't fool yourself - you're not an entrepreneur just a dreamer.


> If you don't produce, don't fool yourself - you're not an entrepreneur just a dreamer.

I think I ought to write that down.


GoCart gets the local prices from the website itself. Several merchants' websites have a "check local inventory" feature where you supply the zip code to get a list of stores. Check out the video at http://www.biggu.com


You can find more information on GoCart at http://www.biggu.com/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You