I was pleased to see that EiffelStudio 6.0 now eliminates the need for an ECF file - all you need to do is supply the name of a root class, and it will compile your program for you.
This opens up some fascinating possibilities.
Thanks to the ECMA committee, we already have nested functions:
class TEST create make feature make is -- Execute test. do print ((agent (a, b, c, x: REAL_64): REAL_64 -- Agent to evaluate ax^2 + bx +c do Result := a * ((agent (y: REAL_64): REAL_64 -- Agent to evaluate y^2 do Result := y * y end ).item ([x])) + b * x + c end ).item ([3.0, -2.5, 7.09, 5.6])) end end
Now, if we could only have nested classes too, we wouldn't need to write multiple files, one for each class, we could just write the entire program in one class.
So come on ECMA - please give us nested classes too.
P.S. While you are at it, how about self-modifying agents? I miss the days of my assembler-coding youth.