I loved python when I was a junior dev. Now I hate it (except for things like computational math). I have to add debug statements to figure out that someone snuck in the wrong type into the code.
- 0 Posts
- 4 Comments
reabsorbthelight@lemmy.worldto
Programming@programming.dev•AI-authored code needs more attention, contains worse bugs
3·1 month agoI find that it basically can’t do decent architecture. My last attempt to use it ended with it using casbin, but then rewriting it’s own authorization framework and trying to use both at the same time 😶.
I think there is a lot of power here, but it needs very heavy guidance and handholding to do it well. Otherwise it makes very stupid intern level decisions
reabsorbthelight@lemmy.worldto
Programming@programming.dev•AI-authored code needs more attention, contains worse bugs
174·1 month agoIdeally they’d compare time to write + time to fix. My experience is that if you use test driven development, LLM isn’t too bad. No worse than an intern.
I think it comes down to who is using the LLM. I had a junior dev once “presumably” AI gen a ton of code (broken trash). Then to fix it, they wrapped each function in a try catch block that dropped the error. Unit tests were mocked out to the extent they didn’t test anything.
When I use an LLM, I have tests and hard constraints on the LLM. It isn’t good enough to do everything, but it can generate about 80% of a simple app

It would be cool if this was ActivityPub compatible so we could follow Instagram from Mastodon. As much as I hate meta, there are some artists I would like to follow still