Why did people even consider using this shitty unreadable method of separating words inside compound identifiers? Why the fuck is it recommended style for Javascript, Haskell and other half-decent languages? Why does Python use it in some of its identifiers (but not in all, because it is inconsistent shit)?
Why won't underscores do (or even real spaces for some languages)? Makes code much more readable.
Compare this:
Q.Interface.prototype.defaultValue = Q.makePropertyAccessor('__defaultValue__');
Q.Interface.prototype.restoreDefaultValue = function () {
this.value(this.defaultValue());
};
and
Q: Interface: prototype: default value = Q: make property accessor('__ default value __');
Q: Interface: prototype: restore default value = function () {
this: value(this: default value());
};
This was the code that I was looking at at the moment of writing, and it's not so bad. But consider how many identifiers like addContainerToCollection are out there in other places.
I also replaced the dot with semicolon because dot looks silly in the upgraded syntax. It is not used anywhere else because JS does not have goto labels and does not support Python-like array slices, and the goto-like labels for case can be replaced with something more sensible.