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.
Does widening or autoboxing happen first? Which
param method will be called from the
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.
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.
One connection good.
Then two connections better.
Or maybe not so.
So, would type inference be a good fit for Java?
Here are my thoughts on the Midwest Java Technology Days: Minneapolis that I attended yesterday. (In order to get them out quickly I haven't refactored them.)
Free stuff: breakfast, lunch, networking snacks, t-shirts, pen (mine didn't work), and note pad. (the conference was also free.)
Tim Bray: Pretty interesting. Covered language and internet trends.
What if a Java allowed both static and dynamic types? That might allow the best of both worlds. i.e.:
[prettify]String str = "Hello"; var temp = str; temp = new Integer(10); System.out.println(temp.intValue()); [/prettify]
- Would that be possible?
- Would that be beneficial?
- For languages that support it, how is it used?
Do you assume that toString() on any given object has a low cost? I do. Is that assumption generally valid? If it has a high cost should that normally be changed? What are valid reasons to make a toString() method with a high cost?
As I build *nix piped commands I find that I want to see the output of one stage to verify correctness before building the next stage but I don't want to re-run each stage (especially when steps are expensive).
Does anyone know of a program that will help with that? It would keep the output of the last stage automatically to use for any new stages.