That sinking, disappointing feeling when you remember that you can't use anonymous methods in Delphi 7.

Comments

  1. Teh horror!  I'm properly addicted to them.

    ReplyDelete
  2. Imagine getting accustomed to lambdas and type inference...

    ReplyDelete
  3. I still haven't seen a lambda syntax for Pascal that I think looks clean and easily understandable.

    ReplyDelete
  4. Lars Fosdal I still haven't seen a lambda syntax [snip] that I think looks clean and easily understandable.

    ReplyDelete
  5. Why do you use anon methods?

    Inline event handler definition

    or

    Variable capturing


    The first requires actually compiler support for the syntax, but the second is possible in Delphi 7 by using interfaces. Of course it is cumbersome, but not impossible.

    ReplyDelete
  6. I couldn't live without anonymous methods...

    ReplyDelete
  7. There's a LOT of things that one gets a sinking, disappointing feeling about when stepping back to Delphi 7.  Anonymous Methods, Generics, all the little and useful and wonderful RTL changes in the meantime, the eleventy hojillion IDE enhancements...

    ReplyDelete
  8. One thing I wouldn't miss are the added 3rd party plugins

    ReplyDelete
  9. Just imagine what it's like going back to Delphi 1! Thankfully that code will be retired this year.

    ReplyDelete

Post a Comment