Java tip: How to read files quickly | Nadeau Software
November 25, 2009 by Frank Salinas · Leave a Comment
Here’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
October 27, 2009 by Frank Salinas · 2 Comments
The 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.
Enforce Data Integrity With Check Constraints
November 23, 2008 by Frank Salinas · Leave a Comment
I 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 I found a combination of the following values: T, F, Y, and N. Read more
Java vs. .NET: Job Market and Salary Survey
November 22, 2008 by Frank Salinas · 3 Comments
I was recently contacted about a technology job search engine named OdinJobs.com. I took a look a the site and found that they have some great tools for job market analysis and salary surveys. Here I compared salaries and job market trends between J2EE and .NET Architect/Lead and Developer roles in the San Francisco Bay Area.
Read more