Does D have too many features?

Alex Rønne Petersen xtzgzorex at gmail.com
Mon Apr 30 13:03:19 PDT 2012


On 30-04-2012 21:42, Jacob Carlborg wrote:
> On 2012-04-30 17:14, Alex Rønne Petersen wrote:
>> On 30-04-2012 09:08, Jacob Carlborg wrote:
>>> On 2012-04-29 22:26, Alex Rønne Petersen wrote:
>>>
>>>> IMHO r"" is better than `` for the simple reason that typing `` is
>>>> extremely annoying on non-US keyboards.
>>>
>>> `` is better because you don't have to escape ".
>>>
>>
>> That only applies when you actually have " in the string. I think both
>> have their uses.
>>
>
> When is r"" a better use than ``? We already have the regular "".
>

You don't have escape sequences inside r"", so they can be useful if you 
have backslashes in your string.

-- 
- Alex


More information about the Digitalmars-d mailing list