|
|
|
|
|
by chuckadams
300 days ago
|
|
C++ and Java went for the "objects as static closures" route, where it doesn't make any sense to have a `this`. Or, they made them superficially look like static closures, which in hindsight was probably not the best idea. Anyway, Java lets you use explicit `this`, I don't recall whether C++ makes it into a footgun or not. |
|
What I don’t like is being able to reference instance members without `this`, e.g.