When first coding in Java in 1996, it took me a while to appreciate the newest access modifier – default or package. Then the norm was exposing almost everything as public, including fields, unless there was a good reason to restrict. Joshua Bloch’s Effective Java later reversed that, utilizing access modifiers appropriately to enhance security [...]
Archive for February, 2009
Access Modifiers – Weaker API and Security Support in Ruby?
Posted in Development Techologies on February 26, 2009 | 1 Comment »
What Happened to Fail Fast and Early?
Posted in Development Techologies on February 19, 2009 | Leave a Comment »
When I first started developing right after college in C++ and came across an error, I used to follow the common pattern of trying to take what seemed like the best action to avoid crashing. Later, I learned about the concept of “Fail Fast and Early” – where if an error exists, you want to [...]