Code Faster in Delphi Book

This book will make you a faster Delphi developer, it doesn't matter if you are just starting out, or have been using Delphi since version 1, you will find all sorts of tips, tricks and hacks to boost your productivity.

Slide
Mega Pack Video Bundle
Get The Complete Video Series

Buy big and save bigger, Megapack is the complete premium video content (over 34 hours) at one low price.

Code Better in Delphi Book

Make your Delphi code better by reading this book! You will find numerous tips, tricks, techniques and tools to enhance and improve code. How does your code stack up? Are you writing code that will be usable for years, or are you heading towards a dystopian maintenance apocalypse?

previous arrow
next arrow

Generic Collections

The Generic Collections Library is one of the best recent additions to the Delphi RTL. With it, you can get type safety on your containers without having to write a whole bunch of boilerplate code each time.  This can represent a big reduction in the amount of code you need to write and also reduce bugs in your code. Learn how to best make use of this library and take advantage of some of its more powerful features.

These videos cover all the containers available in the collections library and gives an in-depth account of most of their capabilities.  You will learn about the basic containers (TStack, TQueue and TList), covering their basic features (adding, moving, removing etc.) then more advanced topics such as how the internals of sorting works.  Then we move on to TDictionary and how hashing works and how you can provide your own hashing mechanisms to changes its default behaviour.  Finally, we look at the thread-safe collections and how they can be used in multi-threaded code.

See Table of Contents by clicking 'Read more' below.

Buy Generic Collections now 

 Table of Contents

00:00:00 Introduction
00:00:41 Stacks
00:21:08 Queues
00:25:06 Lists
01:13:52 Dictionaries
01:48:13 TArray
01:59:29 Assignment Compatibility
02:03:25 Thread safe Collections
02:27:46 Summary