Thread overview | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 15, 2007 Written in the D programming language | ||||
---|---|---|---|---|
| ||||
These days, there are a number of web crawling spiders that go looking for source code to index. D source code tends to superficially look like C or C++, and someone who doesn't know D might misinterpret what it is. I suggest that all D source code modules have the following comment at the top: // Written in the D programming language. This will help people who are googling for D source code, and will help people who don't know they're looking at D source. |
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Yes, commander ;) > These days, there are a number of web crawling spiders that go looking for source code to index. D source code tends to superficially look like C or C++, and someone who doesn't know D might misinterpret what it is. > > I suggest that all D source code modules have the following comment at the top: > > // Written in the D programming language. > > This will help people who are googling for D source code, and will help people who don't know they're looking at D source. -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ |
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Yessir! o>
On Sun, 15 Jul 2007 13:37:27 -0700
Walter Bright <newshound1@digitalmars.com> wrote:
> These days, there are a number of web crawling spiders that go looking for source code to index. D source code tends to superficially look like C or C++, and someone who doesn't know D might misinterpret what it is.
>
> I suggest that all D source code modules have the following comment at the top:
>
> // Written in the D programming language.
>
> This will help people who are googling for D source code, and will help people who don't know they're looking at D source.
|
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> These days, there are a number of web crawling spiders that go looking for source code to index. D source code tends to superficially look like C or C++, and someone who doesn't know D might misinterpret what it is.
>
> I suggest that all D source code modules have the following comment at the top:
>
> // Written in the D programming language.
>
> This will help people who are googling for D source code, and will help people who don't know they're looking at D source.
Why don't you make that part of the standard? <g>
|
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Sun, 15 Jul 2007 16:37:27 -0400, Walter Bright <newshound1@digitalmars.com> wrote:
> These days, there are a number of web crawling spiders that go looking for source code to index. D source code tends to superficially look like C or C++, and someone who doesn't know D might misinterpret what it is.
>
> I suggest that all D source code modules have the following comment at the top:
>
> // Written in the D programming language.
>
> This will help people who are googling for D source code, and will help people who don't know they're looking at D source.
I'll start adding it to my C and C++ source files too!
|
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris Miller | Chris Miller wrote:
> On Sun, 15 Jul 2007 16:37:27 -0400, Walter Bright <newshound1@digitalmars.com> wrote:
>
>> These days, there are a number of web crawling spiders that go looking for source code to index. D source code tends to superficially look like C or C++, and someone who doesn't know D might misinterpret what it is.
>>
>> I suggest that all D source code modules have the following comment at the top:
>>
>> // Written in the D programming language.
>>
>> This will help people who are googling for D source code, and will help people who don't know they're looking at D source.
>
> I'll start adding it to my C and C++ source files too!
You would sully the name of D with such profanity! <g>
Regan
|
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> I suggest that all D source code modules have the following comment at the top:
>
> // Written in the D programming language.
>
> This will help people who are googling for D source code, and will help people who don't know they're looking at D source.
Or maybe even:
// Written in the D 1.0 programming language.
// Written in the D 2.0 programming language.
--anders
|
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Anders F Björklund wrote:
> Walter Bright wrote:
>
>> I suggest that all D source code modules have the following comment at the top:
>>
>> // Written in the D programming language.
>>
>> This will help people who are googling for D source code, and will help people who don't know they're looking at D source.
>
> Or maybe even:
>
> // Written in the D 1.0 programming language.
>
> // Written in the D 2.0 programming language.
I'd recommend not, as one should be able to quote "D programming language" when googling. So if you want to put in a version,
// Written in the D programming language 1.0
|
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: >> Or maybe even: >> >> // Written in the D 1.0 programming language. >> >> // Written in the D 2.0 programming language. > > I'd recommend not, as one should be able to quote "D programming language" when googling. So if you want to put in a version, > > // Written in the D programming language 1.0 Ah, understood. So it would be OK to use something like: // Written in the D programming language, version 1.0 With "D programming language" being the keyphrase, as in: http://d-programming-language.org/ http://www.google.com/search?q=%22Written%20in%20the%20D%20programming%20language%22 --anders |
July 16, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: > These days, there are a number of web crawling spiders that go looking for source code to index. D source code tends to superficially look like C or C++, and someone who doesn't know D might misinterpret what it is. > > I suggest that all D source code modules have the following comment at the top: > > // Written in the D programming language. > > This will help people who are googling for D source code, and will help people who don't know they're looking at D source. Sir, yes sir :) -- .71 nicolai dot waniek at sphere71 dot com |
Copyright © 1999-2021 by the D Language Foundation