Jump to content

David Heffernan

Members
  • Content Count

    3513
  • Joined

  • Last visited

  • Days Won

    174

Everything posted by David Heffernan

  1. David Heffernan

    Help, Missing files

    More clarity in the question. Full details of error, and a minimal reproduction. And don't post criticism for not receiving a response immediately. That does not motivate people.
  2. David Heffernan

    Does debugger handle WITH better in latest versions, 10.3+?

    Given that so much that is actually important is broken, this should be way down the list of priorities.
  3. David Heffernan

    Help, Missing files

    Not sure this approach is helpful.
  4. David Heffernan

    Patch 2 for RAD Studio 10.4 now available

    No I don't think it does make them managed records. I don't really understand how such simple code could break the compiler. It's as if Embarcadero don't have comprehensive tests in place.
  5. David Heffernan

    Patch 2 for RAD Studio 10.4 now available

    Will it compile if you restore the constraint but specify the generic type explicitly instead of relying of type inference?
  6. David Heffernan

    Are we just "Cash Cows"?

    This is just not true.
  7. David Heffernan

    Are we just "Cash Cows"?

    Security is not a property of the language. It's a property of the code. And the code is written by programmers. They determine how secure a piece of code is, not the choice of language. Hard to see how that brings security.
  8. David Heffernan

    Restore Delphi File Associations?

    Yes.
  9. David Heffernan

    Help with string extraction function

    If you don't have a performance bottleneck, make sure that you use a version of the code that is easy to read and maintain.
  10. David Heffernan

    Help with string extraction function

    Do you have a performance bottleneck with this code?
  11. David Heffernan

    Scrollbar creation in C++

    You can get help in the community version I believe. But in any case it's all online.
  12. David Heffernan

    Are we just "Cash Cows"?

    There is no buzz. Where are all the new developers?
  13. David Heffernan

    Are we just "Cash Cows"?

    I'm less convinced that is so.
  14. David Heffernan

    Are we just "Cash Cows"?

    The problem with that is the the problems tend to interact with each other.
  15. David Heffernan

    Are we just "Cash Cows"?

    The point of the book is that adding programmers won't necessarily result in a better output.
  16. David Heffernan

    Are we just "Cash Cows"?

    It's far from that simple. I take it that everybody has read this:
  17. David Heffernan

    FreeAndNil or NilAndFree ?

    I can't reconcile these two statements.
  18. David Heffernan

    FreeAndNil or NilAndFree ?

    That something may be done in the RTL/VCL doesn't mean it is good practise.
  19. David Heffernan

    FreeAndNil or NilAndFree ?

    Nothing can save you at this point.
  20. David Heffernan

    Need to Remove the PixelsPerInch and TextHeight fake properties

    OK, Scaled = False does change things.
  21. David Heffernan

    FreeAndNil or NilAndFree ?

    Destructors must not raise exceptions. My personal view is that if they do then the best course of action is to terminate the process.
  22. David Heffernan

    Need to Remove the PixelsPerInch and TextHeight fake properties

    If you remove PixelsPerInch from the DFM then you'll find that your form layouts break different devs modify forms if their machines use different font scaling (i.e. DPI) settings. In my workplace we handle this by requiring all modifications of forms to be made using a common font scaling setting.
  23. David Heffernan

    Open Type Arrays?

    In the OP you also write an implementation for each different type. So where is the saving?
  24. David Heffernan

    Open Type Arrays?

    It's not double the work.
  25. David Heffernan

    Open Type Arrays?

    I would absolutely not want syntax like that. If that's the way you want to go you can do it today with generics. In an ideal world I'd like to see the generality offered by C++ templates though. That would allow algorithmic programming that is just too painful with generics.
×