www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Blog Post #0107: D-specific Stuff for GUI Programming III

reply Ron Tarrant <rontarrant gmail.com> writes:
Here's the link: 
https://gtkdcoding.com/2020/04/14/0107-dlang-ui-snippets-iii.html
Apr 14 2020
parent reply Jan =?UTF-8?B?SMO2bmln?= <hrominium gmail.com> writes:
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
Apr 14 2020
parent Ron Tarrant <rontarrant gmail.com> writes:
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. :)
Apr 15 2020