On Thu, 20 Nov 2014 14:23:23 -0300
Ary Borenszweig via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
This way you avoid silly typing mistakes while at the same time you
allow splitting a string across several lines without having to
concatenate them at runtime.
i bet that
On Friday, 21 November 2014 at 15:00:31 UTC, ketmar via
Digitalmars-d-learn wrote:
On Thu, 20 Nov 2014 14:23:23 -0300
Ary Borenszweig via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
This way you avoid silly typing mistakes while at the same
time you allow splitting a string
On 11/21/14, 1:59 PM, Marc Schütz schue...@gmx.net wrote:
On Friday, 21 November 2014 at 15:00:31 UTC, ketmar via
Digitalmars-d-learn wrote:
On Thu, 20 Nov 2014 14:23:23 -0300
Ary Borenszweig via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
This way you avoid silly typing
On Friday, 21 November 2014 at 17:43:27 UTC, Ary Borenszweig
wrote:
What's concatenation by juxtaposition?
When foo bar turns into foobar. The two string literals are
right next to each other, no operator or anything else in
between, so they are combined.
On 11/21/14, 2:46 PM, Adam D. Ruppe wrote:
On Friday, 21 November 2014 at 17:43:27 UTC, Ary Borenszweig wrote:
What's concatenation by juxtaposition?
When foo bar turns into foobar. The two string literals are right
next to each other, no operator or anything else in between, so they are
In dco source code I have found:
void ShowUsage()
{
writeln(
dco build tool ~ strVersion ~
written by FrankLIKE.
Usage:
dco [switches...] files...
for example: dco
or: dco app.d
build for dfl2: dco
}
I do not see here any \n. Why this code is output all one by
line, and not in single
On Thursday, 20 November 2014 at 08:28:11 UTC, Suliman wrote:
In dco source code I have found:
void ShowUsage()
{
writeln(
dco build tool ~ strVersion ~
written by FrankLIKE.
Usage:
dco [switches...] files...
for example: dco
or: dco app.d
build for dfl2: dco
}
I do not see here any \n.
uri:
It's by design
And it's a nice handy design.
Bye,
bearophile
I understand it.
I expect what concatenation symbol will stay new line in new line
and not append it's to current:
writeln(
first string
second ~
string
);
I expect:
first string
second
string
but not:
first stringsecondstring
Suliman:
I understand it.
I expect what concatenation symbol will stay new line in new
line and not append it's to current:
writeln(
first string
second ~
string
);
I expect:
first string
second
string
but not:
first stringsecondstring
If I
On Thursday, 20 November 2014 at 10:41:24 UTC, bearophile wrote:
uri:
It's by design
And it's a nice handy design.
Bye,
bearophile
For Wysiwyg strings I agree that it's great but I prefer
C/C++/Python like behaviour for double quoted strings. I guess
it's what I'm used to :)
On Thursday, 20 November 2014 at 11:08:24 UTC, Suliman wrote:
writeln(
first string
second ~
string
);
I expect:
first string
second
string
There's no quoted newline there. You could do:
writeln(
first string
second
string);
with the newlines enclosed
On 11/20/14, 9:05 AM, uri wrote:
On Thursday, 20 November 2014 at 10:41:24 UTC, bearophile wrote:
uri:
It's by design
And it's a nice handy design.
Bye,
bearophile
For Wysiwyg strings I agree that it's great but I prefer C/C++/Python
like behaviour for double quoted strings. I guess it's
13 matches
Mail list logo