Jump to page: 1 224  
Page
Thread overview
accept @pure @nothrow @return attributes
Jan 26, 2015
Paolo Invernizzi
Jan 26, 2015
Brian Schott
Jan 26, 2015
Meta
Jan 26, 2015
Jonathan M Davis
Jan 26, 2015
bearophile
Jan 26, 2015
Kenji Hara
Jan 26, 2015
Daniel Kozak
Jan 26, 2015
Atila Neves
Jan 26, 2015
Jonathan M Davis
Jan 26, 2015
Kenji Hara
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Foo
Jan 26, 2015
Walter Bright
Jan 26, 2015
Meta
Jan 26, 2015
ketmar
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Walter Bright
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Walter Bright
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Foo
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Foo
Jan 27, 2015
Walter Bright
Jan 27, 2015
ketmar
Jan 28, 2015
Marc Schütz
Jan 26, 2015
Walter Bright
Jan 26, 2015
zeljkog
Jan 26, 2015
Jonathan Marler
Jan 27, 2015
Walter Bright
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
ketmar
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
ketmar
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
ketmar
Jan 27, 2015
ketmar
Jan 26, 2015
Zach the Mystic
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Artur Skawina
Jan 26, 2015
Walter Bright
Jan 27, 2015
Artur Skawina
Jan 26, 2015
Zach the Mystic
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Zach the Mystic
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Zach the Mystic
Jan 26, 2015
Jonathan Marler
Jan 26, 2015
Zach the Mystic
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
Jonathan Marler
Jan 28, 2015
Marc Schütz
Jan 26, 2015
Zach the Mystic
Jan 26, 2015
ZombineDev
Jan 26, 2015
ZombineDev
Jan 28, 2015
Marc Schütz
Jan 27, 2015
Jacob Carlborg
Jan 26, 2015
Nick Treleaven
Jan 26, 2015
Nick Treleaven
Jan 27, 2015
Jonathan M Davis
Jan 27, 2015
Nick Treleaven
Jan 27, 2015
Jonathan M Davis
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
Nick Treleaven
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
Nick Treleaven
Jan 27, 2015
Jonathan Marler
Jan 28, 2015
Kagamin
Jan 27, 2015
Jacob Carlborg
Jan 27, 2015
Daniel Kozak
Jan 27, 2015
Jonathan Marler
Jan 26, 2015
Nick Treleaven
Jan 26, 2015
Zach the Mystic
Jan 26, 2015
Zach the Mystic
Shouldn't dfix be made a friend of the compiler?
Jan 26, 2015
Laeeth Isharc
Jan 26, 2015
Walter Bright
Jan 26, 2015
H. S. Teoh
Jan 28, 2015
Marc Schütz
Jan 26, 2015
Dicebot
Jan 26, 2015
Walter Bright
Jan 26, 2015
Paolo Invernizzi
Jan 26, 2015
Walter Bright
Jan 26, 2015
Dicebot
Jan 26, 2015
Walter Bright
Jan 27, 2015
Jacob Carlborg
Jan 27, 2015
Walter Bright
Jan 28, 2015
Dicebot
Jan 28, 2015
bearophile
Jan 28, 2015
Dicebot
Jan 28, 2015
Kagamin
Jan 28, 2015
Dicebot
Jan 28, 2015
Jonathan M Davis
Jan 28, 2015
Jonathan M Davis
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Jonathan M Davis
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Marc Schütz
Jan 28, 2015
Mike
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Daniel Kozak
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Daniel Kozak
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Walter Bright
Jan 29, 2015
Marc Schütz
Jan 29, 2015
Nick Treleaven
Jan 28, 2015
FG
Jan 29, 2015
Walter Bright
Jan 29, 2015
Jacob Carlborg
Jan 29, 2015
deadalnix
Jan 29, 2015
Paulo Pinto
Jan 29, 2015
Jacob Carlborg
Jan 29, 2015
deadalnix
Jan 29, 2015
ketmar
Jan 29, 2015
Walter Bright
Jan 29, 2015
Jonathan M Davis
Jan 30, 2015
Jacob Carlborg
Jan 30, 2015
Marc Schütz
Jan 29, 2015
Jacob Carlborg
Jan 29, 2015
deadalnix
Jan 29, 2015
ketmar
Jan 30, 2015
Jacob Carlborg
Jan 29, 2015
Walter Bright
Jan 30, 2015
Jacob Carlborg
Jan 30, 2015
Walter Bright
Jan 29, 2015
Marc Schütz
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Dicebot
Jan 29, 2015
Mike
Jan 28, 2015
Zach the Mystic
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Zach the Mystic
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
Jonathan Marler
Jan 28, 2015
ketmar
Jan 29, 2015
Zach the Mystic
Jan 29, 2015
ponce
Jan 29, 2015
Jacob Carlborg
Jan 28, 2015
ketmar
Jan 28, 2015
deadalnix
Jan 29, 2015
ketmar
Jan 29, 2015
Brian Schott
Jan 29, 2015
ketmar
Jan 29, 2015
Brian Schott
Jan 29, 2015
ketmar
Jan 29, 2015
Brian Schott
Jan 29, 2015
weaselcat
Jan 29, 2015
ketmar
Jan 28, 2015
Paolo Invernizzi
Jan 28, 2015
Kagamin
Jan 28, 2015
Dicebot
Jan 28, 2015
Dicebot
Jan 29, 2015
Kagamin
Jan 29, 2015
Jacob Carlborg
Jan 28, 2015
bearophile
Jan 28, 2015
zeljkog
Jan 28, 2015
Dicebot
Jan 28, 2015
Jonathan M Davis
Jan 28, 2015
Dicebot
Jan 27, 2015
deadalnix
Jan 26, 2015
Zach the Mystic
Jan 26, 2015
bearophile
Jan 27, 2015
Nick Treleaven
Jan 27, 2015
Mike
Jan 27, 2015
uri
Jan 27, 2015
Walter Bright
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
Walter Bright
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
Jonathan Marler
Jan 27, 2015
Jacob Carlborg
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
uri
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
Walter Bright
Jan 27, 2015
Mike
Jan 27, 2015
ketmar
Jan 27, 2015
deadalnix
Jan 27, 2015
Paolo Invernizzi
Jan 27, 2015
ketmar
Jan 27, 2015
Paolo Invernizzi
Jan 27, 2015
ketmar
Jan 27, 2015
Zach the Mystic
Jan 27, 2015
ketmar
Jan 27, 2015
Jacob Carlborg
Jan 27, 2015
ketmar
Jan 27, 2015
Nick Treleaven
Jan 26, 2015
Mike
Jan 27, 2015
Walter Bright
Jan 26, 2015
Walter Bright
Jan 26, 2015
ketmar
Jan 26, 2015
Brian Schott
January 26, 2015
If someone is not following the merges, well...  [1] !!

---
Paolo

[1] http://forum.dlang.org/post/54c5f10ae5161_1b783fd49bfbf2c034171@hookshot-fe4-cp1-prd.iad.github.net.mail
January 26, 2015
On Monday, 26 January 2015 at 09:29:42 UTC, Paolo Invernizzi wrote:
> If someone is not following the merges, well...  [1] !!
>
> ---
> Paolo
>
> [1] http://forum.dlang.org/post/54c5f10ae5161_1b783fd49bfbf2c034171@hookshot-fe4-cp1-prd.iad.github.net.mail

I'm running out of ideas for DConf topics.
January 26, 2015
On 1/26/15 1:50 AM, Brian Schott wrote:
> On Monday, 26 January 2015 at 09:29:42 UTC, Paolo Invernizzi wrote:
>> If someone is not following the merges, well...  [1] !!
>>
>> ---
>> Paolo
>>
>> [1]
>> http://forum.dlang.org/post/54c5f10ae5161_1b783fd49bfbf2c034171@hookshot-fe4-cp1-prd.iad.github.net.mail
>>
>
> I'm running out of ideas for DConf topics.

Heh, I infer that's a good thing. Nevertheless we should probably discuss this and its impact; don't forget we can always undo it before 2.067. Thoughts! -- Andrei
January 26, 2015
On Mon, 26 Jan 2015 09:29:40 +0000, Paolo Invernizzi wrote:

i'm scared. does that mean that my rants about "consistency" was sane after all? and now i have to find something else to attack? (sigh) poor me.

January 26, 2015
On Monday, 26 January 2015 at 09:54:31 UTC, Andrei Alexandrescu wrote:
> On 1/26/15 1:50 AM, Brian Schott wrote:
>> On Monday, 26 January 2015 at 09:29:42 UTC, Paolo Invernizzi wrote:
>>> If someone is not following the merges, well...  [1] !!
>>>
>>> ---
>>> Paolo
>>>
>>> [1]
>>> http://forum.dlang.org/post/54c5f10ae5161_1b783fd49bfbf2c034171@hookshot-fe4-cp1-prd.iad.github.net.mail
>>>
>>
>> I'm running out of ideas for DConf topics.
>
> Heh, I infer that's a good thing. Nevertheless we should probably discuss this and its impact; don't forget we can always undo it before 2.067. Thoughts! -- Andrei

The extra glyphs add a bit of visual noise, but I think that's balanced out by the better consistency of the language and the growing sphere of functions which can have their attributes inferred.
January 26, 2015
On 1/26/2015 1:50 AM, Brian Schott wrote:
> I'm running out of ideas for DConf topics.

I don't think there's any risk of bugzilla going down to zero by May :-)
January 26, 2015
On Monday, January 26, 2015 01:54:36 Andrei Alexandrescu via Digitalmars-d wrote:
> On 1/26/15 1:50 AM, Brian Schott wrote:
> > On Monday, 26 January 2015 at 09:29:42 UTC, Paolo Invernizzi wrote:
> >> If someone is not following the merges, well...  [1] !!
> >>
> >> ---
> >> Paolo
> >>
> >> [1] http://forum.dlang.org/post/54c5f10ae5161_1b783fd49bfbf2c034171@hookshot-fe4-cp1-prd.iad.github.net.mail
> >>
> >
> > I'm running out of ideas for DConf topics.
>
> Heh, I infer that's a good thing. Nevertheless we should probably discuss this and its impact; don't forget we can always undo it before 2.067. Thoughts! -- Andrei

In theory, the increased consistency is welcome, but the increased visual noise definitely is not.  And if we leave in pure and nothrow without @, then we're going to have code out there doing both, which adds to the confusion, and if we deprecate pure and nothrow without @, then we'll be forced to change pretty much every D program in existence.

But It's not like this really improves consistency all that much anyway, because public, protected, package, private, final, override, static, const, immutable, inout, and deprecated all don't have @. So, most function attributes _don't_ have @ on them, and we just added @ to some of them, making things even _less_ consistent. In fact, priore to this, @safe, @trusted, @system, and @property were the _only_ function attributes with @ on them. So, if we really wanted to improve consistency IMHO, we'd get rid of @ from everything that's built-in and leave it for user-defined attributes, but that would break existing code too.

Ultimately, I really don't see this as an improvement, because it really doesn't fix the consistency problem with attributes, and we're either going to have to change existing code or end up with both @pure and pure, and @nothrow and nothrow in the language, which is just ugly. But aside from having duplicate attributes for the same thing, I don't know that it really makes things any worse - though at least before this, we could just say that @property, @safe, @trusted, and @system were oddballs that were added late in the game and that they had @, because we didn't want to add new keywords. With this change, I expect that it will be even less clear which attributes have @ on them and which don't.

Personally, I'd much prefer that we not make this change. It's just shuffling things around in an attempt to make them more consistent while actually making them _less_ consistent.

- Jonathan M Davis

January 26, 2015
Jonathan M Davis:

> Personally, I'd much prefer that we not make this change. It's just shuffling things around in an attempt to make them more consistent while actually making them _less_ consistent.

So far I agree with Jonathan.

Bye,
bearophile
January 26, 2015
On Monday, 26 January 2015 at 11:39:23 UTC, Jonathan M Davis wrote:
> But It's not like this really improves consistency all that much anyway,
> because public, protected, package, private, final, override, static, const,
> immutable, inout, and deprecated all don't have @. So, most function
> attributes _don't_ have @ on them, and we just added @ to some of them,
> making things even _less_ consistent. In fact, priore to this, @safe,
> @trusted, @system, and @property were the _only_ function attributes with @
> on them. So, if we really wanted to improve consistency IMHO, we'd get rid
> of @ from everything that's built-in and leave it for user-defined
> attributes, but that would break existing code too.
> - Jonathan M Davis

At this point, it might be nicer to have only attributes that exists as C++ keywords not having the @ identifier before them.
That is: public, protected, private, override, deprecated, static and const.

But this probably doesn't make much sense now, does it?
January 26, 2015
+1

On Monday, 26 January 2015 at 11:39:23 UTC, Jonathan M Davis wrote:
> On Monday, January 26, 2015 01:54:36 Andrei Alexandrescu via Digitalmars-d wrote:
>> On 1/26/15 1:50 AM, Brian Schott wrote:
>> > On Monday, 26 January 2015 at 09:29:42 UTC, Paolo Invernizzi wrote:
>> >> If someone is not following the merges, well...  [1] !!
>> >>
>> >> ---
>> >> Paolo
>> >>
>> >> [1]
>> >> http://forum.dlang.org/post/54c5f10ae5161_1b783fd49bfbf2c034171@hookshot-fe4-cp1-prd.iad.github.net.mail
>> >>
>> >
>> > I'm running out of ideas for DConf topics.
>>
>> Heh, I infer that's a good thing. Nevertheless we should probably
>> discuss this and its impact; don't forget we can always undo it before
>> 2.067. Thoughts! -- Andrei
>
> In theory, the increased consistency is welcome, but the increased visual
> noise definitely is not.  And if we leave in pure and nothrow without @,
> then we're going to have code out there doing both, which adds to the
> confusion, and if we deprecate pure and nothrow without @, then we'll be
> forced to change pretty much every D program in existence.
>
> But It's not like this really improves consistency all that much anyway,
> because public, protected, package, private, final, override, static, const,
> immutable, inout, and deprecated all don't have @. So, most function
> attributes _don't_ have @ on them, and we just added @ to some of them,
> making things even _less_ consistent. In fact, priore to this, @safe,
> @trusted, @system, and @property were the _only_ function attributes with @
> on them. So, if we really wanted to improve consistency IMHO, we'd get rid
> of @ from everything that's built-in and leave it for user-defined
> attributes, but that would break existing code too.
>
> Ultimately, I really don't see this as an improvement, because it really
> doesn't fix the consistency problem with attributes, and we're either going
> to have to change existing code or end up with both @pure and pure, and
> @nothrow and nothrow in the language, which is just ugly. But aside from
> having duplicate attributes for the same thing, I don't know that it really
> makes things any worse - though at least before this, we could just say that
> @property, @safe, @trusted, and @system were oddballs that were added late
> in the game and that they had @, because we didn't want to add new keywords.
> With this change, I expect that it will be even less clear which attributes
> have @ on them and which don't.
>
> Personally, I'd much prefer that we not make this change. It's just
> shuffling things around in an attempt to make them more consistent while
> actually making them _less_ consistent.
>
> - Jonathan M Davis

« First   ‹ Prev
1 2 3 4 5 6 7 8 9 10 11