November 2024
Intermediate to advanced
300 pages
7h 12m
English
The LLM’s solution passed the tests, and it wasn’t bad, actually, but there were a few wrinkles to iron out. First, it didn’t include a package name, which forced me to copy only part of its solution rather than wholesale copy-and-replace the generated code, which is a lot faster. (I’m imagining a near future where integration with IDEs is a lot better, and, in fact, I’ve begun building such a plugin myself.)
Here’s my prompt to tell the LLM to add the package name, as well as smooth out the aforementioned wrinkles:
The code should live in a Java package named util.
The Jeff-Java standard indicates that you should avoid the use of temporaries in methods, but normalizeName has three temps that should ...
Read now
Unlock full access