I moved it out of draft status since I think it's respectable
enough as it is[1], but improvements and additions should still
be made.
However, the Coming From pages seem to have been renamed D for X
programmers. I don't think this article fits that moniker.
From where should we link this
On Sunday, 12 April 2015 at 03:51:50 UTC, Jakob Ovrum wrote:
I can't seem to get the compiler to error on dangling else. I
tried the examples in the original PR[1], but they seem to
compile without error with DMD 2.067. Is anyone able to make
the compiler error on dangling else?
[1]
On Saturday, 11 April 2015 at 10:24:53 UTC, Jakob Ovrum wrote:
http://wiki.dlang.org/Coming_From/C_Plus_Plus_WIP_article
*Un*signed integer overflow isn't undefined in C/C++ either.
— David
On Saturday, 11 April 2015 at 16:02:53 UTC, David Nadlinger wrote:
On Saturday, 11 April 2015 at 10:24:53 UTC, Jakob Ovrum wrote:
http://wiki.dlang.org/Coming_From/C_Plus_Plus_WIP_article
*Un*signed integer overflow isn't undefined in C/C++ either.
— David
I removed the section on
Thanks for the feedback, I think I've incorporated all the
suggested changes.
Also added a section on how D deals with object slicing.
I can't seem to get the compiler to error on dangling else. I
tried the examples in the original PR[1], but they seem to
compile without error with DMD
On Saturday, 11 April 2015 at 10:24:53 UTC, Jakob Ovrum wrote:
I've done some preliminary work on a wiki page that attempts to
convince C++ programmers who are on the fence about D, who need
to know what D provides over C++11 and C++14.
You should mention stack variables and members initialized by
default. This avoids many release-only bugs.
Also:
if (cond); // D won't allow that, but C++ will
statement();
Almost every C++ programmer encounter this in its carreer.
On Saturday, 11 April 2015 at 11:02:47 UTC, ponce wrote:
You should mention stack variables and members initialized by
default. This avoids many release-only bugs.
Also:
if (cond); // D won't allow that, but C++ will
statement();
Almost every C++ programmer encounter this in its
I've done some preliminary work on a wiki page that attempts to
convince C++ programmers who are on the fence about D, who need
to know what D provides over C++11 and C++14.
http://wiki.dlang.org/Coming_From/C_Plus_Plus_WIP_article
I don't know if a Coming_From page is the right place for
On Saturday, 11 April 2015 at 10:24:53 UTC, Jakob Ovrum wrote:
I've done some preliminary work on a wiki page that attempts to
convince C++ programmers who are on the fence about D, who need
to know what D provides over C++11 and C++14.
10 matches
Mail list logo