The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,565 other followers

Archive for May 1st, 2019

@rw@mastodon.social on Twitter: “Personally, I prefer to increase the spacing for each successive indent according to the Fibbonaci sequence:… “

Posted by jpluimers on 2019/05/01

Awesome! [WayBack@rw@mastodon.social on Twitter: “Personally, I prefer to increase the spacing for each successive indent according to the Fibbonaci sequence:… “

Via [WayBack] The indentation debate just ended – G+ – CodeProject

–jeroen

Posted in Development, Fun, Software Development | Leave a Comment »

Delphi function result assignments before the function returns…

Posted by jpluimers on 2019/05/01

Eric Grange:

Actually it is not that assignments of function return values can happen “when the function raises an exception” but rather than they can happen before the function returns.

Note that this is not limited to large return types, it can also happen on reference counted types (string, dynamic array, variant and interface), though this is contextual as well…

Got bit by the interface thing a few months ago, an interface release was triggering an exception when the result was assigned, the call stack looked way out of synch with the code, so various compilation and and map file mismatch issues got investigated, before I dropped in asm view in the debugger, which made it all obvious.

I’ve quoted it in full as I’ve been bitten by this a few times as well, but never got to making a proper blog post on it.

Thanks Eric for phrasing this and David for bringing it up.

It actually has been the case since somewhere toward the end of the Turbo Pascal era.

Source: [WayBackThis program: {$APPTYPE CONSOLE} uses System.SysUtils; type TRec1 = r…

–jeroen

Posted in Delphi, Development, History, Pascal, Software Development, Turbo Pascal | Leave a Comment »

1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3. 573PH3N HAWKING

Posted by jpluimers on 2019/05/01

It might not be from him at all, but still a nice T-Shirt worthy quote:

1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3.
573PH3N HAWKING

–jeroen

via: https://plus.google.com/+KevinPowick/posts/9D9hsyTwdFu

 

Posted in Fun, Quotes, T-Shirt quotes | Leave a Comment »

 
%d bloggers like this: