Archive

Archive for February, 2005

Static versus dynamic attitude

February 22, 2005 Leave a comment

I think Bill is dead-on-the-money with the different-language, different-mindset thing. Java can make you feel guilty alright :-). Even when you can get over your own guilt, there’s the struggle with your colleagues who may not have a dynamic mindset.

I’ve been programming in JavaScript lately (actually more ActionScript 2.0 but some browser based JavaScript too). You’d probably return a single object there rather than multiple:

    var context = ExamplePage.process();

followed by code using context.forumID, context.reply, context.subject and context.body.

Single objects are constructed easily in JavaScript:

    function process() {
        // Do some processing...
        return {
            forumID: ...,
            reply: "a reply",
            subject: "a subject",
            context: "a context"
        }
    }

This is a very lightweight approach. Another poster had a similar solution in Python. There must be a similar way of doing this in Ruby or Groovy.

It would be great to use Ruby/JRuby, Groovy, JavaScript, Python/Jython or whatever on the Java platform. What’s needed for adoption is buy-in by vendors like Sun and IBM (so that project managers and other developers don’t have a fit when something without the .java or .xml file extension is checked into the repository). It would be nice to have support for these languages in Eclipse (say) with all the usual bells-and-whistes Java programmers have come to rely on to get stuff done – code completion, Javadoc lookup, hyperlinking, refactoring etc. Groovy seems to have alot of momentum including a JSR thing – so maybe something along these lines is not too far away. Maybe it’s already there and I just haven’t looked!

BTW – have you heard about NoXML? It’s this great new XML technology…

SOAP is brain dead

February 22, 2005 Leave a comment

Hmmm. Seems SOAP is out and REST is in. Not quite NoXML, just no SOAP. Being British, it’s not hard to imagine getting by without a little soap :-).

NoXML and web service specifications!

February 22, 2005 Leave a comment

Think you know something about XML and Web services? Check out all these web service standards. Oh my! Just say no. No!

The only XML technology that I’d like to share with you right now is the upcoming NoXML. It will usher in an exicting new world to software development. The best XML technology ever.

NoXML – wonderful new XML technology!

Mock object framework talk

February 21, 2005 Leave a comment

Andy Marks gave a talk on mock object frameworks at the AJUG tonight (my first visit to AJUG for some time). I had happened to review some frameworks the week before. The talk solidified my decision to use EasyMock should the need arise.

Categories: Programming Tags: , ,

Fonts on Gentoo

February 21, 2005 Leave a comment

Finally got my fonts sorted out on Gentoo. All the info is in the Gentoo Xorg fonts HOWTO.

Categories: Programming Tags:

Transactional caches

February 17, 2005 Leave a comment

The interview with Cameron Purdy at TSS was a good read. Afew years back I was very interested in object databases and then [distributed] transactional caches. A coworker at ADC (now Intec) from the research lab put me onto the work of Stephen Blackburn.

Interviewing programmers

February 16, 2005 Leave a comment

If you’re interviewing, you might find the following links useful.

Interviewing Programmers (Artima)

Hiring technies and nerds

Categories: Programming Tags: ,
Follow

Get every new post delivered to your Inbox.