Again on FreeAndNil – A meaningless debate?
Recently, I came across a forum where somebody described FreeAndNil as an “abomination” and I think that’s a bit over the top. Let’s unpack this topic ca refully, with technical clarity and an eye for proportion. FreeAndNil(SomeObject) is just syntactic sugar for: if SomeObject <> nil then begin SomeObject.Free; SomeObject := nil; end; The actual […]
Again on FreeAndNil – A meaningless debate? Read More »