r/codereview • • Jan 27 '21

C/C++ simple asynchronous console input/output library in C++

14 Upvotes

https://github.com/lionkor/commandline

I'd love to know any thoughts on the codebase!


r/codereview • • Oct 01 '20

C/C++ I'm learning C++, can someone highlight everything wrong I did in this code (or bad practice) please?

14 Upvotes

It is a program that analyses text and prints out how many of each character there is in the text.

I decided to use templates for some functions in case I want to use it in another program.

It does work as expected, I'm just wondering if there is anything I can improve or clean up.

https://pastebin.com/8kFUSmnc


r/codereview • • Aug 20 '25

Coderabbit vs Greptile vs CursorBot

13 Upvotes

My work uses CursorBot and it seems to do a pretty decent job at finding bugs. I'm currently running a test on side projects for coderabbit & greptile (too soon to find a winner).

Anyone else do tests here? What'd you find?

The only cross-comparison I can see is on Greptile's site, which obviously lists them as the winner.


r/codereview • • Feb 05 '21

Minesweeper game in C++ with SFML Code Review

13 Upvotes

Hello everybody.

I have set my self the goal to properly learn C++ and as such I have made this simple project to try and apply several C++ concepts.

I would very much appreciate if you could take a look at the code and suggest changes/improvements or anything that would help me learn C++ better.

Here is the code:

https://github.com/PuykRaoi/sf_bomBot

You can build the game and play it following the README instructions (I did this in Linux).

Thanks id advance.


r/codereview • • Jun 30 '24

Color Palette Generator

12 Upvotes

r/codereview • • Jun 06 '23

Are there any code review extensions that use AI instead of hard coded rules like linters?

12 Upvotes

r/codereview • • Jul 30 '21

[C++/OpenGL/SDL2] 2D Game Engine Used for Game Jam

12 Upvotes

Hey everyone,

I created an open source 2D game engine that I recently used for a game jam. Would definitely appreciate feedback on the code as I would like to maintain and improve this engine for future game jams and other projects. Thanks in advance!

Links

Source Code:

https://github.com/Chukobyte/seika-engine

Documentation:

https://chukobyte.github.io/seika-engine/

Game Made with Engine:

https://chukobyte.itch.io/cave-salamander


r/codereview • • Nov 09 '20

After one year of learning, my first public GitHub Repo. Looking for some feedback.

12 Upvotes

I have been stuck in my own bubble. Never even met a developer so I don't know if my code is good, bad, or terrible. Regardless I want to improve.

My dream is to write code for a living and I know I need a good portfolio to get a job. I'm 33 years old. I guess it's never too late to start working toward a dream?

You can tell me I suck and need to find something else to do. I don't care, just tell me the truth.

GitHub / Iconsoftware-crawler


r/codereview • • Oct 26 '20

Today I finished my first "bigger" project - Snake Game

12 Upvotes

Today I finished Snake Game made in Java (and also learned basics of Git). Could you guys point me any mistakes or bad practice I made?

https://github.com/kondziori19/MainRepo


r/codereview • • Jan 22 '13

Keep on posting!

12 Upvotes

Hey Everyone!

I've just been made a mod on this sub, and I'm really excited to see that in the last few weeks people have been starting to use it again. If you are as interested in reviving it as I am, please refer people here if you see they have questions about chunks of code that might be better suited here.

Thanks!


r/codereview • • Jul 10 '24

Any recommendations for code review tools in github?

11 Upvotes

Github's default comparison UI for pull requests could be better. Does anyone have plugins or tools they like to use that gives more functionality and a cleaner UI/UX?


r/codereview • • Apr 16 '23

C/C++ Working on making a C++ wrapper for the MySQL C API as a learning project. Seeking advice/feedback/code-review.

Thumbnail
self.learnprogramming
11 Upvotes

r/codereview • • Jun 29 '22

I'm building a tool that creates a code walkthrough for code reviews. Would you use something like that?

11 Upvotes

Hi all!

First, I apologize if self-promoting like this is against the rules! It is related to code reviews, so I'm sharing it here.

I had this app idea when I was reviewing a fairly big PR. It was easy to get overwhelmed by looking a GitHub diff and I wanted to take a step-by-step approach.

So I started working on https://www.gitline.io and now I came to the "closed beta" stage. I don't want to build more stuff without finding a few people that would actually use it, so I can validate it and see if it makes sense to invest in it further.

Would anyone be interested in something like this?


r/codereview • • Nov 06 '21

javascript I had a hard time understanding what the 2 line asyncHundler function was doing from the brad traversy udemy course about node rest api so I rewrote it with a verbose syntax (that's how I try to decipher hard to understand code instructions)

Post image
11 Upvotes

r/codereview • • May 13 '21

Java [Java,Javascript] I spent the last 6 months developing a multiplayer game with Spring Boot, Node and React

11 Upvotes

Hey everyone!

I would appreciate a feedback for a multiplayer game I developed. The rules of the game are similar to Cards Against Humanity - a question is displayed and the player with the funniest answer gets a point.

Repo link: https://github.com/itays123/partydeck


r/codereview • • Nov 02 '20

If block conditions seem repetitive.

11 Upvotes

My if block conditions seem quite repetitive, even if they aren't exact repetitions. Is there a better way to write the same thing? I will be adding more monster checks and stat checks in future.

if (monster == "Giant rat") {
    if (strength < 20) {
        return 1;
    } else if (attack < 20) {
        return 0;
    } else if (defence < 20) {
        return 3;
    }
} else if (monster == "Seagull") {
    if (strength < 10) {
        return 1;
    } else if (attack < 10) {
        return 0;
    } else if (defence < 10) {
        return 3;
    }
}

r/codereview • • Oct 17 '20

C/C++ Is this a wrong use of typedef?

Post image
11 Upvotes

r/codereview • • Aug 22 '20

Python Tic-tac-toe

11 Upvotes

Hello!

I'm learning programming in general and I also started with game development using pygame. The first game I made is tic-tac-toe. Initially, I programmed a text based version and once it was ok, I decided to implement the graphics part with pygame!

I wanted to share my code for the "main part" of the game to request your advice and comments (coding style, etc).

The program calls two modules "graphics" and "logic" which include the sprite classes used by the game and implement the computer AI. I have them separate to keep the code short.

You can find the code here.

I know that it's a lot of code, but I'd really appreciate any advice or comments you have even by just checking the general structure.

You can find the complete repo here, in case you'd like to play the game or check the modules.

Thank you all and I wish you a nice weekend!


r/codereview • • Aug 16 '20

javascript Algorithm for calculating the longest subsequence of common characters between two strings

11 Upvotes

I started doing stuff like this today because I want to improve my thinking/programming, I would be very grateful for constructive criticism and thorough explanation of why some of my practices are bad or why something would be better, thank you in advance.

I tried to code the problem given in this interview

Basically, the program needs to calculate the longest subsequence of common characters in two strings, for example:

String one: "ABBA"

String two: "ABCABA"

output should be: "ABBA"

This is my code: https://hastebin.com/nulurowave.js


r/codereview • • Sep 23 '19

Awww yeah, 4k subscribers

Post image
11 Upvotes

r/codereview • • Feb 18 '26

CI CD friendly Salesforce testing tools? Need something we can trigger automatically

10 Upvotes

Right now our automation is kind of manual. Someone has to kick off runs locally and it’s messy.

Trying to plug testing directly into GitHub Actions so every deploy runs regression automatically across sandboxes.

Any Salesforce testing tools that integrate cleanly with CI CD without a ton of setup?


r/codereview • • Feb 09 '26

Looking for some constructive criticism on my first public project

Thumbnail
github.com
10 Upvotes

I started programming 3 years ago now I’m 15 and I haven’t really published my projects publicly till now would love if someone could highlight some issues and bad habits in my code thank you !


r/codereview • • May 24 '23

Reviewing code for someone senior

10 Upvotes

So, I've been asked by my manager to do a code review for him. I'm a very very very junior doveloper. How can I possibly do a meaningful review of his code? Any advice?


r/codereview • • Jul 22 '22

javascript How to fetch api in React.js?

Post image
10 Upvotes