On Sat, 2017-04-15 at 21:48 +, cym13 via Digitalmars-d wrote:
> […]
> structure is alike. This makes it *so* much easier. I want to be
> able to find bugs easily. I want D to be like python on that
> part. Not perl. Not ruby.
Python now has string interpolation, f-strings.
--
Russel.
=
On 4/15/17 10:04 PM, Jonas Drewsen wrote:
Hi all
I've been wanting to have support for interpolated strings in D for
some time now that will allow you to write e.g.:
auto a = 7;
writeln( $"{a} times 3 is {a*3}" );
Code speaks louder that words so I've made a PR that adds this support
to ddmd
On Saturday, 15 April 2017 at 18:00:50 UTC, Isaac Gouy wrote:
On Thursday, 13 April 2017 at 03:29:26 UTC, Joakim wrote:
Cooperative with what? He chose not to include D anymore,
which at one point dominated the shootout, and says we should
just start our own site:
https://forum.dlang.org/po
On Saturday, 15 April 2017 at 23:58:18 UTC, Adam D. Ruppe wrote:
On Saturday, 15 April 2017 at 23:11:42 UTC, Stanislav Blinov
wrote:
How about... it removes an import or two?
It doesn't actually remove the dependency, it is just syntax
sugar over it (there is precedent for this in the languag
On Saturday, 15 April 2017 at 23:11:42 UTC, Stanislav Blinov
wrote:
How about... it removes an import or two?
It doesn't actually remove the dependency, it is just syntax
sugar over it (there is precedent for this in the language, the
pow operator calls a Phobos function, but it means you don
On Saturday, 15 April 2017 at 23:11:42 UTC, Stanislav Blinov
wrote:
On Saturday, 15 April 2017 at 21:38:24 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:20:49 UTC, Stanislav Blinov
wrote:
On Saturday, 15 April 2017 at 20:12:41 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, J
On Saturday, 15 April 2017 at 21:38:24 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:20:49 UTC, Stanislav Blinov
wrote:
On Saturday, 15 April 2017 at 20:12:41 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen
wrote:
This has been proposed before, and I still don
On Saturday, 15 April 2017 at 20:45:23 UTC, Jonas Drewsen wrote:
On Saturday, 15 April 2017 at 20:20:49 UTC, Stanislav Blinov
wrote:
On Saturday, 15 April 2017 at 20:12:41 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen
wrote:
This has been proposed before, and I s
On Saturday, 15 April 2017 at 20:20:49 UTC, Stanislav Blinov
wrote:
On Saturday, 15 April 2017 at 20:12:41 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen
wrote:
This has been proposed before, and I still don't see the added
value compared to:
auto a=7;
w
On Saturday, 15 April 2017 at 21:03:27 UTC, Xinok wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
Hi all
I shared my thoughts on such a feature just a couple weeks ago:
https://forum.dlang.org/post/oedeijdewmhazaqaz...@forum.dlang.org
Most of you points applies to
On Saturday, 15 April 2017 at 20:57:33 UTC, Jack Stouffer wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
...
First, there's a process for language additions, please see
https://github.com/dlang/DIPs/blob/master/README.md
Secondly, I can tell you that any proposal th
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
Hi all
I shared my thoughts on such a feature just a couple weeks ago:
https://forum.dlang.org/post/oedeijdewmhazaqaz...@forum.dlang.org
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
...
First, there's a process for language additions, please see
https://github.com/dlang/DIPs/blob/master/README.md
Secondly, I can tell you that any proposal that can be solved via
the standard library has a very low chance o
On Saturday, 15 April 2017 at 20:35:56 UTC, crimaniak wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
The compiler will basically lower the $"..." string to a mixin
that concatenates
the expression parts of the (inside the {}) and the plain text
parts.
It's easy implemen
On Saturday, 15 April 2017 at 20:20:49 UTC, Stanislav Blinov
wrote:
On Saturday, 15 April 2017 at 20:12:41 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen
wrote:
This has been proposed before, and I still don't see the added
value compared to:
auto a=7;
w
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
The compiler will basically lower the $"..." string to a mixin
that concatenates
the expression parts of the (inside the {}) and the plain text
parts.
It's easy implementable as a library (see
https://github.com/Abscissa/scriptlik
On Saturday, 15 April 2017 at 20:12:41 UTC, cym13 wrote:
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
This has been proposed before, and I still don't see the added
value compared to:
auto a=7;
writeln(a, " times 3 is ", a*3);
besides adding compiler complexity,
On Sunday, 9 April 2017 at 20:14:24 UTC, Walter Bright wrote:
... a general mechanism for safe refcounting of classes has
eluded us.
Regardless of my other comments, which are maybe a little
uninformed, DIP74 seems pretty good:
https://wiki.dlang.org/DIP74
Manu started a thread asking about
On Saturday, 15 April 2017 at 20:04:13 UTC, Jonas Drewsen wrote:
Hi all
I've been wanting to have support for interpolated strings in
D for some time now that will allow you to write e.g.:
auto a = 7;
writeln( $"{a} times 3 is {a*3}" );
Code speaks louder that words so I've made a PR that
Hi all
I've been wanting to have support for interpolated strings in D
for some time now that will allow you to write e.g.:
auto a = 7;
writeln( $"{a} times 3 is {a*3}" );
Code speaks louder that words so I've made a PR that adds this
support to ddmd as a RFC [1].
The compiler will basic
On Thursday, 13 April 2017 at 03:29:26 UTC, Joakim wrote:
Cooperative with what? He chose not to include D anymore,
which at one point dominated the shootout, and says we should
just start our own site:
https://forum.dlang.org/post/no8klt$1d1i$1...@digitalmars.com
When did D dominate?
ht
On Saturday, 15 April 2017 at 15:11:08 UTC, Laeeth Isharc wrote:
Not sure how much memory ldc takes to build. If it would be
helpful for ARM I could contribute a couple of servers on
scaleway or similar.
That'd be great. Can you take initiative and send a mail to Kai
and ask him about the
On Saturday, 15 April 2017 at 09:52:49 UTC, Johan Engelen wrote:
On Thursday, 6 April 2017 at 09:39:05 UTC, kinke wrote:
What LDC would primarily need is a CI platform supporting ARM
(and ideally AArch64) in order to make it a true first-class
target. We don't know of a free CI platform, so A
On 15.04.2017 07:04, Timon Gehr wrote:
You said "come about when". Those things "came about" in Haskell.
This is the original monad paper (in an fp context):
homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/baastad.pdf
Actually, it is this one:
https://page.mi.fu-berlin.de/scravy/realworld
On Friday, 14 April 2017 at 21:09:23 UTC, Walter Bright wrote:
Fundamentally changing the language is a major undertaking. The
language is complicated, there's a lot of baggage, and the
reason things are the way they are is usually unclear. Having a
handwavy post proposing such things is just n
On 15.04.2017 10:45, Walter Bright wrote:
On 4/14/2017 10:04 PM, Timon Gehr wrote:
I don't buy that aiming for inconsistencies is a way to
make a system more intuitive when the user didn't have prior exposure
to a
similar system.
Please propose a better design.
I'm criticizing the justificat
On Thursday, 13 April 2017 at 05:29:28 UTC, Dukc wrote:
The reason it needs:
{ scope Object ob = new RefCountableType("foo");
scope ob2 = ob;
ob = new RefCountableType("bar");
}
The "foo" instance would leak if the destruction would be done
by calling at end of scope.
I assume you
On Saturday, 15 April 2017 at 10:30:57 UTC, Moritz Maxeiner wrote:
On Saturday, 15 April 2017 at 10:10:54 UTC, Stefan Koch wrote:
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch
wrote:
Hi Guys, due to the old CTFE status thread getting to page
30, I am now starting a new one.
[...]
On Saturday, 15 April 2017 at 10:10:54 UTC, Stefan Koch wrote:
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch
wrote:
Hi Guys, due to the old CTFE status thread getting to page 30,
I am now starting a new one.
[...]
The llvm backend is back in a fully working state.
It's about 2ti
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
Hi Guys, due to the old CTFE status thread getting to page 30,
I am now starting a new one.
[...]
The llvm backend is back in a fully working state.
It's about 2times slower in my then my interpreter ;)
On Thursday, 6 April 2017 at 09:39:05 UTC, kinke wrote:
What LDC would primarily need is a CI platform supporting ARM
(and ideally AArch64) in order to make it a true first-class
target. We don't know of a free CI platform, so ARM isn't
tested automatically, and it's currently mostly up to po
On 4/14/2017 11:08 PM, Shachar Shemesh wrote:
Keep in mind that other languages, such as C++, will not even look at
any proposals that are not detailed and complete.
While nothing there is perfect, I don't agree with that point. Language changes
are being proposed on the mailing list all the ti
https://m.facebook.com/login
On 4/14/2017 10:04 PM, Timon Gehr wrote:
I don't buy that aiming for inconsistencies is a way to
make a system more intuitive when the user didn't have prior exposure to a
similar system.
Please propose a better design.
On Saturday, 15 April 2017 at 07:15:06 UTC, Nick B wrote:
Hi
Can anyone advise if there will be live streaming or will there
only YouTube videos after the event. Not that I'm complaining.
thanks Nick
They had it on Ustream last year, guessing they will again. Only
problem last year is th
Hi
Can anyone advise if there will be live streaming or will there
only YouTube videos after the event. Not that I'm complaining.
thanks Nick
36 matches
Mail list logo