Comment on Does vibe coding sort of work at all?

18107@aussie.zone ⁨1⁩ ⁨week⁩ ago

LLMs are great at language problems. If you’re learning the syntax of a new programming language or you’ve forgotten the syntax for a specific feature, LLMs will give you exactly what you want.

I frequently use AI/LLMs when switching languages to quickly get me back up to speed. They’re also adequate at giving you a starting point, or a basic understanding of a library or feature.

The major downfall is if you ask for a solution to a problem. Chances are, it will give you a solution. Often it won’t work at all.
The real problem is when it does work.

I was looking for a datatype that could act as a cache (forget the oldest item when adding a new one). I got a beautifully written class with 2 fields and 3 methods.
After poking at the AI for a while, it realized that half the code wasn’t actually needed. After much more prodding, it finally informed me that there was actually an existing datatype (LinkedHashMap) that would do exactly what I wanted.

Be aware that AI/LLMs will rarely give you the best solution, and often give you really bad solutions even when an elegant one exists. Use them to learn if you want, but don’t trust them.

source
Sort:hotnewtop