Foundation · Tips & Tricks · Uncategorized

Unit Testing Generic Types

So you created a generic class. Maybe a specialized generic collection, like a generic set. Professional as you are, you are going to need some unit tests for this class. But how do you test a class that can have so many variations depending on the type argument. You could write test cases for just… Continue reading Unit Testing Generic Types

Communications · Foundation · Uncategorized

Scalable HTTP/S and TCP client sockets for the cloud

Now that the cloud has become a core part of every developer’s life, we are faced with designing scalable, distributed services that reside on these platforms (Amazon’s AWS, Google Compute and Microsoft Azure) and are able to interact with other third-party facing services and middle-ware such as databases, messaging brokers, remote push messaging services and… Continue reading Scalable HTTP/S and TCP client sockets for the cloud

Foundation · Uncategorized

Expand your Collections collection – Part 1: a generic set

Welcome to this first post in a series about custom (generic) collections in Delphi. These are part of our Grijjy Foundation library of classes and utilities that are used throughout our code base. Other Grijjy Repositories often depend on this library. Introducing TgoSet Have you ever doubted between using a TList<T> or TDictionary<T> to store… Continue reading Expand your Collections collection – Part 1: a generic set