Jump to content

Lars Fosdal

Administrators
  • Content Count

    1200
  • Joined

  • Last visited

  • Days Won

    31

Lars Fosdal last won the day on August 27

Lars Fosdal had the most liked content!

Community Reputation

584 Excellent

4 Followers

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

1355 profile views
  1. I can't remember why not - prolly because Numlock was the first to spring to mind. Anyways, I've been using this for years now, and never experienced any adverse side effects.
  2. Well, it sort of forced my hand in switching to 10.4.1 a little ahead of time. Going live on new version to day. Oh, such fun to reconfigure all the build scripts 😛
  3. Sounds like an excellent suggestion!
  4. Doh! Ref. https://blogs.embarcadero.com/ide-plugins-in-rad-studio-10-4-1/ The solution was to use GetIt to uninstall 1.6.1 and install 1.6.2.
  5. Lars Fosdal

    Add test to Stringgrid

    There is an extra fee for solving homework problems, isn't there?
  6. Much annoying. Very bug. 😛 https://quality.embarcadero.com/browse/RSP-30576
  7. Have any of you seen something similar to this? Delphi 10.3.3
  8. Lars Fosdal

    Best Practices for FireDAC FetchMode/RecordCount Settings

    Indexing and doing index maintenance is crucial to maintain performance. If the queries can be done completely free form, that will be a challenge. IMO, there are few settings to FireDAC that really affects the performance once the query has been passed to the server.
  9. In my experience, it is far easier to use classes when you need to modify contents. I wish it weren't so, and it can be worked around - but then usually with pointer references, and at that point (pun intended), I might as well be doing objects and maintain type safety and support polymorphism.
  10. I am trying to improve my tendency to spin off a discussion in a thread focused on something else, so here we are. To reiterate, my preference for classes over records with regards to generics, is that read-only generics for records works perfectly for its use, but when you need to update the content in the record, it becomes a very different exercise. You either need to have structure specific methods to change the record field values, or you must copy the entire record, modify it, and the copy it back. The first option wreaks havoc on reuse, and the second option can become a performance bottleneck if the record is large. Even more so, if the record is multidimensional, containing records with arrays of records. The same kind of change in a multidimensional class, is trivial in comparison. @David Heffernan - hence my "the amount of reuse" argument.
  11. We also know that the two need to be handled differently when it comes to changing their contents.
  12. Lars Fosdal

    On the use of Interposers

    I splitted this thread off this
×