Posts Tagged ‘Java’
Java tip: How to read files quickly | Nadeau Software
Wednesday, November 25, 2009 13:10 No CommentsHere’s a good article comparing the performance of various File I/O implementations. I was particularly interested in the performance difference between the BufferedInputStream and the FileChannel.
Java tip: How to read files quickly | Nadeau Software
Use final
Tuesday, October 27, 2009 21:19 2 CommentsThe final keyword is one that I find is under utilized. Use final in your projects as a means of defensive programming. If you are unfamiliar with this keyword here is a great article on its usage.
Renaud Waldura’s The Final Word On the final Keyword .
Enforce Data Integrity With Check Constraints
Sunday, November 23, 2008 10:25 No CommentsI came across some code the other day that simply horrified me. I was looking at a table that had a field name which implied it stored a boolean value (e.g. IS_LAUGHABLE). The field type is defined as a char(1), allows NULL values and defined no default value. Looking at the data in the column [...]
Java vs. .NET: Job Market and Salary Survey
Saturday, November 22, 2008 20:27 3 CommentsA salary comparison between J2EE and .NET Architect/Lead and Developer roles in the San Francisco Bay Area.