Beyond D2

From D Wiki
Revision as of 01:03, 10 November 2013 by Timotheecour (talk | contribs)
Jump to: navigation, search

Motivation

This page came up from email thread [1]; the goal is to have a central place to discuss potential flaws in D2's design or features that are too late to integrate in D2 but could be useful for a potential successor.

D questionable design choices

  • is virtual by default a good idea with separate compilation model?
  • can we get rid of @property?
  • improved dmd/rdmd command line: [DIP41: dmd/rdmd command line overhaul]
  • can we get rid of C-style expression lists in parenthesis; these would be used for tuples

Feature Wish List for hypothetical D3

  • python style named parameter arguments
  • AST macros

[1] Related email thread: 'Maintain notes for D's successor? [Was: Re: Why the @ in @safe? & UDAs]'