5 ms·
> At some point this starts to look like we're all just moving complexity from the more formal and deterministic world of programming languages to the informal
by sdevonoes 5mo ago
> At some point this starts to look like we're all just moving complexity from the more formal and deterministic world of programming languages to the informal and non-deterministic world of natural language.
This is the problem nobody is talking about. I see codebases growing in MD files with instructions and guidelines and requests that are also LLM generated… and it’s all piling up. No one is reviewing it 100% , and even when we do, it’s all very subjective. What’s the difference between “Follow a RESTful approach”, “We use REST, not graphql”, “90% of our endpoints are resource oriented, but we have a couple of endpoints that look rpc-ish; please ignore the latter”…
It’s all very stupid.
- tcoff91 5mo agoThis is why you need to be generating more linter rules instead of just having things be in markdown files. I had never written an eslint rule until i started having agents pump them out for me and now I've encoded a bunch of important rules as lint rules that will fail CI if violated.
- deadbabe 5mo agoWho lints the linters
- hansmayer 5mo agoA linter won't prevent your idiot LLM from going bonkers and suddenly switching to GQL instead of REST just for that one endpoint, because it confabulated something or putting your stripe secret into your react frontend - all cases of slop I've seen happen.
- tcoff91 5mo agoThat's why we still do code review. The linter rules is just about lowering the amount of mistakes you have to catch at code review time.
- hansmayer 4mo ago> The linter rules is just about lowering the amount of mistakes you have to catch at code review time. Aren't they, in the modern context, mostly used for code formatting and such? I don't recall anyone using them today for "catching errors". Unless you count code formatting style violations as 'errors'.
- tcoff91 4mo agoMaybe in whatever language ecosystem you are in, but in the javsacript world most projects have tons of eslint rules that are specifically designed to stop bugs. Like for instance there are tons of eslint rules to make sure you aren't breaking the rules of react, like having missing dependencies in a useEffect dependencies array, or calling a react hook conditionally.
- chanux 5mo agoSoftware loose on theory[1] trying to compensate with moar md. [1] https://pages.cs.wisc.edu/~remzi/Naur.pdf https://pages.cs.wisc.edu/~remzi/Naur.pdf