0
votes
Vote UpVote

How to Randomize / Shuffle (Generic) Collections and Lists – Implementing UnSort in Delphi

Zarko Gajic – The second law of thermodynamics, in short version and when read by a programmer, states that “any collection of objects tends not to be sorted” We developers, we have a tendency of organizing objects into lists, collections, queues, stacks … Since you’ll be using the for loop to iterate over developers – why not sort developers first. What’s more, a sorted list is easier (read: faster) to be searched upon. In most cases we want our lists to be sorted in some way. For example, for a list of TDeveloper objects you would need developers (instances of ...
Favorite? Off-Topic? zarkogajic @ 2018-08-09 11:06

Statistics

Visits: 112
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)