August 04, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | "Walter Bright" <newshound1@digitalmars.com> wrote in message news:f8u0mu$e3p$1@digitalmars.com... > Nick Sabalausky wrote: <snip> >> Wouldn't the ".d" extension give it away as "not C/C++"? > > Not really, as a lot of spiders (including google's) do not recognize the extension as meaning D source. So what does Google's code search go on instead? Stewart. |
August 05, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | Stewart Gordon wrote:
> "Walter Bright" <newshound1@digitalmars.com> wrote in message news:f8u0mu$e3p$1@digitalmars.com...
>> Nick Sabalausky wrote:
> <snip>
>>> Wouldn't the ".d" extension give it away as "not C/C++"?
>>
>> Not really, as a lot of spiders (including google's) do not recognize the extension as meaning D source.
>
> So what does Google's code search go on instead?
>
> Stewart.
Presumably they've now added .d/.di extensions to their filters in the process of adding lang:d. Presumably. Or it guesses on some heuristic. (It is Google. I wouldn't be surprised.)
-- Chris Nicholson-Sauls
|
August 05, 2007 Re: Written in the D programming language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris Nicholson-Sauls | "Chris Nicholson-Sauls" <ibisbasenji@gmail.com> wrote in message news:f956qb$2ob3$2@digitalmars.com... <snip> > Presumably they've now added .d/.di extensions to their filters in the process of adding lang:d. Presumably. Or it guesses on some heuristic. (It is Google. I wouldn't be surprised.) Technically, it should go on MIME types, at least when dealing with code files placed directly on the WWW rather than in a zip file or the like. Sadly, - not all hosts are configured to deliver the correct MIME type for program code files - it isn't always easy or even possible to change the configuration so that it does - some browsers have poor handling of such MIME types, leading some people who put code on the web not to bother getting it right. Stewart. |
Copyright © 1999-2021 by the D Language Foundation