20051002 Sunday October 02, 2005

Big Freaking Numbers IV

A couple of weeks ago, I blogged about a simple way to evaluate expressions using project BigNumbers. With all of the boilerplate code still required to get anything at all, I've been wondering how to get rid of it using dependency injection or annotation mechanisms. I haven't really coded anything at all yet, but I think it would be cool to have eventually something like this:

...
@Expression("a * (b + c)") private Expression expression;
...

... and then depend on DI mechanisms to inject an Expression implementation.

( Oct 02 2005, 10:10:08 PM CEST ) Permalink Comments [3]
Trackback URL: http://blogs.sun.com/wilfred/entry/big_freaking_numbers_iv
Comments:

Hi Wilfred,

Excellent idea!!

Let me know if I can be of any help. Cheers,

Antonio

Posted by Antonio on October 03, 2005 at 09:20 AM CEST #

This is already on the board for JBoss's Seam project.

Posted by Jacob Hookom on October 04, 2005 at 02:38 AM CEST #

Hi Wilfred, See http://sixlegs.com/blog/java/bfn9000.html

Posted by Chris Nokleberg on October 07, 2005 at 12:21 AM CEST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed