Implementing serialisation with minmal boilerplate and template overhead using core.reflect
12345swordy
alexanderheistermann at gmail.com
Tue Aug 17 20:23:48 UTC 2021
On Tuesday, 17 August 2021 at 18:10:48 UTC, Alexandru Ermicioi
wrote:
> On Tuesday, 17 August 2021 at 14:16:52 UTC, 12345swordy wrote:
>> The reason that they use runtime reflection in java/c# is
>> because of the basic principles of OOP.
>>
>> -Alex
>
> How does basic principles of oop force java implementations use
> runtime reflection???
https://en.wikipedia.org/wiki/Inheritance_(object-oriented_programming)
You cannot obtain information such as "How many child classes
does this class currently has", without compiling every
code/library that you use, which isn't feasible as not every
library share their source code.
- Alex
More information about the Digitalmars-d
mailing list