jpluimers
In addition to Shared/IShared, there is also Weak/IWeakReference in Spring.pas; these blog post explain more about them: Shared/IShared (search for {$REGION ‘Shared smart pointer’} at the current repository): [WayBack] Delphi sorcery: Smart pointers in Delphi Weak/IWeakReference (search for… … Read more
5 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
I bumped into [WayBack]When an exception is nil in the exception handler – twm’s blog for some legacy code a while ago. Some code review reminders: raise Exception( is always wrong: no exception instance is created Exception.Create( without… … Read more
5 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0