@@ -183,20 +183,16 @@ solely to be extended: an [abstract base class][].
183
183
[ abstract base class ] : https://en.wikipedia.org/wiki/Class_(computer_programming)#Abstract_and_concrete
184
184
185
185
If the class isn't abstract and can be both constructed and extended, you might
186
- think of it as a "base class".
187
-
188
- Given that, I suggest we use ` base ` to mean "no interface". In other words, this
189
- class defines a * base* that all subtypes of this class (if there are any) must
190
- inherit from.
191
-
192
- It's short. I think it reads very naturally in ` abstract base class ` and
193
- ` base class ` . It works OK in ` base mixin ` to define a mixin with no implicit
194
- interface.
195
-
196
- If you want a class that can't be implemented * or* extended (in other words, a
197
- fully "final" or "sealed" leaf class), it would be a ` closed base class ` . I
198
- admit that reads a little like an oxymoron. It's not * great* , but maybe that's
199
- acceptable?
186
+ think of it as a "base class". Given that, I suggest we use ` base ` to mean "no
187
+ interface". In other words, this class defines a * base* that all subtypes of
188
+ this class (if there are any) must inherit from.
189
+
190
+ It's short. I think it reads very naturally in ` abstract base class ` and `base
191
+ class` . It works OK in ` base mixin` to define a mixin with no implicit
192
+ interface. If you want a class that can't be implemented * or* extended (in other
193
+ words, a fully "final" or "sealed" leaf class), it would be a `closed base
194
+ class`. I admit that reads a little like an oxymoron. It's not * great* , but
195
+ maybe that's acceptable?
200
196
201
197
## Exhaustiveness checking
202
198
0 commit comments