0
votes
Vote UpVote

Delphi: do NOT use duplicate GUIDs on interfaces

The Wiert Corner – One of the things when fixing bugs in an old codebase is wading through technical debt. A quick win is to get rid of duplicate GUIDs when interface portions have been copy-paste re-used: interfaces with the same GUID are treated the same with as casts even if they are different. the compiler does not warn about duplicate GUID values** These searches help big time: it shows the duplicate GUIDs if they have been indented all the same way. Good enough for most situations. grep -Sh "\[\'{" *.pas | sort grep -rh "\[\'{" *.pas | sort It depends which flavour of grep you use (gnu or regular) to ...
Favorite? Off-Topic? jpluimers @ 2019-04-04 07:04

Statistics

Visits: 159
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)