*slaps forehead*

When the Java 5 class library introduced Formatter for formatting strings, why didn’t anyone bother to tell me that:

– There’s a new printf method in PrintStream and
– String.format !

I’ve grown so accustomed to Java not having String.format, that when Formatter appeared, I started using that (mercifully only for a few lines of throwaway code) and merrily assumed that it was the best I could do. Of course it felt dumb, and I wrapped it in helper methods that um… do roughly the same thing as String.format.

Onwards with the learning experiences. Next, I’ll try to pin down some thoughs and observations on the dumbing down of comp sci education. (Irony, thy name is Rytmis; I’ve never actually experienced the undumbed-down education, since I only just got started!)

Leave a Reply

Your email address will not be published. Required fields are marked *