Clean Fill Dirt
Check for code you have lying around that is "overly clever, difficult
to read and maintain, not expressive, or just generally violates all
attributes you associate with beauty."
Mike Clark is looking for real world examples to use to show "before and
after pictures of that code [...] to demonstrate how ugly code can be made
more beautiful through easy and practical refactorings." I think this is a
great idea. Instead of coming up with examples designed to show off some
particular refactoring, Mike intends to find real code in need of help and
work with it. If you have 25 lines or fewer in need of repair that doesn't
compromise your business in any way, consider sending them to Mike.
Clean Fill Dirt leads off
Also in Java Today
. What could be more fundamental to our craft than "writing good,
clean code. It seems that stuff is rare. I believe it's rare because we're
always heads-down writing our own code and we don't make time to read code
written by others. Thus, without a broad spectrum of code to compare
against, it's easy to think the code we write is as good as it gets.
Looking at beautiful and elegant code written by programmers we respect
offers a valuable perspective for improving our code. Learning how to give
ugly code a make-over offers another, usually more immediate, call to
action. Either way, once we've seen works of art we admire, we need a way
to get from here to there."
In less serious news, don't forget you have until February 23rd to
submit your proposed href="http://servlet.java.sun.com/javaone/sf2004/info/features/tshirt_launch.jsp">
distribution method for this year's JavaOne T-shirt. In the past,
they have "used slingshots, 'Master Blasters', and a trebuchet to get
these coveted items out to audience members sitting in the crowd. This
year, James is looking to you, the creative developer community, to come
up with some fun, completely nonsensical, comical way to distribute his
T-shirt this year. Submit anything from rail guns, Taiko drums, balloons,
robots, ... you name it to get the T-shirts to the crowd in a creative,
yet safe, way. "
, Kathy Sierra has discovered that "The MIDP 2.0 Game API is so easy
to use. In about 15 minutes after flipping through the API and the MIDP
spec, I built a multi-frame animation, fully user-controllable, with
automatic double-buffering, in about a dozen lines. And that 15 minutes
includes creating the graphics! Until I started playing with it, I really
had no idea how simple and clean it is to use GameCanvas and Sprite."
In MIDP 2.0 is just too
much fun she writes that there is "that little issue of, well,
virtually no devices in the US that currently support MIDP 2.0. Still, I
haven't done something so quickly and simply since the old Applet days."
The other problem, for many of us, is the lack of support on Mac OS X. Is
it Apple's job, Sun's job, or will it be left to a java.net project?
Projects and Communities
, The Java
Desktop community highlights href="https://topicdocs.dev.java.net/">TopicDocs, an open source
personal knowledge manager, archiver, and scheduler that uses two other
java.net projects: DBCollections and Filesearch.
The Java Games
wiki includes an href="http://wiki.java.net/bin/view/Games/TextureLoadingExample">
example for loading a Texture in JOGL. You can use Kevin Glass'
example utility class to load textures for JOGL called TextureLoader and
adapt his sampleTexture class for your own application.
In today's java.net
- SQLAdmin 0.2.2
Udell on Standards Making Portlets Portable
Quartz Enterprise Job
- Flaws Threaten VoIP Networks
Study Finds Typical
Internet Users are Non Geeky
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using
our news submission
form. All submissions go through an editorial review by news director
Steve Mallet before being posted to the site. You can also subscribe to
News RSS feed.
Current and upcoming
- January 17
Indonesia's JaMU (Java Meet Up) #6
- January 20-23 LinuxWorld
- February 2-5 EclipseCon
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e"> events submission
form. All submissions go through an editorial review before being
posted to the site.
Archives and Subscriptions: This blog is delivered weekdays as the
Today RSS feed. All java.net members can subscribe to the email
updates for the site at the href="https://java-net.dev.java.net/servlets/ProjectMailingListList">
java-net Mailing Lists page. You must be logged in to subscribe
to the javanet_Daily and javanet_Weekly lists. Also, once this page
is no longer featured as the front page of
java.net it will be archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.