▲ | shakna 5 days ago | ||||||||||||||||||||||||||||||||||
> bikeshedding function names ... Function names compose much of the API. The API is the structure of the codebase. This isn't some triviality you can throw aside as unimportant, it is the shape that the code has today, and limits and controls what it will have tomorrow. It's how you make things intuitive, and it is equally how you ensure people follow a correct flow and don't trap themselves into a security bug. | |||||||||||||||||||||||||||||||||||
▲ | AirMax98 5 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
I really disagree with this too, especially given the article's next line: > ...You’ll be forever tweaking individual lines of code, asking for a .reduce instead of a .map.filter, bikeshedding function names, and so on. At the same time, you’ll miss the opportunity to guide the AI away from architectural dead ends. I think a good review will often do both, and understand that code happens at the line level and also the structural level. It implies a philosophy of coding that I have seen be incredibly destructive firsthand — committing a bunch of shit that no one on a team understands and no one knows how to reuse. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
▲ | jffhn 5 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
Agreed. A program is made of names, these names are of the utmost importance. For understanding, and also for searchability. I do a lot of code reviews, and one of the main things I ask for, after bug fixes, is renaming things for readers to understand at first read unambiguously and to match the various conventions we use throughout the codebase. Ex: new dev wrote "updateFoo()" for a method converting a domain thing "foo" from its type in layer "a" to its type in layer "b", so I asked him to use "convertFoo_aToB()" instead. | |||||||||||||||||||||||||||||||||||
▲ | 000ooo000 5 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
This blog gets posted often but the content is usually lousy. Lots of specious assertions about the nature of software development that really give off a "I totally have this figured out" vibe. I can't help but feel that anyone who feels so about this young industry that changes so rapidly and is so badly performed at so many places, is yet to summit Mt. Stupid. | |||||||||||||||||||||||||||||||||||
▲ | glimshe 5 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
I think I'd actually have a use for an AI that could receive my empty public APIs (such as a C++ header file) as an input and produce a first rough implementation. Maybe this exists already, I don't know because I haven't done any serious vibe coding. | |||||||||||||||||||||||||||||||||||
|