Here's something I wrote up on const:
http://jmdavisprog.com/articles/why-const-sucks.html
I suppose that it's not exactly the most positive article, but I feel that
it's accurate.
- Jonathan M Davis
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote:
Here's something I wrote up on const:
http://jmdavisprog.com/articles/why-const-sucks.html
I suppose that it's not exactly the most positive article, but
I feel that it's accurate.
- Jonathan M Davis
My biggest issues with co
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote:
Here's something I wrote up on const:
http://jmdavisprog.com/articles/why-const-sucks.html
I suppose that it's not exactly the most positive article, but
I feel that it's accurate.
- Jonathan M Davis
Brilliant article, Johath
On Monday, 5 March 2018 at 07:45:04 UTC, Johannes Loher wrote:
Will there also be a armhf Release?
Yep; it'll most likely be up this evening (CET).
Just a semantic note, it is "straitjacket". "straight" is like a
non-wiggly line. "strait" means narrow or constricted. Thus, the
straitjacket is a jacket that constricts your movement.
Of course, using "straight" is such a common mistake it has
become generally accepted... but still, I like b
On Monday, March 05, 2018 11:38:05 Atila Neves via Digitalmars-d-announce
wrote:
> I used to use `immutable`, but gradually came around to only
> using it if I have to send data to another thread, otherwise it's
> too much of a hassle.
Aside from the whole std.concurrency situation, I generally u
On Monday, March 05, 2018 13:48:23 Adam D. Ruppe via Digitalmars-d-announce
wrote:
> Just a semantic note, it is "straitjacket". "straight" is like a
> non-wiggly line. "strait" means narrow or constricted. Thus, the
> straitjacket is a jacket that constricts your movement.
>
> Of course, using "s
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote:
Here's something I wrote up on const:
Excellent read! I enjoyed the history of proposed solutions.
I've run into the trouble with annotated opEquals in classes
several times. I believe an empty/nonexistant Object class is the
c
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote:
Here's something I wrote up on const:
So as to the main thrust, I generally agree. In fact, I think
const is almost useless even if you want to use it fully: you
said immutable is better in many places, and yes, but in additio
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote:
Here's something I wrote up on const:
http://jmdavisprog.com/articles/why-const-sucks.html
I suppose that it's not exactly the most positive article, but
I feel that it's accurate.
- Jonathan M Davis
Great read for a Monday.
On Monday, March 05, 2018 13:53:21 SimonN via Digitalmars-d-announce wrote:
> On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote:
> > Here's something I wrote up on const:
> Excellent read! I enjoyed the history of proposed solutions.
>
> I've run into the trouble with annotated opEqua
On 3/4/18 12:17 AM, Nick Sabalausky (Abscissa) wrote:
An all-D MySQL/MariaDB client library:
https://github.com/mysql-d/mysql-native
==
Tagged 'v2.2.0'.
Full changelog:
https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md
Thanks, Nick for al
On Saturday, 3 March 2018 at 07:37:38 UTC, Nick Sabalausky
(Abscissa) wrote:
An all-D MySQL/MariaDB client library:
https://github.com/mysql-d/mysql-native
==
[...]
Is unix socket connection supported? I'm not seeing any
information about it in the docs
On Monday, 5 March 2018 at 13:49:43 UTC, Jonathan M Davis wrote:
On Monday, March 05, 2018 11:38:05 Atila Neves via
Digitalmars-d-announce wrote:
I used to use `immutable`, but gradually came around to only
using it if I have to send data to another thread, otherwise
it's too much of a hassle.
On Saturday, 3 March 2018 at 01:50:25 UTC, Martin Nowak wrote:
Glad to announce D 2.079.0.
This release comes with experimental `@nogc` exception throwing
(-dip1008), a lazily initialized GC, better support for minimal
runtimes, and an experimental Windows toolchain based on the
lld linker an
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote:
Here's something I wrote up on const:
http://jmdavisprog.com/articles/why-const-sucks.html
I suppose that it's not exactly the most positive article, but
I feel that it's accurate.
- Jonathan M Davis
Interesting read and it e
On Saturday, 3 March 2018 at 01:50:25 UTC, Martin Nowak wrote:
Glad to announce D 2.079.0.
This release comes with experimental `@nogc` exception throwing
(-dip1008), a lazily initialized GC, better support for minimal
runtimes, and an experimental Windows toolchain based on the
lld linker an
On Mon, Mar 05, 2018 at 03:57:35AM -0700, Jonathan M Davis via
Digitalmars-d-announce wrote:
> Here's something I wrote up on const:
>
> http://jmdavisprog.com/articles/why-const-sucks.html
>
> I suppose that it's not exactly the most positive article, but I feel
> that it's accurate.
[...]
Yea
Very interesting and well written! Jonathan, your experiences
with const in C++/Java just about matches my experiences with it.
I also feel that the situation in D is less than ideal in this
regard.
First, a small (for sure copy-pasta) typo in your article:
const(int[]) arr1 = getArray();
con
On Monday, 5 March 2018 at 15:16:14 UTC, Atila Neves wrote:
On Saturday, 3 March 2018 at 01:50:25 UTC, Martin Nowak wrote:
Glad to announce D 2.079.0.
This release comes with experimental `@nogc` exception
throwing (-dip1008), a lazily initialized GC, better support
for minimal runtimes, and
On Monday, March 05, 2018 17:35:28 ShadoLight via Digitalmars-d-announce
wrote:
> Very interesting and well written! Jonathan, your experiences
> with const in C++/Java just about matches my experiences with it.
> I also feel that the situation in D is less than ideal in this
> regard.
>
> First,
On Monday, March 05, 2018 09:38:52 H. S. Teoh via Digitalmars-d-announce
wrote:
> Eventually, I discovered
> that the underlying problem was that Result, as defined above, was a
> struct with a const member, and therefore it was illegal to assign it to
> a variable of the same type outside of init
On Mon, Mar 05, 2018 at 11:04:49AM -0700, Jonathan M Davis via
Digitalmars-d-announce wrote:
> On Monday, March 05, 2018 09:38:52 H. S. Teoh via Digitalmars-d-announce
> wrote:
> > Eventually, I discovered that the underlying problem was that
> > Result, as defined above, was a struct with a cons
On Monday, 5 March 2018 at 13:48:23 UTC, Adam D. Ruppe wrote:
Just a semantic note, it is "straitjacket". "straight" is like
a non-wiggly line. "strait" means narrow or constricted. Thus,
the straitjacket is a jacket that constricts your movement.
Of course, using "straight" is such a common
On Monday, 5 March 2018 at 13:48:23 UTC, Adam D. Ruppe wrote:
Just a semantic note, it is "straitjacket". "straight" is like
a non-wiggly line. "strait" means narrow or constricted. Thus,
the straitjacket is a jacket that constricts your movement.
Of course, using "straight" is such a common m
On Monday, 5 March 2018 at 13:48:23 UTC, Adam D. Ruppe wrote:
Just a semantic note, it is "straitjacket". "straight" is like
a non-wiggly line. "strait" means narrow or constricted. Thus,
the straitjacket is a jacket that constricts your movement.
Of course, using "straight" is such a common m
Hello fellow Dlers,
thanks to last years DConf some German D developers agreed to
meet for drinks in Hamburg.
With this years DConf approaching we decided (finally) on an
informal get together, just beer and talking on March 29th in
Hamburg. Since I am not expecting a huge run (afterall ther
On Monday, 5 March 2018 at 19:40:12 UTC, Stephan wrote:
Hello fellow Dlers,
thanks to last years DConf some German D developers agreed to
meet for drinks in Hamburg.
With this years DConf approaching we decided (finally) on an
informal get together, just beer and talking on March 29th in
Ha
On Sun, 2018-03-04 at 21:12 +, Kagamin via Digitalmars-d-announce
wrote:
> On Friday, 2 March 2018 at 12:01:33 UTC, Russel Winder wrote:
> > So having D2.999 is fine per se, but advertises a lack of
> > change and a lack of ambition since the language name is D not
> > D2.
>
> D just doesn't
On Monday, 5 March 2018 at 12:14:52 UTC, kinke wrote:
On Monday, 5 March 2018 at 07:45:04 UTC, Johannes Loher wrote:
Will there also be a armhf Release?
Yep; it'll most likely be up this evening (CET).
I just saw that it is up now, thats awesome, thank you very much
for your efforts!
On Monday, 5 March 2018 at 17:47:13 UTC, Seb wrote:
On Monday, 5 March 2018 at 15:16:14 UTC, Atila Neves wrote:
On Saturday, 3 March 2018 at 01:50:25 UTC, Martin Nowak wrote:
Glad to announce D 2.079.0.
This release comes with experimental `@nogc` exception
throwing (-dip1008), a lazily initi
On Monday, 5 March 2018 at 23:40:35 UTC, Atila Neves wrote:
I'd have a snowball's chance in hell convincing anyone at a
"regular" company of adopting D if anyone there even imagined
any of the above could happen.
We have to do better than this.
Atila
Fair enough. Doing better is always a
Am 06.03.2018 um 00:40 schrieb Atila Neves:
(...)
This doesn't change the fact that right now, somebody trying D for the
1st time with the latest official compiler will get an error if they try
out the most popular dub package that I know of if they follow the
instructions on code.dlang.org.
On Tuesday, 6 March 2018 at 00:10:52 UTC, Sönke Ludwig wrote:
BTW, the problems with this release are a strong hint that we
should rethink the inclusion approach with std.experimental.
Since breaking changes are tied to the DMD version, it makes
those modules almost unusable outside of toy co
On Monday, 5 March 2018 at 19:40:12 UTC, Stephan wrote:
Hello fellow Dlers,
thanks to last years DConf some German D developers agreed to
meet for drinks in Hamburg.
What time?
On 03/05/2018 12:38 PM, H. S. Teoh wrote:
This broke the by-value
assumption inherent in much of Phobos code,
Wait, seriously? Phobos frequently passes ranges by value? I sincerely
hope that's only true for class-based ranges and forward-ranges (and
more specifically, only forward ranges whe
On 03/05/2018 09:23 AM, aberba wrote:
On Saturday, 3 March 2018 at 07:37:38 UTC, Nick Sabalausky (Abscissa)
wrote:
An all-D MySQL/MariaDB client library:
https://github.com/mysql-d/mysql-native
==
[...]
Is unix socket connection supported? I'm not seein
Can somebody explain how &array[0] is more safe than array.ptr?
Just want to understand why second statement isn't allowed in
safe anymore.
On Tuesday, 6 March 2018 at 05:22:58 UTC, Void-995 wrote:
Can somebody explain how &array[0] is more safe than array.ptr?
Just want to understand why second statement isn't allowed in
safe anymore.
int[] a;
writeln(&arr[0]); // good - runtime produces a
core.exception.RangeError
//writeln(a
On Monday, 5 March 2018 at 20:52:10 UTC, Russel Winder wrote:
I do not see your reasoning here. Has the core D computational
model changed? I think not.
Major number per semver increases when interface changes, D does
it pretty often, it is the fastest moving language I know.
Does D issue b
On Monday, March 05, 2018 22:21:47 Nick Sabalausky via Digitalmars-d-
announce wrote:
> On 03/05/2018 12:38 PM, H. S. Teoh wrote:
> > This broke the by-value
> > assumption inherent in much of Phobos code,
>
> Wait, seriously? Phobos frequently passes ranges by value? I sincerely
> hope that's onl
On 3/5/18 15:40, Atila Neves wrote:
On Monday, 5 March 2018 at 17:47:13 UTC, Seb wrote:
On Monday, 5 March 2018 at 15:16:14 UTC, Atila Neves wrote:
On Saturday, 3 March 2018 at 01:50:25 UTC, Martin Nowak wrote:
Glad to announce D 2.079.0.
This release comes with experimental `@nogc` exception
On Tuesday, March 06, 2018 05:34:39 psychoticRabbit via Digitalmars-d-
announce wrote:
> On Tuesday, 6 March 2018 at 05:22:58 UTC, Void-995 wrote:
> > Can somebody explain how &array[0] is more safe than array.ptr?
> > Just want to understand why second statement isn't allowed in
> > safe anymore.
On Tuesday, 6 March 2018 at 04:31:42 UTC, Nick Sabalausky
(Abscissa) wrote:
On 03/05/2018 09:23 AM, aberba wrote:
On Saturday, 3 March 2018 at 07:37:38 UTC, Nick Sabalausky
(Abscissa) wrote:
An all-D MySQL/MariaDB client library:
https://github.com/mysql-d/mysql-native
=
44 matches
Mail list logo