Difference between revisions of "Beyond D2"

From D Wiki
Jump to: navigation, search
(Motivation)
Line 1: Line 1:
 
== Motivation ==
 
== 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.
+
This page can be used as a centralized place to discuss parts of D2's design that are controversial, undesirable or that could be improved, including those that are too late to fix in D2. Also discussed here are features that would be worthy of consideration in a hypothetical successor for D2.  
 +
This page came up from email thread [1];
  
 
== D questionable design choices ==
 
== D questionable design choices ==

Revision as of 01:07, 10 November 2013

Motivation

This page can be used as a centralized place to discuss parts of D2's design that are controversial, undesirable or that could be improved, including those that are too late to fix in D2. Also discussed here are features that would be worthy of consideration in a hypothetical successor for D2. This page came up from email thread [1];

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]'