when does code suck

I was reading this article on the net http://www.artima.com/weblogs/viewpost.jsp?thread=71730 and basically the author say if one of the items in the below are true, then our code sucks and I agree 🙂

1) Your code sucks if it isn’t testable.
2) Your code sucks if it’s hard to read.
3) Your code sucks if it’s not understandable.
4) Your code sucks if it dogmatically conforms to a trendy framework at the cost of following good design/implementation practices.
5) Your code sucks if it has duplication.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: