0
votes
Vote UpVote

Value types not having parameterless constructors…

The Wiert Corner – The list below is based on a G+ discussion in a single language, but has way broader aspects. It’s on value types, mutability, parameterless constructors and expectations of compiled code. I’ve bitten myself in the foot with mutable types in too many languages too often, so I started advocating this years ago at clients, and now in this blog-post. TL;DR: some languages disallow parameterless constructors: C++, C# and Delphi are examples this historically stems from the C++ and C# background it has to do with them not wanting to automatically call them upon array initialisation ...
Favorite? Off-Topic? jpluimers @ 2019-03-27 12:04

Statistics

Visits: 130
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

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)