La-la-la…

Posted on Monday 27 June 2005

So, I got to enjoy a nice 21rst bday this past Saturday. My brother and I took a shot of Green Apple Vodka, some interesting stuff - is the least I can say about that.

Anyways, I’ve been dealing with some Java issues, and a graduate classmate of mine pointed this one “March of Progress” article out:

The March of Progress

1980: C
printf(”%10.2f”, x);

1988: C++
cout << setw(10) << setprecision(2) << showpoint << x;

1996: Java
java.text.NumberFormat formatter
= java.text.NumberFormat.getNumberInstance();
formatter.setMinimumFractionDigits(2);
formatter.setMaximumFractionDigits(2);
String s = formatter.format(x);
for (int i = s.length(); i < 10; i++)
System.out.print(’ ‘);
System.out.print(s);

2004: Java
System.out.printf(”%10.2f”, x);

Interesting huh? Well I’m glad to see in Java 5 (Get It Now!) now supports Generics (eq. of Templates in C++), a new iterator for() construct (which I love!), and some other nice things such as type-safe enumerations (that isn’t limited to numbers, unlike C/C++).

Anyways, I finished up the project I was working on. Was going to release it but with this day-in-age, I must find a viable License agreement that will protect me from any liability, as well as, protect my work from those who may misuse it.

For those who haven’t been paying attention, the Supreme Court of the United States (”SCOTUS”) is rumored to give the final decision on Grokster vs MGM. We’ll see what happens. I am concerned though with their recent ruling of Imminent Domain :-/.

And I’ve designed and/or located a bunch of blog icons, so maybe one of these days, I’ll either write a blog script, or find one to use and put them to use.


No comments have been added to this post yet.

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI