Tag Archives: generics

8 – Round Table on Best Practices

This is another one of our exciting round table discussions.  This time around we discuss Conferences – Including up coming CodeGear conferences, Best Practices, Newsgroups and Forums, Generics, Exception handling, Source Control, the MVC Pattern as it relates to Delphi and great Delphi extensions.

Anders Ohlsson with Developer Relations at Embarcadero Technologies.  Anders is involved in the CodeGear conferences including CodeRage and the previous DevCons.  Additionally he travels the world meeting with Delphi developer groups showing off the latest features of Delphi.  His blog is the Hacker’s Corner.

Roland Beenhakker is a long time Delphi user since version 1. He started his own company Beensoft Software Engineering. In this company a small team of professionals build software and webapplications to customer’s specifications, using Delphi and other tools. He is located in Heiloo, Netherlands, which is about 40 kilometers north of Amsterdam. His blog is Delphi Power Unleashed.

Jolyon Smith has been using Delphi since literally before it was released, as he has access to the Borland Early Experience Program through his employer at the time. Before that he was developing client/server Windows applications before it became fashionable, primarily using Gupta SQLWindows and SQLBase. Apart from software development, he is a rabid movie geek, a devoted family man, a voracious reader and an enthusiastic singer. He lives in Aukland, New Zealand and his blog is Te Waka o Delphi.

marc hoffman is the Chief Software Architect for RemObjects and a Spare-time Photographer. When he is not guest appearing on this podcast he runs a blog at RemObjects.com where he talks about Oxygene and shares some of his photographs. marc lives in Berlin Germany, and prefers his name all lowercase.

Be sure to take advantage of the 20% off of anything and everything RemObject sells with the discount code in the podcast.  Also get 25% off BeyondCompare 3 from Scooter Software.  The discount codes are in the podcast and good through the end of October.

Some episode links and notes.  Add more in the comments!

Intro to Generic Collections with Delphi 2009

A very short introduction to Generic Collections in Delphi 2009. Create a TList of Integers and show adding and removing items from it. Showing some of the differences in types, gotchas and errors you might get.

Generics, or parametrized types, are a type that works with another type that is defined later. Collections are a great example of using them. You create a generic TList, and then when you use it you declare what type it will contain. Then it will be strongly typed to that specific type, both in adding items and removing them.

Delphi Generics work with all types in Delphi: native types (Integer, string, etc.), Records, Objects and Interfaces.

This is screen cast episode 2, shot with Camtasia and hosted on Vimeo.  I had to shoot it at 1280×720 so they will offer it in HD and not downscale it.  Let me know how it works for everyone.

As was pointed out in the comments, the download link only works after you sign into Vimeo.  If that doesn’t work for people let me know and I will come up with a different solution.

4.2 – Julian Bucknall

We continue our discussion with Julian Bucknall, the Chief Technical Officer of DevExpress and the author Tomes of Delphi: Algorythms and Data Structures. We will be talking about the Generic TDictionary that comes with Delphi 2009, and the latest news with DevExpress.

Be sure to read the great additional information from Barry Kelly in the comments!

4.1 – Julian Bucknall

Our guest today is Julian Bucknall, the Chief Technical Officer of DevExpress and the author Tomes of Delphi: Algorythms and Data Structures.  We will be talking about the new generic containers in Delphi 2009 and how to use them.

Winners of the SmartInspect giveaway announced.

3 – Barry Kelly

In this episode we interview Barry Kelly who is one of the talented software engineers working on the Delphi compiler at Embarcadero’s CodeGear.  We will discusses native code garbage collectors, generics, Anonymous methods and more.