On Sunday, 13 May 2018 at 07:42:10 UTC, Suliman wrote:
Could anybody give small example of Dependency injection
pattern? I googled about it, but found only C# examples and I
am not quite sure how to use them.
Also I would like get some explanation/comments for code.
Here is a quick example o
On Wednesday, 9 May 2018 at 09:38:14 UTC, BoQsc wrote:
The D Style suggest to camelCase constants, while Java naming
conventions always promoted uppercase letter.
Is there an explanation why D Style chose to use camelCase
instead of all UPPERCASE for constants, was there any technical
problem
On Saturday, 12 May 2018 at 20:23:27 UTC, boolangery wrote:
Hi,
I want to do something like that:
The user first register some type associated to a string and a
callback
registerHandler!Foo("foo", (res) {
info("message received");
});
I want the callback to be called when a json packet c
Could anybody give small example of Dependency injection pattern?
I googled about it, but found only C# examples and I am not quite
sure how to use them.
Also I would like get some explanation/comments for code.