Difference between revisions of "Language design discussions"

From D Wiki
Jump to: navigation, search
(Proposals)
(Discussed design issues and free-form proposals)
Line 7: Line 7:
 
=== Properties ===
 
=== Properties ===
 
===== Description =====
 
===== Description =====
 +
Initial @property design has issues. How can it be changed or even discarded at all?
  
 
===== Thread =====
 
===== Thread =====
Line 18: Line 19:
 
* [[Property Discussion Proposal 1]]
 
* [[Property Discussion Proposal 1]]
 
* [[DIP21]]
 
* [[DIP21]]
 +
 +
=== Access specifiers and symbol visibility ===
 +
==== Description ====
 +
Currently there is feature like "static global" in C or "unnamed namespace" in C++. Access specifiers for module-level symbols control access, not visibility. Ability to hide symbols needs to be added without breaking current access system.
 +
 +
As a result of discussion, Walter has asked for DIP on this topic.
 +
 +
===== Essential moments =====
 +
* [http://forum.dlang.org/thread/iakfgxjlfzrbxerxpria@forum.dlang.org?page=10#post-kb86il:241u9v:241:40digitalmars.com Walters final resolution about topics to cover in DIP]
 +
 +
=== Thread ===
 +
* [http://forum.dlang.org/thread/iakfgxjlfzrbxerxpria@forum.dlang.org Initial thread that has raised this topic]
 +
* [http://forum.dlang.org/thread/llizpsrachdtqtshppud@forum.dlang.org Follow-up about current state of affairs]

Revision as of 21:01, 27 January 2013

D is an evolving and complex language. New features are proposed, unexpected interaction in old ones get found, design issues are raised. All this may involve hard debates in D newsgroup and if often forgotten. This page serves as an index for major design discussions and proposals.

Main DIP index

DIPs

Discussed design issues and free-form proposals

Properties

Description

Initial @property design has issues. How can it be changed or even discarded at all?

Thread
Essential moments

Property Discussion Wrap-up

Proposals

Access specifiers and symbol visibility

Description

Currently there is feature like "static global" in C or "unnamed namespace" in C++. Access specifiers for module-level symbols control access, not visibility. Ability to hide symbols needs to be added without breaking current access system.

As a result of discussion, Walter has asked for DIP on this topic.

Essential moments

Thread