tag:blogger.com,1999:blog-5330865050433561840.post4216787766294223535..comments2023-12-18T01:06:11.932-08:00Comments on Delphi Programming Tips & Tricks: Delphi Memory Management WebinarDalija Prasnikarhttp://www.blogger.com/profile/00645794274789883946noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5330865050433561840.post-57587875778250637122021-04-22T00:09:04.708-07:002021-04-22T00:09:04.708-07:00I couldn't help myself answering your question...I couldn't help myself answering your questions here... but I will mention that topic on the webinar, too :)Dalija Prasnikarhttps://www.blogger.com/profile/00645794274789883946noreply@blogger.comtag:blogger.com,1999:blog-5330865050433561840.post-33360144569683448122021-04-22T00:07:01.886-07:002021-04-22T00:07:01.886-07:00AfterConstruction is safe and IMO not used enough....AfterConstruction is safe and IMO not used enough. Modifying base class and adding additional virtual DoCreate method is fine, too, if you have base class and you have reasons for not making constructor virtual. But, I would still prefer using it more for configuration than for constructing instances - in other words for final setup after you know all pieces of the object are fully constructed, Dalija Prasnikarhttps://www.blogger.com/profile/00645794274789883946noreply@blogger.comtag:blogger.com,1999:blog-5330865050433561840.post-35700443501901825702021-04-20T16:53:53.094-07:002021-04-20T16:53:53.094-07:00I forgot about records. I routinely const those as...I forgot about records. I routinely const those as well.LachlanGhttps://www.blogger.com/profile/05666168623106775966noreply@blogger.comtag:blogger.com,1999:blog-5330865050433561840.post-74209235914894373502021-04-20T16:52:35.035-07:002021-04-20T16:52:35.035-07:00Here's some questions in advance for you (whic...Here's some questions in advance for you (which I'll have to catch on the replay (hint, hint) due to timezones). <br /><br />What's your thoughts on The Wiert Corner's aversion to using AfterConstruction? (see his blog post 2021/03/23)<br /><br />For method parameters what data types do you make const rather than leaving them as a ordinary value parameter? These days I'm usingLachlanGhttps://www.blogger.com/profile/05666168623106775966noreply@blogger.com