Why is it that ClaudeCode can look at a piece of code it wrote, and diagnose ten different issues with it? Why is it that it produces better code when it walks me through how to write the code step by step, rather than just write it itself? Is it something inherent to ClaudeCode, or a general genAI thing, that the reviewer often seems smarter than the writer?
u/Altruistic_Part_9233
Universal Config Creator Function
I’m learning to love the idea of config jsons as a “dev” working to develop a codebase for a very manual org with no true programming expertise.
We often use lots of vibe-coded projects to run geospatial analyses we get asked for on very short deadlines, and then refine that code over time as it gets integrated into workflow. (Not ideal, I know, but our boss doesn’t tell other teams no, and doesn’t know anything about coding, so here we are.)
Would creating a universal config creator where the args are the items in the config json work? My hope is that it would cut down on time needed to refine individual config file creations. But I’ve been intrigued by the idea of generalizing more codebase wide features to clean up my vibe-coded codebase mess, reduce token usage, and generally make my life easier when creating programs from scratch going forward.
Is this a bad idea? A great idea? A bit too generalized?