Jump to page: 1 24  
Page
Thread overview
Written in the D programming language
Jul 15, 2007
Walter Bright
Jul 16, 2007
davidl
Jul 16, 2007
Alexander Panek
Jul 16, 2007
Reiner Pope
Jul 16, 2007
Chris Miller
Jul 16, 2007
Regan Heath
Jul 16, 2007
Walter Bright
Jul 16, 2007
Nicolai Waniek
Jul 16, 2007
0ffh
Jul 17, 2007
Pragma
Jul 17, 2007
Bill Baxter
Jul 17, 2007
Nicolai Waniek
Jul 17, 2007
Pragma
Jul 18, 2007
:D
Jul 18, 2007
torhu
Jul 18, 2007
Clay Smith
Jul 18, 2007
Robert Fraser
Jul 19, 2007
Christopher Wright
Jul 18, 2007
Bill Baxter
Jul 19, 2007
Manfred Nowak
Jul 19, 2007
Bill Baxter
Jul 20, 2007
downs
Jul 21, 2007
0ffh
Jul 19, 2007
Peter C. Chapin
Aug 02, 2007
Nick Sabalausky
Aug 02, 2007
Anders Bergh
Aug 03, 2007
Clay Smith
Aug 03, 2007
Walter Bright
Aug 04, 2007
Stewart Gordon
Aug 05, 2007
Stewart Gordon
July 15, 2007
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
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
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
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
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
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
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
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
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
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
« First   ‹ Prev
1 2 3 4