On Wednesday, 3 February 2021 at 07:20:06 UTC, Imperatorn wrote:
As the title says:
1. Are there any (automated) refactoring tools for D?
I believe there's some limited functionality in one or more of
the IDE plugins, but I'm not aware of anything full-featured or
independent.
2. If not,
As the title says:
1. Are there any (automated) refactoring tools for D?
2. If not, why? (Is D still too small?)
Reason:
Reuse component,
bind custom callback without creating new class.
Concept example:
class SaveFilePopup
{
void onSuccess() { /* default operations */ }
}
auto saveFile = new SaveFilePopup();
saveFile.onSuccess = { /* New operations */ }
Delegate:
On Tuesday, 2 February 2021 at 23:10:50 UTC, Steven Schveighoffer
wrote:
On 2/2/21 5:27 PM, Tim wrote:
Hi all,
I have to serialize an array like [0.0, 0.0, 0.0] to a Json
object. During this process, the serializer creates a string
of the array, but it creates "[0, 0, 0]", dropping the
On 2/2/21 5:27 PM, Tim wrote:
Hi all,
I have to serialize an array like [0.0, 0.0, 0.0] to a Json object.
During this process, the serializer creates a string of the array, but
it creates "[0, 0, 0]", dropping the decimal. How can I stop this?
It totally depends on the library. As Adam
On Tuesday, 2 February 2021 at 22:39:40 UTC, WhatMeWorry wrote:
Don't we want to Dynamically link with shared libphobos2.so?
Yeah, I imagine what they meant was statically binding to the
dynamic link library as opposed to loading certain procedures at
runtime one by one.
With the .a file,
On Tuesday, 2 February 2021 at 22:27:53 UTC, Tim wrote:
I have to serialize an array like [0.0, 0.0, 0.0] to a Json
object. During this process, the serializer creates a string of
the array, but it creates "[0, 0, 0]", dropping the decimal.
How can I stop this?
This depends on the library
I'm studying the D article at:
https://dlang.org/articles/dll-linux.html#dso5
https://dlang.org/articles/dll-linux.html#dso6
Statically Linking D Program With libphobos2.a
Statically Linking D Program With libphobos2.so
Don't we want to Dynamically link with shared libphobos2.so?
Also why
Hi all,
I have to serialize an array like [0.0, 0.0, 0.0] to a Json
object. During this process, the serializer creates a string of
the array, but it creates "[0, 0, 0]", dropping the decimal. How
can I stop this?