Skip to main content

Blog Archive for staufferjames during December 2007

Normally I see abstract classes named as AbstractClass. But when there are many abstract classes that requires typing at least AbstractC when using code completion. Therefore I suggest that abstract classes be named ClassAbstract so that code completion is more usable. "Abstract" is a modifier on the class name anyway and it doesn't need to be in the primary position. What do you think? I know...
Does widening or autoboxing happen first? Which param method will be called from the autoboxing method? If one param method is commented out then it will have no problem calling the other. <pre>private static void autoboxing() {    Integer integer = new Integer(2);    param(integer);}private static void param(int param) {    System.out.println(...
I wish I had a terminal program that distinguished (i.e. with different colors) standard output, standard error, standard input, command input, and the command prompt. It would be obvious when I wrote a command that is waiting for user input so that I don't wait for my program to finish when it is waiting for me to enter input (this usually happens with shell scripting when I forget to provide...
I have been telecommuting 1-2 days/week for a few years so I present the following tips to those who want to telecommute: Practice communicating by email (especially when it is easier to talk in person about something) so you get better at writing emails that are complete and easy to understand. Practice doing as many normal activities on your telecommuting days as possible. Minimize "waiting...
One connection good. Then two connections better. Or maybe not so. Technorati Profile