What is your favorite D feature?

Era Scarecrow via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 22 02:11:44 PDT 2017


On Thursday, 22 June 2017 at 00:48:25 UTC, Seb wrote:
> I would love to hear about your favorite feature(s) in D.

  Arrays include length along with the pointer.
  Very easy built-in array support with foreach
  Ranges, that don't treat their input types as 'pointers' and get 
all levels of confusion, including that you'd have to include two 
'maybe pointers'.
  Constraints on templates, making limiting and specializing very 
easy.
  static if & version removing the pre-processor...


More information about the Digitalmars-d mailing list