C is Brittle D is Plastic

Kapendev alexandroskapretsos at gmail.com
Sun Mar 29 10:54:56 UTC 2026


On Sunday, 29 March 2026 at 10:33:14 UTC, libxmoc wrote:
> What's odd is comparing D with C#/Kotlin to begin with. D is a 
> general purpose programming language that targets machines, 
> while C#/Kotlin are OOP languages that target a virtual machine 
> with a JIT.
>
> With that being said, properties are not liked by everyone, 
> Jeffrey Richter[1], a renowned .NET expert and author of CLR 
> via C#, dislikes them.
>
> [1] https://www.goodreads.com/book/show/7121415-clr-via-c

I get why some people avoid them, but any feature can be abused.
If you are hiding 2000 loc inside a property, then it's a you 
problem.

This makes me think of `scope(exit)`/`defer` for some reason.
Simple feature, but some people like to spam it so much that the 
control flow gets hard to follow.


More information about the Digitalmars-d mailing list