February 19, 2021
On Friday, 19 February 2021 at 17:41:51 UTC, Patrick Schluter wrote:
> 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.

Aye, my understanding is actually they were added to do specifically at the request of the DWT porters.

Did you know about the constructor args though? That's what was new to me, I always thought you had to do a zero-arg constructor in the anonymous class (which works 99% of the time anyway.)
1 2
Next ›   Last »