Andrei Alexandrescu wrote:

Again, most complaints have been directed towards writeln = 5. I think that's the major problem to be resolved.


Here's another, one that's pretty common:

class Person {

  private string name_;

  string name() {
    return name_;
  }

}

string[] split(string s, char separator) {
  ...
}

auto p = getPerson();
auto names = p.name.split(' '); // Doesn't compile - you need to do p.name().split(' ');

Reply via email to