|
|
|
|
|
by FooBarWidget
6149 days ago
|
|
When defining a class you need to:
- Create a new file for the class.
- Type the class keyword
- Type the class name.
- Type the parent class name.
- Type the constructor definition.
- Type a call to the parent class's constructor. This is all boilerplate and can easily take half a minute. How am I doing things wrong? Are you saying there's an easier way? Or I can just type something like "./script/generate class Foo Bar" and be done with it and save like 15 seconds. |
|