Unknown
They say Generics and pointers don’t mix. type PMyThing<T> = ^TMyThing<T> // [DCC Error] E2508 type parameters not allowed on this type TMyThing<T> = record Thing: T; end;Ok, they don’t. But there is a loophole!type… … Read more
13 years ago in Delphi, generics, pointers0
Unknown
Curt Carpenter suggested a language addition for handing binary case logic.That gave me this idea. Chalk it up as another weird code snippet from yours truly.///<summary>> Convert array of booleans to a pseudobinary integer. ///Good… … Read more
13 years ago in binary, case, Delphi0
Unknown
Prior to 2007, I had used Delphi 3, 4, 5 and 7. Without exception, they were all fine releases, generally they were great in themselves, but Delphi 4 in particular excelled in that I could… … Read more
14 years ago 0
Unknown
From the wishful thinking department, I would love to be able tovar Src: TSomeClass; MyObject : TBoundObject<Boolean>;begin MyObject.Bind(Src, CompilerMagic(TSomeClass.SomeBooleanProperty));end;instead ofvar Src: TSomeClass; MyObject : T… … Read more
14 years ago in bind, Delphi, generics, Wishlist0
Unknown
Does anybody still remember WinForms? If you think WinForms is old outdated technology, and WPF is the new and cozy, you might want to go on Youtube and look at the Windows 8 previews. Microsoft… … Read more
14 years ago 0
Unknown
I wish this was a solution post, but it is a frustration post. I trying to figure out how I can use Ord() to convert an enumerated type to integer or cast an integer to… … Read more
14 years ago in Delphi, Enumerated types, generics0
Unknown
The term “spaghetti code” is usually attributed to pre-OOP code, but there is a lot of OOP code out there that is definitely entangled and a mess. I have seen quite some of it in… … Read more
14 years ago 0
Unknown
There have been several articles over the last couple of weeks about the usefulness of .net for startups. I will mention three: * Did the Microsoft stack kill MySpace? * Why we don’t hire .net… … Read more
14 years ago in dotnet, innovation0
Unknown
In the recent iPad 2 announcement by Apple, Steve Jobs revealed, that Apple now earns most money on post-PC products like iPad, iPod, iPhone, Apple TV etc. This tendency does not need to continue for… … Read more
14 years ago in apple0
Unknown
Many iPhone and Android fans don’t believe that Nokia and Microsoft have much chance to succeed. While everybody agrees that they wouldn’t have a chance without good partners, few seem to agree that they can… … Read more
14 years ago in google, microsoft, nokia0
Unknown
Yet Another Language Popularity Contest – Web site dataists had an article in december about the popularity of programming languages, using data from StackOverflow and GitHub to measure popularity. Delphi scored high on StackOverflow, but… … Read more
14 years ago in Delphi, popularity0
Unknown
Looking back on this video with Anders Hejlsberg, about the future of C#, from march 2009, or this blog post about the upcoming bloat explosion, seems quite awkward with the current explosion of iOS and… … Read more
14 years ago in android, dotnet, google, microsoft0
Unknown
If you combine a few news articles, things get interesting: http://www.guardian.co.uk/technology/2010/nov/29/apple-ipad-cannibalising-pc-sales “Gartner forecasts that worldwide PC shipments for 2011 will reach 409m units” = 1.1 million per day. It is… … Read more
14 years ago in android, google, windows0
Unknown
This impressive demo of a web application deserves more publicity. I am quite sure that this is not the last GUI toolkit that interfaces with generic web browsers. … Read more
14 years ago in gtk, html0
Unknown
Microsoft is usually very good at presenting new products years ahead of the actual launch – but there continues to be a very remarkable absence of a single strategy for support of Windows applications or… … Read more
14 years ago in apple, google, microsoft0