3 ms·
What I’ll decline: Using LLMs to write more code What I’ll buy: Using LLMs to write less code (maybe even delete a lot)
by avgcorrection 3y ago
What I’ll decline: Using LLMs to write more code
What I’ll buy: Using LLMs to write less code (maybe even delete a lot)
- jvalencia 3y agothis
- codethief 3y ago…or to do annoying refactorings!
- TremendousJudge 3y agoI would not trust an non-deterministic system to do a refactor on a production system -- I would have to review the whole thing. Isn't it quicker to just do it myself with my regular deterministic tools?
- onjectic 3y agoI’m going to start calling all of my co-workers non-deterministic systems.
- TremendousJudge 3y agoThe difference is that your co-workers sign on their own work -- if it breaks, it's their responsibility. If you commit some code, and it breaks, it's on you, no matter which fancy tool you used to write it.
- 8note 3y agoGenerally if you write some code and it breaks, your whole team has some fault in its release mechanism, and that's group owned
- deleted 3y ago[deleted]
- simonw 3y agoI would absolutely trust a non-deterministic system to refactor a production system... if that system had a robust set of unit tests and I was willing to commit to reviewing the proposed changes. Without thorough automated tests I wouldn't trust myself to be able to effectively review the code.
- hinkley 3y agoSome refactoring is at the block level, and so would generally not affect unit tests. But most refactoring is at a functional level, so only the integration and functional tests are ever safe, and even then sometimes not.
- ithkuil 3y agoShower thought: use AI to understand and evolve compact/clever code. People write a lot of code because the alternatives usually have their own set of problems. Compact/clever code is hard to understand, debug and evolve. "Write only code" is only half a joke. Languages like APL and K have some appeal due to their expressiveness but they are understandably rejected by most engineers because it's really hard to build a sustainable large scale system with many engineers