Category Archives: General

Fast debugging statements

While reading Code Complete 2nd Edition I ran into a chapter which covers defensive programming. Defensive programming includes debugging, but not to any price of course. We don’t want performance of the application to suffer from debugging statements, at least … Continue reading

Posted in Coding, General | Tagged , , , , , , , | Leave a comment

No more comments in your code

Comments, the more the better… right? Well I thought so too, in fact this is some of my code of a few days ago: // handle the initialization of jobs if (request.getParameter(“initiateJobs”) != null && request.getParameter(“initiateJobs”).equalsIgnoreCase(“true”)) { initializeJobs(); } // … Continue reading

Posted in General | Tagged , | Leave a comment