Tim Barcz

Sponsors

The Lounge

Wicked Cool Jobs

Groups and Affiliations

Syndication

News

Poor Design Is Not a Bug

Ayende recently posted a an article titled “Where is the bug”.  While reading the comments, I was disappointed by some of the answers to Ayende’s request to find the bug. Here are two of the comments that stood out to me:

  • “You could argue the biggest bug is the use of a switch statement as it violates OCP.“
  • “The use of a switch statement is a bug in itself.“

What bothers me so greatly is people’s inability to separate design discussion with bugs. A bug is defined on Wikipedia as:

A software bug is the common term used to describe an error, flaw, mistake, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways

The two comments above don’t attempt to solve the bug and instead take an “ivory tower approach” to the problem (more befuddling is that removing the switch in favor of something else would leave the bug in place). This bugs me because we (as an industry) continue to care very little about the output and meeting of customer/business needs and more about code structure and semantics than actually working code.

Let me state for the record, it is perfectly acceptable to talk about code structure and design but please let’s not confuse a bug – an actual error or flaw in code – with poor design.

(I think it’d be humorous for Ayende to post some perfectly fine code and ask “Where’s the bug” and watch people trip over themselves trying to find something wrong)


Posted 11-25-2010 9:37 PM by Tim Barcz

[Advertisement]

Comments

Ayende Rahien wrote re: Poor Design Is Not a Bug
on 11-30-2010 10:05 AM

Tim,

:-)

Manjul wrote re: Poor Design Is Not a Bug
on 12-05-2010 11:24 PM

I agree Tim :)

Christopher Bennage wrote re: Poor Design Is Not a Bug
on 12-13-2010 9:49 AM

+1

Rob wrote re: Poor Design Is Not a Bug
on 12-14-2010 1:41 AM

Awesome. :D

jonn1 wrote re: Poor Design Is Not a Bug
on 12-25-2010 6:27 AM

comment6,

seubnubed wrote re: Poor Design Is Not a Bug
on 12-27-2010 5:53 AM

base1.txt;42;42

jonn3 wrote re: Poor Design Is Not a Bug
on 01-03-2011 2:19 AM

comment5,

jonn2 wrote re: Poor Design Is Not a Bug
on 01-03-2011 3:19 AM

comment5,

jonn2 wrote re: Poor Design Is Not a Bug
on 01-03-2011 4:19 AM

comment4,

jonn1 wrote re: Poor Design Is Not a Bug
on 01-03-2011 5:18 AM

comment4,

jonn2 wrote re: Poor Design Is Not a Bug
on 01-03-2011 6:18 AM

comment1,

JohnBush wrote re: Poor Design Is Not a Bug
on 05-24-2011 1:17 AM

Hello! Very good job(this site)! Thank you man.

dfhsfjsj wrote re: Poor Design Is Not a Bug
on 05-26-2011 8:11 AM

18.txt;16;16

dfhsfjsj wrote re: Poor Design Is Not a Bug
on 05-26-2011 8:52 AM

18.txt;16;16

jonn1 wrote re: Poor Design Is Not a Bug
on 05-27-2011 5:10 PM

comment6, <a href="www.dreambighustlehard.com/.../valiumonline">powerful valium</a>,  8-[[,

jonn1 wrote re: Poor Design Is Not a Bug
on 06-01-2011 4:59 PM

comment4,

jonn2 wrote re: Poor Design Is Not a Bug
on 06-01-2011 5:44 PM

comment1,

jonn1 wrote re: Poor Design Is Not a Bug
on 06-01-2011 9:34 PM

comment2,

jonn3 wrote re: Poor Design Is Not a Bug
on 06-01-2011 10:16 PM

comment3,

jonn1 wrote re: Poor Design Is Not a Bug
on 06-02-2011 2:04 AM

comment5,

jonn1 wrote re: Poor Design Is Not a Bug
on 06-02-2011 2:45 AM

comment2,

alexd845 wrote re: Poor Design Is Not a Bug
on 11-22-2011 7:43 PM

Very nice site! <a href="opeyixa.com/.../1.html">is it yours too</a>

yjtuusmyvb wrote re: Poor Design Is Not a Bug
on 12-14-2011 3:20 PM
gqzokcjneo wrote re: Poor Design Is Not a Bug
on 12-14-2011 3:31 PM
kizccqrhgw wrote re: Poor Design Is Not a Bug
on 12-14-2011 4:10 PM
upzsoqceou wrote re: Poor Design Is Not a Bug
on 12-14-2011 4:21 PM
bggqfewvus wrote re: Poor Design Is Not a Bug
on 12-14-2011 5:00 PM
lhvcfsrizl wrote re: Poor Design Is Not a Bug
on 12-14-2011 5:11 PM
meazrffgxh wrote re: Poor Design Is Not a Bug
on 12-14-2011 5:50 PM
ntxltcsiqp wrote re: Poor Design Is Not a Bug
on 12-14-2011 6:01 PM
lzywebbrme wrote re: Poor Design Is Not a Bug
on 12-14-2011 6:23 PM

lgoqpefwmjdjpvt, http://www.pcywbpzluy.com xymcggmctg

nencxfstmz wrote re: Poor Design Is Not a Bug
on 12-14-2011 6:34 PM

egzayefwmjdjp, http://www.zavjeuahbx.com bvemrrdvpj

grsqnhyhlo wrote re: Poor Design Is Not a Bug
on 12-14-2011 7:12 PM

dobiaefwmjdjpvt, http://www.caqltkcjfx.com couvwybutd

bbcczfqqvt wrote re: Poor Design Is Not a Bug
on 12-14-2011 7:23 PM

sappjefwmjdjp, http://www.wzchjnbqwj.com iuhqjrkhir

fnlgnqqgjj wrote re: Poor Design Is Not a Bug
on 12-14-2011 8:01 PM

dkcelefwmjdjpvt, http://www.tochxuztda.com wlgxcncvms

hqnrmmopqp wrote re: Poor Design Is Not a Bug
on 12-14-2011 8:12 PM

ppgmrefwmjdjp, http://www.tgdbrtrbej.com bwfeipkeeu

Pharmb396 wrote re: Poor Design Is Not a Bug
on 01-02-2012 6:10 AM

Hello! dbcdkdg interesting dbcdkdg site! I'm really like it! Very, very dbcdkdg good!

xauppwibmi wrote re: Poor Design Is Not a Bug
on 04-17-2012 1:16 PM
viifztgjwb wrote re: Poor Design Is Not a Bug
on 04-17-2012 2:20 PM
zpowrvbyki wrote re: Poor Design Is Not a Bug
on 04-17-2012 3:23 PM

xoxsrefwmjdjp, http://www.xyqudviglg.com bswygkksug

wnbzwhybai wrote re: Poor Design Is Not a Bug
on 04-17-2012 4:26 PM

dtnjvefwmjdjp, http://www.mztkxcltie.com jzyklkkfrw

yocmzmxocy wrote re: Poor Design Is Not a Bug
on 04-18-2012 9:44 AM
ocigsnxdhk wrote re: Poor Design Is Not a Bug
on 04-18-2012 10:30 AM
kfndceqbey wrote re: Poor Design Is Not a Bug
on 04-18-2012 11:03 AM

roeqxefwmjdjp, http://www.gxqffdnikl.com pejqrppsux

vmeoetxooi wrote re: Poor Design Is Not a Bug
on 04-18-2012 11:49 AM

pftvaefwmjdjpvt, http://www.yitgwkbpbj.com bqzptxtbon

uvwdyjkkin wrote re: Poor Design Is Not a Bug
on 04-18-2012 12:21 PM

lzukuefwmjdjp, http://www.kqdtlhldct.com lnnryvslkc

wtqsqwvxsg wrote re: Poor Design Is Not a Bug
on 04-24-2012 12:43 PM
jxfcvjntht wrote re: Poor Design Is Not a Bug
on 04-24-2012 2:16 PM

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco <-- NEW Friend!
NServiceBus <-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)