Thread overview | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 01, 2014 D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
I was feeling a little creative this morning, and thought the D Programming Language effort could use a slogan: alias {D Logo} this; I hope the pun makes sense to someone other than me. I did my best to create a D Logo SVG file and a few *.png files for the slogan. It might be cool to use this for T-Shirts, pens, baseball caps, mugs, lingerie, etc... at DConf 2014. https://github.com/JinShil/D_Images Since I don't own the D Logo, I wasn't sure how to license it, so I didn't add any license. If I've violated and copyright/license, please let me know. Enjoy! Mike |
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike | On Saturday, 1 February 2014 at 03:25:33 UTC, Mike wrote:
> alias {D Logo} this;
Outdated syntax. You should use
alias this = {D Logo};
instead.
|
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Cejp | On Saturday, 1 February 2014 at 16:14:59 UTC, Martin Cejp wrote:
> On Saturday, 1 February 2014 at 03:25:33 UTC, Mike wrote:
>> alias {D Logo} this;
>
> Outdated syntax. You should use
> alias this = {D Logo};
> instead.
Isn't this syntax discouraged/depracted now?
|
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Asman01 | On Saturday, 1 February 2014 at 16:33:19 UTC, Asman01 wrote:
> On Saturday, 1 February 2014 at 16:14:59 UTC, Martin Cejp wrote:
>> On Saturday, 1 February 2014 at 03:25:33 UTC, Mike wrote:
>>> alias {D Logo} this;
>>
>> Outdated syntax. You should use
>> alias this = {D Logo};
>> instead.
>
> Isn't this syntax discouraged/depracted now?
alias this = foo;
This is new syntax, has some edge cases which fail and intended to replace the old typedef style
alias Type NewName;
Such that it look more like variable assignment:
alias NewName = Type;
|
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike | I think this whole thread should be our slogan. Mike: alias {D Logo} this; Martin: Outdated syntax. You should use alias this = {D Logo}; instead. Asman: Isn't this syntax discouraged/depreciated now? :D |
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris Cain | On Saturday, 1 February 2014 at 18:06:47 UTC, Chris Cain wrote:
> Asman:
> Isn't this syntax discouraged/depreciated now?
The word's "deprecated" (de-prec-ate, not de-pre-she-ate).
(Asman actually wrote "depracted".)
|
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris Cain | On Saturday, 1 February 2014 at 18:06:47 UTC, Chris Cain wrote:
> I think this whole thread should be our slogan.
>
> Mike:
> alias {D Logo} this;
> Martin:
> Outdated syntax. You should use
> alias this = {D Logo};
> instead.
> Asman:
> Isn't this syntax discouraged/depreciated now?
>
> :D
Wait for a few seconds (time for some Garbage Collection), add an 11 kilobytes long mangled function name and a compiler crash, and you get a quite good representation of D :)
|
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | On Saturday, 1 February 2014 at 17:38:44 UTC, Jesse Phillips wrote:
> alias this = foo;
>
> This is new syntax, has some edge cases which fail and intended to replace the old typedef style
>
> alias Type NewName;
>
> Such that it look more like variable assignment:
>
> alias NewName = Type;
This syntax was intended to only be used for normal aliases, not "alias this", and was supposed to be removed for latter.
|
February 01, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Cejp | On Saturday, 1 February 2014 at 16:14:59 UTC, Martin Cejp wrote:
> On Saturday, 1 February 2014 at 03:25:33 UTC, Mike wrote:
>> alias {D Logo} this;
>
> Outdated syntax. You should use
> alias this = {D Logo};
> instead.
Damn! Not sure the pun still works. Maybe it never did.
|
February 02, 2014 Re: D Logo and Slogan | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On Saturday, 1 February 2014 at 18:44:42 UTC, Dicebot wrote:
> On Saturday, 1 February 2014 at 17:38:44 UTC, Jesse Phillips wrote:
>> alias this = foo;
>>
>> This is new syntax, has some edge cases which fail and intended to replace the old typedef style
>>
>> alias Type NewName;
>>
>> Such that it look more like variable assignment:
>>
>> alias NewName = Type;
>
> This syntax was intended to only be used for normal aliases, not "alias this", and was supposed to be removed for latter.
Do you have a citation for that? My understanding was that the correct way was
'alias' identifier '=' type;
and that the old one was going to be removed because it was easier to confuse the type and its new name.
|
Copyright © 1999-2021 by the D Language Foundation