| Article: |
Better, Faster, Lighter Programming in .NET and Java | |
| Subject: | Your factory method screws up early binding! | |
| Date: | 2004-08-08 03:30:55 | |
| From: | riffraff | |
|
Response to: Your factory method screws up early binding!
|
||
|
so you're saying that using a static language is overkill and unextensible and everybody should be using Ruby, Python and Perl ? :D
|
||
Showing messages 1 through 1 of 1.
-
Your factory method screws up early binding!
2004-09-07 14:05:05 scottellsworth [View]



Put another way, while a primarily static and compile bound language like Java may be the best tool for an overall project, it may well not be the best solution for some of the tasks in that project. At that point, you either look at Jython, or runtime-called Perl, or you use the dynamic capabilities in Java.
Reflection is the primary Java dynamic tool, with classloaders as accomplices, and interfaces as the way you keep they dynamic parts for creeping into otherwise static code.
Scott