3 ms·
That's boilerplate code and I agree it can be completely automated. I would argue it's a very convenient but minor thing, and that it doesn't truly change the
by the_af 4y ago
That's boilerplate code and I agree it can be completely automated.
I would argue it's a very convenient but minor thing, and that it doesn't truly change the complexity of writing code. It just makes it less dreary. I would also argue it's a win that it can be automated, and I think Brooks would agree!
I don't think he was arguing small wins don't matter.
- Too 4y agoBoilerplate in itself is not complexity (eg import statements), it’s just tedious and unergonomic. In fact it can reduce complexity, again with example of imports being a better alternative than global symbols. Coupled boilerplate on the other hand is complexity, where if you change x in front end you also must change corresponding x in backend.
- the_af 4y agoYou're using a very specific notion of boilerplate and complexity. I mean, I've never heard of imports being described as boilerplate...