Thread overview
Blog Post #0107: D-specific Stuff for GUI Programming III
Apr 14, 2020
Ron Tarrant
Apr 14, 2020
Jan Hönig
Apr 15, 2020
Ron Tarrant
April 14, 2020
Here's the link: https://gtkdcoding.com/2020/04/14/0107-dlang-ui-snippets-iii.html
April 14, 2020
On Tuesday, 14 April 2020 at 08:44:00 UTC, Ron Tarrant wrote:
> Here's the link: https://gtkdcoding.com/2020/04/14/0107-dlang-ui-snippets-iii.html

Hi Ron,

Nice blog post!
i have a question though.
Upon reading threw the stdlib of Dlang, i came across signals and slots [ https://dlang.org/phobos/std_signals.html ].

It is supposed to be the observer pattern.
I have never worked with it and there seems to be some lengthy discussions about it.
Is it a viable alternative?

BR,
Jan
April 15, 2020
On Tuesday, 14 April 2020 at 19:37:14 UTC, Jan Hönig wrote:
> It is supposed to be the observer pattern.
> I have never worked with it and there seems to be some lengthy discussions about it.
> Is it a viable alternative?
>
> BR,
> Jan

Hi Jan,

Honestly, I don't know. I find APIs a bit... cryptic these days. Whether that's the fault of the API writers or me, I couldn't begin to guess. A lot of times, I don't even understand the examples in the Dlang API because they always seem to be aimed at advanced D coders and I am most definitely not that.

Sorry I can't be more help, but I thank you for continuing to read the GtkDcoding posts. I'm most grateful to have an audience. :)