Programming Flaw: Constructor That Does Real Work

http://misko.hevery.com/code-reviewers-guide/flaw-constructor-does-real-work/ This blog post talks about why having a constructor do too much work is a bad programming practice. When a constructor instantiates and initializes its collaborators, the result is often inflexible and can shut off the ability to inject test collaborators. The author gives a few reasons why this is a flaw: It violates […]

Read More Programming Flaw: Constructor That Does Real Work

Writing Clean, High Quality Code

https://www.butterfly.com.au/blog/website-development/clean-high-quality-code-a-guide-on-how-to-become-a-better-programmer This blog discusses various techniques that can be used to make your code cleaner and easier to understand. Writing high quality code is very important for software that is updated over time, and the following tips will help improve your code readability and quality. Variable and Method Names Use names that reveal the intention […]

Read More Writing Clean, High Quality Code

10 Object Oriented Design Principles

http://javarevisited.blogspot.com/2012/03/10-object-oriented-design-principles.html For my blog post this week I chose another topic on the concept map that I thought looked interesting: design principles. These are helpful guidelines to follow that will make your code cleaner and more modular. This blog post describes 10 design principles that are useful in object oriented programming. DRY (Don’t Repeat Yourself) – […]

Read More 10 Object Oriented Design Principles

9 Anti-Patterns You Should Be Aware Of

http://sahandsaba.com/nine-anti-patterns-every-programmer-should-be-aware-of-with-examples.html This blog post covers 9 anti-patterns that are common in software development. Premature Optimization – Optimizing before you have enough information to make conclusions about where and how to do the optimization. This is bad because it is hard to know exactly what the bottleneck will be before you have empirical data. Bikeshedding – […]

Read More 9 Anti-Patterns You Should Be Aware Of