[OT] What are D's values?
Tejas
notrealemail at gmail.com
Mon Oct 4 23:10:27 UTC 2021
On Monday, 4 October 2021 at 23:01:31 UTC, SealabJaster wrote:
> On Monday, 4 October 2021 at 22:15:33 UTC, Walter Bright wrote:
>> What are your experiences with this?
>
> I find code that does Design by Introspection tends to be very
> resilient to additions, modifications, and removals.
>
> For example, I have a library that makes heavy use of
> introspection, and I completely changed the way the
> introspection was being handled without having to touch the way
> the user code was designed.
>
> This was done without breakage (well... there was one break due
> to a language limitation), and with very minor behavioral
> differences. It was definitely quite magical.
>
> Adding things is as simple as making a new UDA, slapping in
> some glue code for the introspect layer, and then applying it
> where relevant.
>
> Modifications don't really break anything unless the UDA itself
> is changed.
>
> Removals technically don't break much since the user part of
> the code is just ignored and non-functional now.
>
> DbI can be pretty awesome.
Can you please list any resources on DbI?
I've been finding it pretty hard to grasp, and I only managed to
find a few videos by Andrei on the subject.
Even the d-idioms website doesn't have much.
Any text sources would be really appreciated.
Thank you for reading!
More information about the Digitalmars-d
mailing list