Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

coding

  • submit to reddit

My Design, Testing, Coding Tips

Design Design for optimum usage of computer resources such as Memory, CPU, I/O & Connection Follow design principles such as OCP, Liskov Substitution , IOC, Interface, etc Create the Stub classes following JEE design patterns for Controller, View,...

0 replies - 415 views - 11/10/11 by shivaji chelladurai in Announcements

Working with legacy code

Large organisations' systems may have from tens of thousands to a few million lines of code and a good part of those lines is legacy code. By legacy code I mean code without tests. Many of these systems started being written many years ago, before the...

6 replies - 5273 views - 07/03/11 by Sandro Mancuso in Articles

The Second Law of Optimization

By now everybody and their screensaver have heard the Optimization Mantra: Don’t Do It! This is commonly wrapped in a three-rule package (I suspect there is a word for that.) The first two of which are copies of the mantra, and the third adds the wise...

4 replies - 3114 views - 06/19/11 by Ashod Nakashian in Articles

How to be a worse programmer

Lots of tips collections come up on DZone about how to become a better programmer. But no one ever told us how to become a worse one. What would make our colleagues and everyone who read our code violent? What can question their assumption and introduce...

13 replies - 49805 views - 07/08/10 by Giorgio Sironi in Articles

Coding on Sony Viao VGN-FW51JF - the MacBook Wannabe

I've been coding on the MacBook wannabe Sony VAIO VGN-FW51JF for the last few months and this is what I have to say about it. The good

4 replies - 4671 views - 02/01/10 by Smeltet Kerne in Articles

Writing good code requires you to perform experiments

How often do you have to solve a small problem that is a part of a larger project and decide to take the time to perform some seperate experiments to solve the problem, before adding the partial solution to the whole? In the past, I hardly ever did that and...

13 replies - 8764 views - 03/05/09 by Ivo Wever in News

Application Wiring on Auto-Pilot

We talked about how it is important to separate the new operators from the application logic. This separation forces your code to have factories which are responsible for wiring your application together. By separating this responsibility the tests can always...

0 replies - 3925 views - 09/24/08 by Misko Hevery in Articles