Jump to page: 1 2 3
Thread overview
D on hackernews
Sep 21, 2011
Nick Sabalausky
Sep 21, 2011
Nick Sabalausky
Sep 21, 2011
Timon Gehr
Sep 21, 2011
bearophile
Sep 21, 2011
Timon Gehr
Sep 21, 2011
Marco Leise
Sep 21, 2011
Timon Gehr
Sep 21, 2011
Timon Gehr
D's confusing strings (was Re: D on hackernews)
Sep 21, 2011
Christophe
Sep 21, 2011
Jonathan M Davis
Sep 21, 2011
Christophe Travert
Sep 21, 2011
Simen Kjaeraas
Sep 21, 2011
Christophe
Sep 21, 2011
Jonathan M Davis
Sep 21, 2011
Christophe
Sep 21, 2011
Jonathan M Davis
Sep 21, 2011
Christophe
Sep 21, 2011
Jonathan M Davis
Sep 22, 2011
Christophe
Sep 21, 2011
Christophe Travert
Sep 21, 2011
Graham Fawcett
Sep 21, 2011
Peter Alexander
Sep 21, 2011
Jacob Carlborg
Sep 21, 2011
Andrej Mitrovic
September 21, 2011
http://hackerne.ws/item?id=3014861

Apparently we're still having a PR issue. I tried to chime in but I can't add a comment.


Andrei
September 21, 2011
"Andrei Alexandrescu" <SeeWebsiteForEmail@erdani.org> wrote in message news:j5bpbf$1g2u$1@digitalmars.com...
> http://hackerne.ws/item?id=3014861
>
> Apparently we're still having a PR issue. I tried to chime in but I can't add a comment.
>

Looks like hackernews must be be having some sort of technical problem. I've posted there before with no problem, and my "karma" is 12. But I'm logged in now, and it's not giving me any way to reply either.


September 21, 2011
"Nick Sabalausky" <a@a.a> wrote in message news:j5bpnf$1gpj$1@digitalmars.com...
> "Andrei Alexandrescu" <SeeWebsiteForEmail@erdani.org> wrote in message news:j5bpbf$1g2u$1@digitalmars.com...
>> http://hackerne.ws/item?id=3014861
>>
>> Apparently we're still having a PR issue. I tried to chime in but I can't add a comment.
>>
>
> Looks like hackernews must be be having some sort of technical problem. I've posted there before with no problem, and my "karma" is 12. But I'm logged in now, and it's not giving me any way to reply either.
>

Hmm, but the other threads on that site seem to be working fine. Weird.

Oh, I see. Looks like that's part of a story that's been killed:

http://hackerne.ws/item?id=3014824

The link from "thirsteh" seems to indicate the story was probably just some "Yay Go!" flamebait.


September 21, 2011
Andrei Alexandrescu:

> http://hackerne.ws/item?id=3014861
> 
> Apparently we're still having a PR issue.

I think the Wikipedia D page needs to be rewritten, leaving 80-90% of its space to D (meaning D2).

Regarding "D is doomed" more than 99% of all languages ever invented fail to become widespread. It's the most common fate.

Regarding D "killer features", I like D for being multi-level allowing both almost-high-level coding and low-level coding with user specified memory layouts, for functional-style functions in a procedural program or procedural-style functions in a functional-style program, and for not using a totally new syntax :-)

Bye,
bearophile
September 21, 2011
On 9/21/11, Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org> wrote:
> http://hackerne.ws/item?id=3014861
>
> Apparently we're still having a PR issue.

I really doubt this by now. We've mentioned a million times that there's no dual standard libraries. I think this argument seems to be re-introduced by trolls as far as I can tell.
September 21, 2011
On 09/21/2011 09:37 AM, bearophile wrote:
> Andrei Alexandrescu:
>
>> http://hackerne.ws/item?id=3014861
>>
>> Apparently we're still having a PR issue.
>
> I think the Wikipedia D page needs to be rewritten, leaving 80-90% of its space to D (meaning D2).
>

Yes, that is important. Wikipedia is usually the first place people go looking for information, and much of the information given there is horribly outdated/wrong and mostly only concerns. Many people think what's on Wikipedia is true. [citation needed]

"For performance reasons, string slicing and the length property operate on code units rather than code points (characters), which frequently confuses developers.[27]"

The link at [27] only says that many programmers that don't had have to handle unicode have trouble understanding how unicode works initially. It is not a D thing in any other way than that D actually supports unicode natively. Yet the 'D strings are strange and confusing' argument comes up quite often on the web, probably because many feel they are competent enough to discuss the language after having read the Wikipedia article.
September 21, 2011
On 09/21/2011 06:38 AM, Nick Sabalausky wrote:
> "Andrei Alexandrescu"<SeeWebsiteForEmail@erdani.org>  wrote in message
> news:j5bpbf$1g2u$1@digitalmars.com...
>> http://hackerne.ws/item?id=3014861
>>
>> Apparently we're still having a PR issue. I tried to chime in but I can't
>> add a comment.
>>
>
> Looks like hackernews must be be having some sort of technical problem. I've
> posted there before with no problem, and my "karma" is 12. But I'm logged in
> now, and it's not giving me any way to reply either.
>
>

It seems like the thread has been closed. ("[dead]")
September 21, 2011
On 9/21/11 8:52 AM, Timon Gehr wrote:
> On 09/21/2011 09:37 AM, bearophile wrote:
>> Andrei Alexandrescu:
>>
>>> http://hackerne.ws/item?id=3014861
>>>
>>> Apparently we're still having a PR issue.
>>
>> I think the Wikipedia D page needs to be rewritten, leaving 80-90% of
>> its space to D (meaning D2).
>>
>
> Yes, that is important. Wikipedia is usually the first place people go
> looking for information, and much of the information given there is
> horribly outdated/wrong and mostly only concerns.

Agreed. Does anyone volunteer for fixing D's Wikipedia page?

Andrei
September 21, 2011
On 09/21/2011 03:52 PM, Timon Gehr wrote:
> On 09/21/2011 09:37 AM, bearophile wrote:
>> Andrei Alexandrescu:
>>
>>> http://hackerne.ws/item?id=3014861
>>>
>>> Apparently we're still having a PR issue.
>>
>> I think the Wikipedia D page needs to be rewritten, leaving 80-90% of
>> its space to D (meaning D2).
>>
>
> Yes, that is important. Wikipedia is usually the first place people go
> looking for information, and much of the information given there is
> horribly outdated/wrong and mostly only concerns.

... concerns [D1].
September 21, 2011
Timon Gehr , dans le message (digitalmars.D:144889), a écrit :
> unicode natively. Yet the 'D strings are strange and confusing' argument comes up quite often on the web.

Well, I think they are. The ptr+length stuff is amasing, but the behavior of strings in phobos is weird.

mini-quiz: what should std.range.drop(some_string, 1) do ?
hint: what it actually does is not what the documentation of phobos
suggests*...

Strings are array of char, but they appear like a lazy range of dchar to phobos. I could cope with the fact that this is a little unexpected for beginners. But well, that creates a lot of exceptions in phobos, like the fact that you can't even copy a char[] to a char[] with std.algorithm.copy. And I don't mention all the optimization that are not/cannot be performed for those strings. I'll just remember to use ubyte[] wherever I can...

* Please, someone just adds in the documentation of IsSliceable that narrow strings are an exception, like it was recently added to hasLength.

-- 
Christophe
« First   ‹ Prev
1 2 3