Visit site Te Waka o Delphi

April 2017

0
votes
Vote UpVote

Expressive If and Case …

Te Waka o Delphi – A quick post on a small but hugely useful little language feature in Oxygene… if expressions. Many people will be familiar with the so-called ternary operator. Delphi developers will also be aware that there is no direct equivalent in Delphi. In ‘C’ and other languages we can write ...
Details Favorite? Off-Topic? Deltics @ 2017-04-25 03:04
0
votes
Vote UpVote

Hidden/Hard to Find Deals on Parallels Desktop Pro

Te Waka o Delphi – For some years now I’ve been running a Mac as my main development system, using Parallels Desktop to run Windows in VM’s on that hardware. I like the Parallels software, but not their licensing policy, which requires me to license each machine I use rather than the “No ...
Details Favorite? Off-Topic? Deltics @ 2017-04-17 04:03
3
votes
Vote UpVote

So long and thanks for all the Fixes

Te Waka o Delphi – Andreas Hausladen has released his latest DevExtensions and IDEFixPack for Delphi 10.2, just the latest release of fixes for things that Embarcadero should have fixed before pushing the “It’s Ready” button. Andreas’ work always presented something of a quandary to me. Whilst ...
Details Favorite? Off-Topic? Deltics @ 2017-04-11 04:04

March 2017

0
votes
Vote UpVote

The Varying (and Variant) Value of True

Te Waka o Delphi – My most recent posts have prompted a bit of discussion, and it seems some concern, regarding the implementation of Boolean values in Delphi. The concern at least I think is unwarranted, as long as you avoid explicitly comparing a Boolean value to the True constant and allow the compiler to logically ...
Details Favorite? Off-Topic? Deltics @ 2017-03-20 21:04
1
vote
Vote UpVote

(True = 1) and (True = ‘-1’) ?

Te Waka o Delphi – It has been observed that the Delphi documentation states that the constants True and False have the values 1 and 0 respectively, not the -1 and 0 that the default string conversions apply. This does actually make sense but also lays a trap for the unwary. True, True, Wherefore Art Thou -1 ? In the ...
Details Favorite? Off-Topic? Deltics @ 2017-03-16 20:03
1
vote
Vote UpVote

Anatomy of a utility function: BoolToStr()

Te Waka o Delphi – Jaap Van Goor was asking on FaceBook about some seemingly strange behaviour when obtaining string representations of Booleans using the Delphi RTL, which led me to revisit some familiar (and some not so familiar) old Delphi ground and take a look at the area involved in further detail. First of all, ...
Details Favorite? Off-Topic? Deltics @ 2017-03-16 06:03

February 2017

0
votes
Vote UpVote

Anonymous Classes: Identity Exposed!

Te Waka o Delphi – In my previous post on Anonymous Classes I erroneously referred to them as “dynamic objects” (thanks to commentors for pulling me up on that). Dynamic objects are something else entirely (although what precisely they might mean can vary on different platforms and in different languages). ...
Details Favorite? Off-Topic? Deltics @ 2017-02-18 01:03
0
votes
Vote UpVote

Musings on TIOBE

Te Waka o Delphi – It seems like only 12 months ago that a lot of fuss was being made about Delphi re-entering the TIOBE Index Top 10 and now it’s done it again! Um… hang on… To enter the Top 10 again doesn’t that mean that somewhere along the way it must have dropped out of the Top 10 ...
Details Favorite? Off-Topic? Deltics @ 2017-02-16 23:03
0
votes
Vote UpVote

Anonymous Classes: Dynamic Objects

Te Waka o Delphi – There is another use case for anonymous classes even simpler than that of providing implementations of interfaces: Dynamic objects. I am not referring not to the notion of a dynamic object which involves runtime allocation of objects as opposed to static allocation. In Delphi terms this distinction ...
Details Favorite? Off-Topic? Deltics @ 2017-02-14 10:04
0
votes
Vote UpVote

Delphi for Linux: Enterprise / Architect Only + ARC Imposed = … ?

Te Waka o Delphi – With the lack of any easily available information from Embarcadero, in yesterday’s post I had to speculate as to the cost that might be involved with the new Delphi for Linux. According to comments it seems that I was being overly generous by suggesting that only a Pro Edition of Delphi would ...
Details Favorite? Off-Topic? Deltics @ 2017-02-12 21:03
0
votes
Vote UpVote

On Delphi for Linux…

Te Waka o Delphi – It has been difficult to avoid the fuss being made about the “new” Linux support in Delphi. It’s almost as if they didn’t have a Linux offering more than 15 years ago. I refer of course to Kylix, which failed in no small part due to the quality and the cost of the tool, for ...
Details Favorite? Off-Topic? Deltics @ 2017-02-12 09:03
0
votes
Vote UpVote

Anonymous

Te Waka o Delphi – A few years ago (2011 to be precise) someone asked a question on StackOverflow about support for anonymous classes in Delphi. The reason for the question was that the poster was trying to use Delphi to develop for Android and on that platform the widespread use of callback interfaces makes anonymous ...
Details Favorite? Off-Topic? Deltics @ 2017-02-10 23:03

December 2016

0
votes
Vote UpVote

Retrofit – Handling Different Responses

Te Waka o Delphi – In my previous post I provided a simple example of how to use Retrofit to define, create and use a REST API client. Even in that simple example the issue of how to deal with different responses to a request came up. That is, where the response we receive does not conform to the strongly […]
Details Favorite? Off-Topic? Deltics @ 2016-12-09 00:04
0
votes
Vote UpVote

Using Retrofit with Oxygene

Te Waka o Delphi – I’ve recently been working on a new project involving an Azure hosted ASP.NET MVC WebApi application (actually a pair of them) and native mobile and web applications. Everything is – of course – built using Oxygene. For the Android mobile app I was looking for a REST API client ...
Details Favorite? Off-Topic? Deltics @ 2016-12-07 12:04

November 2016

0
votes
Vote UpVote

Mix-in Unified and Segregated Syntax: An (Extended) Example

Te Waka o Delphi – Yesterday I initially posted that you couldn’t mix Unified Syntax with “traditional” interface and implementation sections. Or what I am now calling Segregated Syntax. As sometimes happens, shortly after writing what I thought I knew to be true I discovered it wasn’t ! Sorry ...
Details Favorite? Off-Topic? Deltics @ 2016-11-25 07:04
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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