const?? When and why? This is ugly!

grauzone none at example.net
Mon Mar 2 16:34:30 PST 2009


>> Sometimes, you have to leave the more spiffy features to languages 
>> like Erlang or Haskell which are suited better for this. For example, 
>> Erlang doesn't share any state by default, and in Haskell, everything 
>> is immutable. But they use very special mechanisms to make up for the 
>> problems caused by this, and that's why you can't just pick the 
>> cherries: it won't fit, it will feel unnatural, and everything will be 
>> a mess. It's a good idea to copy good features from other languages, 
>> but never forget where you come from.
> 
> We plan to add the necessary mechanisms.

What mechanisms will these be? I'm sure others are curious too.



More information about the Digitalmars-d mailing list