Java Double Brace initialization
Personally I prefer constructor based initialization when possible in order to keep my objects immutable. However, for those times that I have to use setter initialization I use the double-brace initialization.
Personally I prefer constructor based initialization when possible in order to keep my objects immutable. However, for those times that I have to use setter initialization I use the double-brace initialization.
In order to keep yourself relevant in the business, its good to know as many programming languages as possible as each language tends to bring a different train of thought. Throughout the years I have programmed in many different languages, even obscure ones as REXX to make POINTRED for OS/2 and xBase for my personal [...]
Sometime by situation or by choice we would be coding in a less than ideal development environment (i.e. Windows). BTW, in my case it is by choice because I want to play games without dealing with dual booting on my Lenovo T430. So I just adapt and choose the products that will give me the [...]
Coverage is one of my personal metric I try get close to 100% as part of my programming style to quickly make sure I at least went through all the possible code paths. I have three criteria for a well defined utility class: It has only one private constructor It has no non-static methods It [...]
My style swings wildly depending on the situation which depends on: am I working on a component with someone as a pair or going solo? am I working with fully written out test cases, a story or a requirement? am I implementing a specific business requirement or setting up the framework [at any level]? is [...]
Bootstrap has well defined CSS classes that allow for other groups like Bootswatch to create customized styles based on it. This post describes how I did it for my WordPress theme.
In this part of the series, the plugin will be deployed to Windows Live Writer and will perform two functions depending on whether text was selected or not.