Hacker News new | ask | show | jobs
by rubicon33 208 days ago
I’m an “old school programmer” just like you, but still use Claud code.

For greenfield projects it’s absolutely faster to churn out code I’ve written 100 times in the past. I don’t need to write another RBAC system, I just don’t. I don’t need to write another table implementation for a frontend data view.

How Claud helps us is speed and breadth. I can do a lot more in shorter time, and depending on what your goals are this may or may not be valuable to you.

3 comments

What kind of projects are you working on that aren't amenable to the sort of code reuse or abstraction that normally addresses this sort of "boilerplate"?
There are lots of projects like that, especially when doing work for external clients.

Very often they want to own all the code, so you cannot just abstract things in your own engine. It then very easily becomes the pragmatic choice to just use existing libraries and frameworks to implement these things when the client demands it.

Especially since every client wants different things.

At the same time, even though there are libraries available, it’s still work to stitch everything together.

For straightforward stuff, AI takes all that work out of your hands.

Writing boilerplate code is mostly creative copy-pasting.

If I were to do it, I would have most of the reusable code (e.g. of a RBAC system) written and documented once and kept unpublished. Then I would ask an AI tool to alter it, given a set of client-specific properties. It would be easier to review moderate changes to a familiar and proven piece of code. The result could be copied to the client-specific repo.

What do you use for RBAC today? Do you have AI rewrite it every time?
The author of the initial comment mentioned that customers of contract work prefer code which is 100% theirs, purpose-written, not a dependency, even vendored.
I was wondering about that as well, copy and paste has been a thing for a lot longer than LLMs...
Trusting an AI to write an RBAC system feels like asking for trouble
I’m always suspicious of comments like yours. You’re written the same thing 100 times in the past and don’t have the base on a snippets manager or a good project you can get the implementation from? Did you really rewrite the same thing 100 times and are now preferring to use a tool which is slower and more resource intensive than just having been a little bit efficient in the past in saving something you reuse all the time?