Jump to content

David Heffernan

Members
  • Content Count

    3536
  • Joined

  • Last visited

  • Days Won

    175

Posts posted by David Heffernan


  1. 1 hour ago, David Schwartz said:

    As if that has never happened with anything Microsoft ever published ...

    Spend some time looking at the development process and quality over in C# and .net land, and then see if you honestly can regard Emba's process and quality even remotely in the same ball park. 

    • Like 2

  2. 1 hour ago, Georgge Bakh said:

    David, if I got you right, your advice is to use the technique with virtual methods because it works. It's a good advice thank you.

    But I wanted to use generics as it's a powerful technique which I successfully use in other languages and it seems it should work for my case. And a broad range of other cases which can be identified as parametrization by code.

    If it can't be done in Delphi it's sad but I'd want to know why. Is it a bug?

    Let's get on with it:

    I have TTest<TTest2> specialization of the above generic class TTest. May I expect that field FTest will have static type TTest2? If no why?

    It's not a choice between either generics, or polymorphism. You can use both.


  3. 7 minutes ago, Georgge Bakh said:

    Why?

    Because that's the only way to make this work.

     

    Your expectations seem unrealistic.  As I see it you face two choices:

    1. Code it the way I said, and thus have your code work the way you want.

    2. Code it your way, and have your code not work the way you want.

     

    I don't understand why you want to take option 2.


  4. 23 minutes ago, PeterPanettone said:

    Is that a MORAL or RELIGIOUS assessment?

    No. It's a suggestion that if you want an improvement to an open source project then one option is that you contribute it yourself. 

     

    ALL-CAPSing the project maintainer is a strategy that in my opinion is sub optimal for your goals. 

    • Like 2
×