Visit site Yet Another Programming Blog

February 2010

5
votes
Vote UpVote

DeHL, Delphi 2010 and Serialization

Yet Another Programming Blog – A few months have passed and I did not release a new version of DeHL yet. No, it’s not dead. I’ve just been busy with a delicate new feature — Serialization. This post will demonstrate the new capabilities of DeHL it’s advantages and and shortcomings. But first — since ...
Details Favorite? Off-Topic? alex @ 2010-02-03 14:33

October 2009

1
vote
Vote UpVote

TypeInfo workaround

Yet Another Programming Blog – This is going to be a short one. Just wanted to share a simple and elegant work-around for this QC issue: type TypeOf<T> = record class function TypeInfo: PTypeInfo; static; class function Name: string; static; class function Kind: TTypeKind; static; end; { TypeOf<T> } ...
Details Favorite? Off-Topic? alex @ 2009-10-11 13:29
6
votes
Vote UpVote

DeHL 0.7 is up

Yet Another Programming Blog – After a few months of no releases, I finally decided to throw one out — so here it is, DeHL 0.7. This release is adding three more collection, new types and fixes some internal limitations of the library. For the people that never tried DeHL – it is a collection of types and classes ...
Details Favorite? Off-Topic? alex @ 2009-10-02 09:56

September 2009

2
votes
Vote UpVote

Class constructors and Generics

Yet Another Programming Blog – The new great addition to the Delphi language in Delphi 2010 is the possibility to specify a class constructor and a class destructor to your class/record. I will not describe this feature in this post since you can see the online documentation for it on the Embarcadero Doc Wiki. The part I am ...
Details Favorite? Off-Topic? alex @ 2009-09-13 10:39

June 2009

3
votes
Vote UpVote

DeHL 0.6 available

Yet Another Programming Blog – Yes I know I have skipped 0.5. The reality is that 0.5 was due a long time ago, but I did not have enough free time on my hands to complete the unit testing for all new features added. I always try to add as many unit tests as possible to test all possible scenarios. This release features a general ...
Details Favorite? Off-Topic? alex @ 2009-06-21 16:58
2
votes
Vote UpVote

Update for FSEnum

Yet Another Programming Blog – Since some people asked me to improve FSEnum unit (see this post). I decided to give it another go and add some features and improve the others. So what’s new? Optional Boolean parameter for all methods that tells the enumerator whether to return the relative paths (like it did before) or ...
Details Favorite? Off-Topic? alex @ 2009-06-15 17:59
2
votes
Vote UpVote

Extending TObject with data at runtime

Yet Another Programming Blog – In a recent comment on this blog someone suggested a way of  extending an existing object instance with custom data at run-time. The main idea is to be able to “assign” to an arbitrary object (whose sources you cannot change) some other object at run-time. This may prove to be useful in ...
Details Favorite? Off-Topic? alex @ 2009-06-13 15:25
4
votes
Vote UpVote

Enumerating over a directory structure

Yet Another Programming Blog – Me again, and again with enumeration techniques. In this post I will try to coven a very common problem all programmers have to face one time or another: enumerating all files recursively in a directory. Yesterday I had to do it again, and again following the standard FindFirst … FindNext and ...
Details Favorite? Off-Topic? alex @ 2009-06-12 13:39
3
votes
Vote UpVote

Arbitrary precision integers

Yet Another Programming Blog – I have decided to extract the BigInteger and BigCardinal data types from DeHL and make a bundle with them separately. Someone may be interested in these types and not so much in DeHL. The attached unit should compile on D2007 and D2006 (not sure for earlier versions). What can you learn: Shows you ...
Details Favorite? Off-Topic? alex @ 2009-06-10 17:29
10
votes
Vote UpVote

Playing with Windows 7

Yet Another Programming Blog – I was playing around with some (default Windows) programs these days and noticed that taskbar items for those programs show some cool effects whenever there is some progress going on So I decided to write a little unit to take advantage of these effects in one of my Delphi applications. To take ...
Details Favorite? Off-Topic? alex @ 2009-06-09 21:52
3
votes
Vote UpVote

DeHL documentation

Yet Another Programming Blog – Since I had a few requests, I have started putting together some documentation on DeHL. It’s pretty basic and only includes some conceptual stuff, not API documentation. You can find it here. Version 0.5 is shaping up quite well with tons of changes, and new stuff coming in — but ...
Details Favorite? Off-Topic? alex @ 2009-06-09 18:06

May 2009

5
votes
Vote UpVote

What’s new in DeHL 0.4

Yet Another Programming Blog – In the previous post I have mostly talked about Enex (Enumerable Extensions) I have enabled for all DeHL’s collection classes. Now I will list the other changes that got into this release that may be of interest to you: Enex (Enumerable Extensions) in DeHL.Collections.Enex. Support for ...
Details Favorite? Off-Topic? alex @ 2009-05-13 08:39
7
votes
Vote UpVote

DeHL 0.4: Linq-ifying Delphi

Yet Another Programming Blog – Since I have started working on DeHL, one of the main purposes was to get to the point where I could use Linq-like extensions on collection classes. Of course I could not call the new functionality Linq since it’s not language-integrated, so I decided to give it another name: Enex (aka ...
Details Favorite? Off-Topic? alex @ 2009-05-12 15:13
2
votes
Vote UpVote

More about enumerables

Yet Another Programming Blog – In the last post I have described how enumeration works in Delphi. Now I will try to expand the subject a bit and make a more general description of what enumerability actually means and how it can solve some basic problems and patterns. “An enumrebale is not necessarily a collection“. ...
Details Favorite? Off-Topic? alex @ 2009-05-12 10:59
2
votes
Vote UpVote

Enumerables in Delphi

Yet Another Programming Blog – It is not a surprise that most programming languages in our time have the built-in support for enumerators/iterators. This is a mandatory feature since enumerators and enumerable collections simplify the development of applications and make the code cleaner. Languages such as C#, Java or Delphi have ...
Details Favorite? Off-Topic? alex @ 2009-05-12 09:58
Subscribe:
SmartInspect Delphi Logging
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

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