4 ms·
Perhaps unknown to the HN community is that C# periodically gets Delphi features reintroduced in it in one way or another. More recently, C# 9 and 10 have retu
by unsubstantiated 3y ago
Perhaps unknown to the HN community is that C# periodically gets Delphi features reintroduced in it in one way or another.
More recently, C# 9 and 10 have returned the concept of `records` (preferably immutable objects) along with the `with` keyword for making copies with some of the properties changed from the source to the dest object.
It has been an interesting decade watching HN metaphorically (and sometimes literally i'm sure) shift around uncomfortable in their chair as the all-encompassing-nightmare M$FT creates two languages that are more and more dominating of developer marketshare - C# and TypeScript.
- tracker1 3y agoC# and TypeScript have both been pretty open (in nature and source) for roughly a decade. Which I appreciate. Although, I'm somewhat apprehensive about some of MS's moves with the .Net community, and their holding back on quality of life improvements for C# projects in VS Code. Although, MS hasn't caused me to generally avoid .Net so much as the more "enterprise" nature of most of the projects I've had experience with. I started with .Net (C#) in 2001, and to this day think there is a lot to like there. Of course these days, I'd appreciate the opportunity to work with Rust more than C#.
- rahen 3y agoWell, Anders Hejlsberg, the creator of C#, is also the creator of Delphi.
- fuzztester 3y agoI heard he also worked a lot on .NET, maybe a key role. Google.
- jodrellblank 3y agoAnd of TypeScript
- malbs 3y agoWhen he adds metaclasses and Virtual Class Functions to C#, I'll say his migration of Delphi features is finally complete.
- pjmlp 3y agoOnly if we get the same flexibility in native code and COM interop, for the complete feature set.