|
James Todd[Gonzo] :: Consistently Random
[rss] java == platform independence xml == application independence jxta == network independence |
[ [ gonzo@java.net ] [ jxta ] [ myjxta ] [ planetsun ] [ java.net ] [ java.sun ] |
| "Ice Cube said check yourself before you wreck yourself, Placebo say hang on to your IQ." | ||
|
month-- :: chat about it
given the build up to javaone '05 and netbeans day, then participating in the afore mentioned events in addition to jxta town hall followed by a most excellent and very non-virtual (read real) vacation i've offline for a spell ... and it felt really good :) For NetBeans Day we presented "NetBeans/Collab:JXTA," which basically extends the NetBeans Collab module with true peering capabilities. More on this in the coming weeks. Immediately following NetBeans day I re-presented the NetBeans/Collab:JXTA demo and provided MyJXTA updates, which now supports voice, video, a spiffed out UI, etc. For JavaOne '05, which so totally rocked IMNSHO, we provided the second installment of the JXTA Hands On Lab (note: I'm not sure where the '05 HOL content is posted at this time). The JavaOne Pavillion was hopping and I met many new folks interested in JXTA along with a growing number of regulars. Lastly, NetBEAMS, of which MyJXTA is a component, won a Duke Award under the "Community Category." This project was very rewarding in that the result, in this case, was a perfect blend of complimentary technologies to solve very real world (read wet and dirty) sensor telemetry management and collection. there is so much more we can do in this space. as such, i'm very much looking forward to "2.0" and again working with a great group of folks. in aggregate. that's the opportunity. building solutions taking readily available and extremely enabling components to build out real world solutions ... in aggregate! good times. over the vacation we worked on our long overdue bathroom remodelling project. given my father-in-law helped replumb recently we now have the tile layed (first timer for me) along with the swag radiant heating mats, walls and ceiling painted, floor and window trimmed and ceiling vent installed. next up we'll bring the claw foot tub into the room once i seal the tile and grout, calk the trim and fill and paint the trim nail holes. this project was supposed to be done before the arrival of our first child, how is 5yr old today. i'm betting i can beat the arrival of our second child, given a 5yr head start. MyJXTA :: use it - learn it - do it
Java == platform independence in my ears: New Order/Substance/The Beach [2005-08-15 11:19:46.0] Permalink Comments [2]
Trackback URL: http://blogs.sun.com/gonzo/entry/month
Post a Comment: |
Question, what are your thoughts on inline comments?
I've seen people claim they are bad and I can't find any supporting documentation. It just strikes me as wrong when people do something like (and I'm ripping this code off from something I've seen lately, which sparked an disagreement with coworkers, and changing it a lot, just hate it period!)
public static final Object[] foo =
{
new SomeObject("foo"),
new SomeObject("foo2"),
// added 1/1/2001 by Some Person
new SomeObject("foo3"),
new SomeObject("foo4),
};
That seems so wrong to me, and the person who wrote this is claiming that inline comments are viewed by the industry as harmful and bad style. So they throw a fit that I would say its much more properly written, for readability for future programmers, as:
public static final Object[] foo =
{
new SomeObject("foo"),
new SomeObject("foo2"),
new SomeObject("foo3"), // added 1/1/2001 by Some Person
new SomeObject("foo4),
};
Everything I've seen over the years of working on things like IRCD's to University projects all say to do it the second way. But I can't find anything to support it and the other person has this obscure document they got from some java styles book that quotes circa '92 style crap.
Do you have any thoughts on it? Or know where I can get some better more recent information?
And sorry for the example, thats not completely the true example, the true one makes me want to hurl as its an abomination.
Posted by Jeffrey Olson on August 15, 2005 at 02:38 PM PDT #
// todo: need to consider binkie [gonzo]<br
for transient comments. "todo" is picked up by maven, netbeans and the like as well. for more persistent comments in code i tend to go w/ comments on one line noting that i'm a verbose chat ;) and tend to span lines, either when the comment was first written or there after. odd thing is, though, i don't often write comments.
now, for little one-offs, like your example, i do think writing the comment at the end of the line is appropriate, w/ "one-offs" being anomolies.
i'm not a fan of "closing [if | while | switch] comments." not a fan of comments in general so you might be asking the wrong person :| rock on, - james
Posted by gonzo on August 15, 2005 at 03:07 PM PDT #