All Questions
Tagged with delphi coding-style
2 questions
0
votes
1
answer
489
views
How to layout class definition when inheriting from multiple interfaces
Given two interface definitions ...
IOmniWorkItem = interface ['{3CE2762F-B7A3-4490-BF22-2109C042EAD1}']
function GetData: TOmniValue;
function GetResult: TOmniValue;
function GetUniqueID: ...
3
votes
5
answers
2k
views
Functions with side-effects in Delphi/Pascal
What is the proper approach to functions that have side-effects in Delphi/Pascal?
For example, I could have a boolean function DeleteFile that returns True if the file was deleted and False ...