I learned something new in D this week! (anonymous class rundown)
Patrick Schluter
Patrick.Schluter at bbox.fr
Fri Feb 19 17:41:51 UTC 2021
On Thursday, 18 February 2021 at 04:31:39 UTC, Adam D. Ruppe
wrote:
> Many of you know I've been around D for a long time now and
> picked up a lot of random tricks over the years, so it isn't
> every day I learn about a new old feature in the language's
> basic syntax.
>
> Would you like to know more?
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2021_02_15.html
>
> I also showed how you can use anonymous classes in betterC
> without any crazy hacks btw!
>
>
> Lately most my blog posts have just been quick updates on what
> features are coming in my libraries, but I still write these
> more general-knowledge kind of tips from time to time. (and
> sometimes the lib entries can be generally educational too like
> my little attempt at demystifying fibers a couple months ago:
> http://dpldocs.info/experimental-docs/arsd.fibersocket.html#conceptual-overview )
DWT users knew about anonymous classes as they are used a lot
there. Of course as SWT is a Java based library, D had to had the
features to ease the porting.
More information about the Digitalmars-d-announce
mailing list