Archive for May, 2007

Eclipse JDT resource copy exclusion

Wednesday, May 30th, 2007

What a nice article title…. clear as mud ;-)

So, what the article is really about relates to my playing with a postfix notation DSL; and specifically, adding IDE support within Eclipse. Since I’m going to be using Java bytecode as the underlying execution mechanism for the DSL it makes sense to try to reuse some of the Eclipse JDT functionality; but the JDT does more than I want. Specifically, any files that the JDT finds that cannot be processed by its builder are merely copied to the output directories (i.e. whilst .java files are compiled into .class files, all other files such as .xml or .postfix are merely copied).

Well, I don’t want that; I want the JDT to ignore my files. So we need to add a copy exclusion filter.
(more…)

Agile Offshoring

Friday, May 18th, 2007

The server side has an article about agile offshoring. It’s quite a good article highlighting some of the things you need to consider, and my experiences of working with an offshore team are quite similar. The thing I wanted to comment on isn’t so much the article as one of the comments.
(more…)

Good enough?

Wednesday, May 16th, 2007

Whilst I’m not sure I’d take the argument quite as far as Jason Gorman in this blog article “Good Enough” Really Means “Almost Perfect”, I’m right with him in his sentiment.
(more…)

What is software design?

Tuesday, May 15th, 2007

If you’re interested in software development, the relationship between design and construction and whether the discipline is engineering or an art, then I very much recommend spending 15 minutes reading Jack W Reeves’s What is Software Design? article. It puts an interesting slant on the term software design to help align it with other engineering disciplines.

The article is 15 years old and as with all good things relating to our industry, timeless.

XML buzzword compliance for the sake of it

Tuesday, May 15th, 2007

Today, whilst skim reading an article for a product, I found myself head in hands, screaming “No, no, no!”. The product in question has a CSV import facility so that you can load up some important data quickly, for example:

IDENTIFIER, NAME, EMAIL
1,Nermal,123@456.com
2,Pooky,789@abc.com

Nothing wrong there, I’m happy with CSV as an import/export mechanism (see KISS principle).

Here’s what got me.
(more…)

Fixed Price - Good or Bad?

Friday, May 11th, 2007

Scott Ambler’s article on the consequences of fixed-price IT projects gives some good coverage of the high level issues with fixed price (or fixed bid, if you prefer) projects. I wholeheartedly agree with what he’s saying in principle, but what about in practice?
(more…)

Byte code generation to support a DSL - 101

Tuesday, May 8th, 2007

As part of my investigations into the benefits of model driven techniques and DSLs I’ve been looking into some Java byte-code generation mechanisms. After I’d managed to get my masochistic hacker tendencies under control, I decided not to write a whole new class file generation framework myself and instead downloaded ASM and BCEL.

Essentially, I wanted to be able to generate Java classes on the fly from a DSL, and because I wanted to look at both ASM and BCEL, I setup the basics of my scenario to allow different class generators to be plugged in.
(more…)