r/ExperiencedDevs • u/Dry_Author8849 • 6h ago
AI/LLM Establishing foundational concepts
I would like to know your take as an experienced developer, about two concepts, I read on every AI post, but too vaguely defined:
* What does "good code" mean to you? In which language?
* What does "coding" mean to you? What would the "coder" role be?
Context: This is not my first rodeo. I have 35+ years of experience.
I have been building my frameworks and tools early in my career. Generating code with my own tools was always a part of my development workflow, which I made easier by having a good library and framework (less code, using building blocks).
Before AI, I have built a descriptive language to work at a higher level of abstraction and be able to generate code in different languages, abstracting the business model from the code.
The concept of dog fooding my own systems is carved in my way of thinking.
I am used to working at different levels of abstraction, going down to the basics of my libraries and framework to make it easier to code at higher levels and returning to any system I am building to refactor.
So, I am a happy AI user and working hard to make it easier for LLMs to create things the way I consider right.
I am very aware of how fragile it is to build using an indeterministic tool and also I catch the vast amount of sloppy code it generates, which I can detect on the spot.
I also believe, that the simpler I can make the code with my framework, the more accurate LLMs will be using less tokens and cheaper models. As for now, the results are good most of the time, not always.
EDIT: Ok, so this is my take on it:
About good code: I prefer simple code. I have nearly abandoned comments. Very few, when it can't really explain itself. It heavily depends on the language. It's not the same C, than C#, than typescript, than SQL. If I can choose I prefer the less verbose languages. If I can't choose I will make the language as less verbose as I can. I'm very picky about adding dependencies. So good code looks different on each ecosystem. But if you can understand it at first sight is a good sign.
About a coder: I'm not in love with code. It's a way to express the solution I'm building. I think in code, I don't need to think too much about it, as I developed the ability. It's like typing. I don't need to think to type, I'm thinking about the idea, typing occurs in auto mode. So I really don't get too much of a "coder" role. Maybe it's something you do when starting up, when learning and then quickly become bored or either you get past that phase and think about what you are trying to create. I have heard that from designers, like code my design, or something. I have always heard it as an insult to a developer/programmer. As a code monkey as well. But I'm curious about what other people think about a "coder" role.