I was hoping such a proposal would not need to trigger those concerns because the syntactic correlation between usage of the extends
keyword and the need to call super
in a constructor remains 100%.
I don't favor void
because it seems like it's saying "there is nothing above this in the prototype chain," which then makes it seems like you shouldn't be calling super
. But if we design the syntax in such a way that strongly suggests that there is something conceptual base class above you in the hierarchy then there's no question about whether or not calling super
is correct.