Jump to content

David Heffernan

Members
  • Content Count

    3651
  • Joined

  • Last visited

  • Days Won

    181

David Heffernan last won the day on March 5

David Heffernan had the most liked content!

Community Reputation

2401 Excellent

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. David Heffernan

    Tool for finding non-literal format strings

    Doesn't look like it handles code laid out over multiple lines.
  2. David Heffernan

    Tool for finding non-literal format strings

    I know how to code a solution. And I'd use a proper parser to do it. But I'm looking for a tool.
  3. David Heffernan

    Tool for finding non-literal format strings

    No, I am just looking for a tool that detects non literal args by static analysis, which is what I wrote
  4. I've recently come across a defect in my code that looks like this: msg := Format('%s' + foo, [bar]); If foo contains any format placeholders, e.g. %s, %20, etc. then this will result in an exception being raised. It's a stupid mistake, but now I want to check my entire codebase to see we've done it elsewhere. Ideally I'd like a static tool that detects any call to Format or common equivalent like Exception.CreateFmt for which the format string is not a literal. I don't think FixInsight has such a warning. Does anybody know of such a tool?
  5. David Heffernan

    Delphi 12.3 is available

    It feels like most releases in the past 5-10 years have been "quality focused" releases. In other words, they are already doing this. How is it going?
  6. David Heffernan

    Delphi 12.3 is available

    Yes, silly me! Sorry.
  7. David Heffernan

    Delphi 12.3 is available

    Sure. I can choose not to be impressed. The Win64 bit compiler was available for pro from initial release, XE2
  8. David Heffernan

    Delphi 12.3 is available

    I mean, I did, and I read the what's new. As I said, I think it's pretty poor that they can release software that is so far from being functional.
  9. David Heffernan

    Delphi 12.3 is available

    Saying X does not, a priori, make X OK
  10. David Heffernan

    Delphi 12.3 is available

    I went from XE7 to 11.something and only upgraded to get high DPI support which was worth it. Not sure what would get me excited from here. Probably would be copilot like goodness in the IDE.
  11. David Heffernan

    Delphi 12.3 is available

    Well sure. But isn't this pretty lame? Who does version 1 releases that don't work? They might be upfront about all of its deficiencies, but good developers produce software that works. We've all used VS and VSCode and PyCharm and so on, and they work and shine. And then 12 months passes, it's 2025, and Emba come out with 5000 bug fixes and a 64 bit IDE that doesn't work.
  12. David Heffernan

    Delphi 12.3 is available

    Prepare for three years of them fixing the new 64 bit IDE
  13. AI is just a tool. It has its uses. It's not going to do everything. Yes it's over hyped. But that does not mean it has no value. As usual the value lies somewhere in between what the hypers and the doubters say.
  14. David Heffernan

    Check If File is what he claim to be

    Sure, that basic concept. But I think I'd take it further and move the data into a text file embedded as a resource. Given the scope of this unit.
  15. David Heffernan

    Check If File is what he claim to be

    It's funny to see various people posting their own solutions when the original post contains a comprehensive implementation....
×