On Saturday, 25 May 2024 at 07:58:35 UTC, aberba wrote:
On Friday, 24 May 2024 at 19:54:16 UTC, Steven Schveighoffer
wrote:
On Monday, 20 May 2024 at 21:21:24 UTC, aberba wrote:
Found this article by Raymond Andrè Hagen:
On Tuesday, 23 January 2024 at 07:29:33 UTC, Danilo wrote:
The people who still put 50,000 LOC into a single file
will not be happy with this. ;)
Fair enough. I'm also not happy with their code.
On Sunday, 21 January 2024 at 11:51:59 UTC, zjh wrote:
When you need `friend`, You can put them all in one module.
Jup. But putting things in one module won't do anymore if you use
class-private. That's why people using it will soon realize they
need friends. But friends are a security hole,
If you have difficulties to see the logic of module-private,
think of a module as a flat:
If you don't want someone to mess with your private stuff, don't
live with him in the same flat! Be ensured, locks on every
cupboard won't do. You cannot prevent someone within the same
flat from messing
On Sunday, 21 January 2024 at 07:52:59 UTC, zjh wrote:
On Sunday, 21 January 2024 at 07:51:00 UTC, zjh wrote:
You don't know the `pain `of not having a certain feature,
And this feature has already been `implemented`, even without
`any side effects`!
`class-private` is superfluous cruft.
On Thursday, 5 October 2023 at 00:53:45 UTC, claptrap wrote:
[...] he is has more interesting things to talk about than
whether "enum { yes, no }" is a good idea or not.
His point here was not that having an enum with values for yes
and no is a bad idea. The bad idea is assigning yes the
On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote:
I the first example "e" is receiving two arguments. While in
the latter "d" is being receiving whatever "c" returns and "3".
That's the point. In UFCS it is immediately obvious which
function receives the 3, while with all the
On Monday, 14 August 2023 at 08:42:17 UTC, claptrap wrote:
Maybe if the compiler detects that deprecated features are
being used it could add a line to the output...
"To check for usage of deprecated features use the '-wo' switch"
A simple 1 line "friendly reminder" instead of pages of
On Monday, 27 February 2023 at 14:27:25 UTC, bachmeier wrote:
On Monday, 27 February 2023 at 10:47:04 UTC, Mike Parker wrote:
Razvan [submitted a PR deprecating `alias this` in
classes](https://github.com/dlang/dmd/pull/14812) the next
day. Amaury [initiated a forum
On Saturday, 25 February 2023 at 11:23:56 UTC, Dennis wrote:
I'm working on it! https://github.com/dlang/dmd/pull/14911
Hurray!
On Thursday, 26 January 2023 at 00:49:03 UTC, Adam D Ruppe wrote:
It is my fault for resizing, i used width,height instead of
width_,height_ so it used the pre-scaled things.
[...]
Or I'll see what I can do to clean up my branch and cherry pick
this fix later in the week...
There is nothing
On Saturday, 24 December 2022 at 21:26:40 UTC, Richard (Rikki)
Andrew Cattermole wrote:
- Unicode tables have been updated to 15 from 6.2 (and with
that the generator is now in Phobos!).
Hurray!
Whatever problems this may cause, its problems in very very
outdated code that would already need
On Wednesday, 22 June 2022 at 21:58:07 UTC, Ola Fosheim Grøstad
wrote:
Some C programmers reuse variables extensively, those
programmers will be confused or annoyed.
And rightly so. Misra says since 30 years or longer: don't reuse
variables if possible (and it should almost always be
On Monday, 6 June 2022 at 03:17:34 UTC, forkit wrote:
cannot have encapsulation unless it is put into a super type
(the module), all by its self (with no friends).
It can have friends - they just need to be in the same file
(module).
And a class without its friend is really only half a type -
14 matches
Mail list logo