Best of Code Review — December 2024
- 1
- 2
Hacker News·1y
How to Make LLMs Shut Up
Daksh, co-founder of Greptile, shares the journey of improving their AI code review bot to reduce excessive comments. They explore different strategies like prompting, LLM evaluation, and clustering. Initially, attempts to refine comment quality through prompting and severity evaluation failed. However, generating embedding vectors for past comments and utilizing a vector database to filter out less helpful feedback proved successful, significantly improving the quality of the bot's output.
- 3
The Cherno·1y
Is this a Great Example for Beginners? // Code Review
A code reviewer provides an in-depth analysis of a simple C++ project implementing a Snake game using Raylib. The review highlights areas of good practice as well as aspects that can be improved, including project organization, code readability, and the use of libraries. The reviewer also offers tips on handling game states and structuring code for better maintainability.