Jump to page: 1 24  
Page
Thread overview
Boost.ScopeExit based on D's scope(exit)
Mar 02, 2009
Leandro Lucarella
Mar 02, 2009
Nick Sabalausky
Mar 02, 2009
Leandro Lucarella
Mar 03, 2009
Christopher Wright
Mar 03, 2009
Georg Wrede
Mar 03, 2009
BCS
Mar 03, 2009
Nick Sabalausky
Mar 04, 2009
Georg Wrede
Mar 04, 2009
Georg Wrede
Mar 04, 2009
Walter Bright
Mar 04, 2009
Georg Wrede
Mar 04, 2009
Walter Bright
Mar 04, 2009
Georg Wrede
Mar 04, 2009
Daniel Keep
rdmd
Mar 04, 2009
Georg Wrede
Mar 04, 2009
Georg Wrede
Mar 05, 2009
Georg Wrede
Mar 05, 2009
Georg Wrede
Mar 05, 2009
Georg Wrede
Mar 06, 2009
Christopher Wright
Mar 06, 2009
Christopher Wright
Mar 07, 2009
Christopher Wright
Mar 07, 2009
Christopher Wright
Mar 07, 2009
Georg Wrede
Mar 07, 2009
Christopher Wright
Mar 03, 2009
Lionello Lunesu
March 02, 2009
Boost 1.38.0 includes a new library ScopeExit: http://www.boost.org/users/news/version_1_38_0

This library is based on D's scope(exit) according to the documentation,
see at the end of the link:
http://www.boost.org/doc/libs/1_38_0/libs/scope_exit/doc/html/scope_exit/alternatives.html

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
¿Pero cómo? ¿Todavía votan?
	-- Sidharta Kiwi
March 02, 2009
On Mon, Mar 2, 2009 at 1:24 PM, Leandro Lucarella <llucax@gmail.com> wrote:
> Boost 1.38.0 includes a new library ScopeExit: http://www.boost.org/users/news/version_1_38_0
>
> This library is based on D's scope(exit) according to the documentation,
> see at the end of the link:
> http://www.boost.org/doc/libs/1_38_0/libs/scope_exit/doc/html/scope_exit/alternatives.html

Lol, it's fun to see how horrible C++ is every once in a while.
March 02, 2009
Leandro Lucarella wrote:
> Boost 1.38.0 includes a new library ScopeExit:
> http://www.boost.org/users/news/version_1_38_0
> 
> This library is based on D's scope(exit) according to the documentation,
> see at the end of the link:
> http://www.boost.org/doc/libs/1_38_0/libs/scope_exit/doc/html/scope_exit/alternatives.html
> 

Cool. I confess I'm mildly miffed. In the "Acknowledge" section (sic) yours truly is being acknowledged "for pointing me to scope(exit) construct of the D  programming language." In the Alternatives section there's an unatrributed link to the ScopeGuard article. My understanding of ScopeExit looks much more inspired and derivative from ScopeGuard than a distinct artifact, something that goes entirely unacknowledged.

For some reason ScopeGuard and scope(exit) consistently escapes proper acknowledgments. Petru Marginean and I introduced the concept in C++ and argued for its usefulness. I invented the gorram scope(exit) statement for D, and Walter almost forgot to acknowledge me. And now this. What are you going to do...


Andrei
March 02, 2009
"Andrei Alexandrescu" <SeeWebsiteForEmail@erdani.org> wrote in message news:goh9ao$96r$1@digitalmars.com...
> I invented the gorram scope(exit) statement

I see what you did there. Another browncoat! Shiny :)


March 02, 2009
Andrei Alexandrescu, el  2 de marzo a las 10:42 me escribiste:
> Leandro Lucarella wrote:
> >Boost 1.38.0 includes a new library ScopeExit:
> >http://www.boost.org/users/news/version_1_38_0
> >This library is based on D's scope(exit) according to the documentation,
> >see at the end of the link:
> >http://www.boost.org/doc/libs/1_38_0/libs/scope_exit/doc/html/scope_exit/alternatives.html
> 
> Cool. I confess I'm mildly miffed. In the "Acknowledge" section (sic) yours truly is being acknowledged "for pointing me to scope(exit) construct of the D programming language." In the Alternatives section there's an unatrributed link to the ScopeGuard article. My understanding of ScopeExit looks much more inspired and derivative from ScopeGuard than a distinct artifact, something that goes entirely unacknowledged.
> 
> For some reason ScopeGuard and scope(exit) consistently escapes proper acknowledgments. Petru Marginean and I introduced the concept in C++ and argued for its usefulness. I invented the gorram scope(exit) statement for D, and Walter almost forgot to acknowledge me. And now this. What are you going to do...

Is there any particular reason why you are so concerned about credits? I'm not saying they don't matter, but you seem to take it too hard.

PS: My signature taglines are random, *really* =)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Ambition makes you look pretty ugly
March 02, 2009
Leandro Lucarella wrote:
> Andrei Alexandrescu, el  2 de marzo a las 10:42 me escribiste:
>> Leandro Lucarella wrote:
>>> Boost 1.38.0 includes a new library ScopeExit:
>>> http://www.boost.org/users/news/version_1_38_0
>>> This library is based on D's scope(exit) according to the documentation,
>>> see at the end of the link:
>>> http://www.boost.org/doc/libs/1_38_0/libs/scope_exit/doc/html/scope_exit/alternatives.html
>> Cool. I confess I'm mildly miffed. In the "Acknowledge" section (sic) yours truly is being acknowledged "for pointing me to scope(exit) construct of the D  programming language." In the Alternatives section there's an unatrributed link to the ScopeGuard article. My understanding of ScopeExit looks much more inspired and derivative from ScopeGuard than a distinct artifact, something that goes entirely unacknowledged.
>>
>> For some reason ScopeGuard and scope(exit) consistently escapes proper acknowledgments. Petru Marginean and I introduced the concept in C++ and argued for its usefulness. I invented the gorram scope(exit) statement for D, and Walter almost forgot to acknowledge me. And now this. What are you going to do...
> 
> Is there any particular reason why you are so concerned about credits? I'm
> not saying they don't matter, but you seem to take it too hard.

I'm, if anything, at the very low end of credit-beggars foodchain. You wouldn't believe if I told you about some (rather notorious within the community) people I know that ought to be a tad more modest :o). I just have a dim view of not giving credit. Proper credit is extremely easy to give, costs nothing, and is the right thing to do. The author of ScopeExit clearly knew everything of ScopeGuard since he linked to it, but did not quite acknowledge the relationship of his work to ScopeGuard, which should be done even assuming he developed ScopeExit entirely in isolation. That's just... you don't do that.


Andrei
March 02, 2009
On Mon, Mar 2, 2009 at 2:23 PM, Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org> wrote:
>
> I'm, if anything, at the very low end of credit-beggars foodchain. You wouldn't believe if I told you about some (rather notorious within the community) people I know that ought to be a tad more modest :o). I just have a dim view of not giving credit. Proper credit is extremely easy to give, costs nothing, and is the right thing to do. The author of ScopeExit clearly knew everything of ScopeGuard since he linked to it, but did not quite acknowledge the relationship of his work to ScopeGuard, which should be done even assuming he developed ScopeExit entirely in isolation. That's just... you don't do that.

For what it's worth, the D docs page that he links to doesn't mention your name at all.  I mean, I suppose Walter could give credit for each feature but that seems a bit out of place in a formal spec.

Only in http://www.digitalmars.com/d/2.0/exception-safe.html are you actually mentioned, and even there it doesn't really credit you as the inventor of the idea, just that you argued for it.
March 02, 2009
Jarrett Billingsley wrote:
> On Mon, Mar 2, 2009 at 2:23 PM, Andrei Alexandrescu
> <SeeWebsiteForEmail@erdani.org> wrote:
>> I'm, if anything, at the very low end of credit-beggars foodchain. You
>> wouldn't believe if I told you about some (rather notorious within the
>> community) people I know that ought to be a tad more modest :o). I just have
>> a dim view of not giving credit. Proper credit is extremely easy to give,
>> costs nothing, and is the right thing to do. The author of ScopeExit clearly
>> knew everything of ScopeGuard since he linked to it, but did not quite
>> acknowledge the relationship of his work to ScopeGuard, which should be done
>> even assuming he developed ScopeExit entirely in isolation. That's just...
>> you don't do that.
> 
> For what it's worth, the D docs page that he links to doesn't mention
> your name at all.  I mean, I suppose Walter could give credit for each
> feature but that seems a bit out of place in a formal spec.
> 
> Only in http://www.digitalmars.com/d/2.0/exception-safe.html are you
> actually mentioned, and even there it doesn't really credit you as the
> inventor of the idea, just that you argued for it.

I know. What happens is that Walter introduced the construct in the language after he had internalized it so well, he might as well have thought of it himself. Then he changed the syntax, implemented it from scratch, so after all that work it's easy to think, heck, it's my work.

What happens since Walter made a team with Bartosz and myself is that the exchange of ideas is so thick, sometimes it's funny how we all surprise one another candidly assuming paternity (and rightly) for a given concept. For example, for const/immutable my guess is that each of us feels entitled to think of it as his brainchild. (Sorry hasen.) Which is in fact the truth. Same about introducing default-isolation in D. Bartosz was extremely opposed to it in the beginning, I remember a huge debate about it at Kahili. A couple of months later, it was almost his idea :o). I'm no more lucid. Every once in a while I need to remind myself that local instantiation, a very cool feature unique to D, was Walter's idea that I merely stumbled upon. Neither of us initially knew how good it was...


Andrei
March 03, 2009
Andrei Alexandrescu wrote:
> Same about introducing default-isolation in D. Bartosz was extremely opposed to it in the beginning, I remember a huge debate about it at Kahili. A couple of months later, it was almost his idea :o). I'm no more lucid. Every once in a while I need to remind myself that local instantiation, a very cool feature unique to D, was Walter's idea that I merely stumbled upon. Neither of us initially knew how good it was...

These last two receive far less attention than const. What is default isolation? What is local instantiation?

March 03, 2009
"Andrei Alexandrescu" <SeeWebsiteForEmail@erdani.org> wrote in message news:goh9ao$96r$1@digitalmars.com...
> Leandro Lucarella wrote:
>> Boost 1.38.0 includes a new library ScopeExit:
>> http://www.boost.org/users/news/version_1_38_0
>>
>> This library is based on D's scope(exit) according to the documentation,
>> see at the end of the link:
>> http://www.boost.org/doc/libs/1_38_0/libs/scope_exit/doc/html/scope_exit/alternatives.html
>>
>
> Cool. I confess I'm mildly miffed. In the "Acknowledge" section (sic) yours truly is being acknowledged "for pointing me to scope(exit) construct of the D  programming language." In the Alternatives section there's an unatrributed link to the ScopeGuard article. My understanding of ScopeExit looks much more inspired and derivative from ScopeGuard than a distinct artifact, something that goes entirely unacknowledged.
>
> For some reason ScopeGuard and scope(exit) consistently escapes proper acknowledgments. Petru Marginean and I introduced the concept in C++ and argued for its usefulness. I invented the gorram scope(exit) statement for D, and Walter almost forgot to acknowledge me. And now this. What are you going to do...

Hey, at least you got explicitely quoted in the page's header:

"...one of the most highly regarded and expertly designed C++ library projects in the world." - Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

L.

PS: my god, I remember why I hate c++ and boost.. I've been clean (of C++) for 1 year now, and it feels great.


« First   ‹ Prev
1 2 3 4