tag:blogger.com,1999:blog-8712770457197348465.post30762818416043932..comments2024-03-29T05:54:46.190-07:00Comments on Javarevisited: How to write Production quality code? Tipsjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8712770457197348465.post-79689573158529219432013-05-23T12:30:42.345-07:002013-05-23T12:30:42.345-07:00Nice article. I would also like to second the tho...Nice article. I would also like to second the thought on "boundary conditions" as that is where most of the developers tend to miss during their unit testing.<br /><br />Also to consider that a well formatted and documented code helps maintainability of production code.Ananth Chelladuraihttps://www.blogger.com/profile/10387223207827170167noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-35668993439770447922011-10-08T20:41:40.309-07:002011-10-08T20:41:40.309-07:00Good point Kamalkishor, writing locale independent...Good point Kamalkishor, writing locale independent code is also one of quality for production code. These kind of thing should be part of Resources which allows you flexibility to change the language or resource based on locale.Javin @ Volatile in Javahttp://javarevisited.blogspot.com/2011/06/volatile-keyword-java-example-tutorial.htmlnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-6846231364000971582011-10-08T09:15:16.482-07:002011-10-08T09:15:16.482-07:00I had once encountered a problem due to the "...I had once encountered a problem due to the "System Locale". On Linux systems, the default locale is UTF_18. I was working on a code that used to read a bufferedinputstream from a file and the previous coder had chosen a method that was dependent on the locale. Later, when I changed the locale in production to "en_us", that same method worked correctly. The method was a part Kamalkishornoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-90415922427865570222011-09-29T05:51:51.366-07:002011-09-29T05:51:51.366-07:00Code should be expandable. Once in production, enh...Code should be expandable. Once in production, enhancement and new requirements r bound to come. The abstract design should allow for rapid development. Developer should keep on mind when codingKarimhttps://www.blogger.com/profile/07288261169867148730noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-90458342273994609532011-09-27T18:00:00.247-07:002011-09-27T18:00:00.247-07:00You missed some important things:
It must be simp...You missed some important things:<br /><br />It must be simple.<br />It must be short.<br />It must document itself.Anonymousnoreply@blogger.com