3 ms·
Expressiveness usually means "working code to boilerplate ratio". For example: (C#) SomeMethod((x) => SomeOtherMethod(x)); is more expressive than: (java)
by viraptor 16y ago
Expressiveness usually means "working code to boilerplate ratio". For example: (C#)
SomeMethod((x) => SomeOtherMethod(x));
is more expressive than: (java)
class WrapperIDontReallyNeed() {
public void AnotherWrapper(uselessType x) {
SomeOtherMethod(x);
}
}
...
SomeMethod(new WrapperIDontReallyNeed());
(or anonymous classes - before someone points out they exist - just trading Wrapper for IWrapper and no `class` keyword)
And again - I don't see any mention from his side about being powerful. I don't think he's confusing anything either - expressiveness of a language is a pretty common term and is true in this case. C++ is easy to beat from that point of view, unless you add a tonne of Boost.