Am I evil for this?

Walter Bright newshound2 at digitalmars.com
Sat Oct 15 07:01:54 UTC 2022


On 10/14/2022 5:58 PM, H. S. Teoh wrote:
> Built-in AA's is one, which is also a draw for me in D, in spite of the
> flaws in the current implementation in D.  As is built-in regexes. D has
> std.regex, but not having direct language support does increase the
> friction a little. And the current implementation is a bit over-heavy on
> templates and so slows down compilation significantly for shell-script
> replacements, which detracts from an otherwise perfect niche for D.

You can always use the D1 regexes, which are still around in the unDead library. 
They don't use templates.

> Sigils is another feature that most people love to hate, but it's
> actually very useful: the variable namespace will never collide with
> keywords, and when glancing at code you can immediately tell which
> identifiers are variables are even if you don't know the definitions of
> the identifiers. Having said that, though, the quirky use of $ with
> arrays/hashes when referring to individual elements does detract from
> Perl's implementation of sigils.

Syntax highlighting works delightfully in distinguishing keywords from identifiers.



More information about the Digitalmars-d mailing list