|
|
|
|
|
by _dain_
1691 days ago
|
|
"Lots of times people think they might need something later. You don't. Or you can just do it later if it comes up." https://youtu.be/o9pEzgHorH0?t=339 For glue code scripts like this you usually don't end up using encapsulation and inheritance or any other fancy OOP design patterns. It's usually grungy IO-bound procedural code, the sort of thing you'd write in bash if bash weren't terrible for long scripts. Don't burden it with premature abstractions. If you end up needing a class, just write the class later. |
|