removal of cruft from D

Don nospam at nospam.com
Mon Nov 23 04:15:52 PST 2009


Yigal Chripun wrote:
> Based on recent discussions on the NG a few features were 
> deprecated/removed from D, such as typedef and C style struct initializers.
> 
> IMO this cleanup and polish is important and all successful languages do 
> such cleanup for major releases (Python and Ruby come to mind). I'm glad 
> to see that D follows in those footsteps instead of accumulating craft 
> like C++ does.
> 
> 
> As part of this trend of cleaning up D before the release of D2, what 
> other features/craft should be removed/deprecated?
> 
> I suggest reverse_foreach and c style function pointers
> 
> please add your candidates for removal.


So weak that they're pretty much useless:

version(integer), debug(integer)

And these should in the library, not the language:
array.sort
array.reverse



More information about the Digitalmars-d mailing list