Your code sucks?
There is an interesting article <<Why your code sucks>>. It’s so thoughtful. Hope it can do some help for you. I abstract the items sucks from the article as following:
1. Your code sucks if it doesn't work
2. Your code sucks if it isn't testable.
3. Your code sucks if it's hard to read.
4. Your code sucks if it's not understandable.
5. Your code sucks if it dogmatically conforms to a trendy framework at the cost of following good design/implementation practices.
6. Your code sucks if it has duplication.
BTW: my code sucks L. Does your code suck J?