Code Review Stack Exchange is a question and answer site for peer programmer code reviews. It only takes a minute to sign up.

Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top

Top Questions

8 votes
8 answers
3k views

Can I lessen the use of boolean flag variables in this snippet?

4 votes
4 answers
2k views

Banking System console app in C++

8 votes
4 answers
2k views

Plotting the Mandelbrot set efficiently

8 votes
3 answers
2k views

Algorithm "sort except zero"

4 votes
4 answers
2k views

Yet another shared_ptr implementation for learning purposes

13 votes
3 answers
2k views

A Simple Tetris game made with C++ and ncurses

8 votes
3 answers
2k views

C++ std::optional implementation

11 votes
2 answers
2k views

CAT: Cat Approved TUIs

6 votes
2 answers
624 views

Python program to properly format North American phone numbers

6 votes
2 answers
981 views

File Organiser in Python

5 votes
3 answers
432 views

Implementing a --assume-yes/--assume-no command line flag to affect a `input()` based `confirm()` function

5 votes
3 answers
498 views

Mapping named parameters to indices for PreparedStatement

3 votes
2 answers
923 views

C++ std::any Implementation

3 votes
3 answers
168 views

Increment a large integer represented as array of digits

3 votes
2 answers
577 views

Banking System in C++ [V2]

4 votes
2 answers
509 views

O(nlogn) Lexicographically minimal rotation code but tle on this particular case

5 votes
2 answers
323 views

Parsing gateway ip from `/proc/net/route` in a docker container

2 votes
4 answers
240 views

Generic type data storage

4 votes
3 answers
233 views

C++ custom string class implementation

3 votes
2 answers
180 views

32x32x32 Units Octree With 15-Bit Voxels: Second Edition

2 votes
2 answers
297 views

Simple calculator in python using tkinter

4 votes
2 answers
91 views

implementation of Conway's game of life in C for ansi terminals

5 votes
2 answers
305 views

Stopwatch program written in C, using Pico W

6 votes
1 answer
161 views

C++ Mock Library: Part 1

6 votes
2 answers
84 views

Hangman game in C

2 votes
2 answers
117 views

Counting duplicate elements in two sorted arrays

3 votes
2 answers
147 views

Add offset to all filenames

1 vote
2 answers
140 views

Minimalistic implementation of Leapfrog integration algorithm (2)

2 votes
2 answers
135 views

Java Tic-Tac-Toe Game Implementation - Seeking Feedback and Best Practices

2 votes
2 answers
163 views

C++ std::shared_ptr implementation

2 votes
2 answers
119 views

Mapping composition in Java

2 votes
2 answers
105 views

A memory leak-free RAII wrapper around two raw pointers

4 votes
2 answers
101 views

Find largest sum not involving consecutive values

4 votes
2 answers
121 views

NumPy script to convert BGR to HSL and back

1 vote
1 answer
127 views

Follow up to Validation Script in PHP

3 votes
1 answer
122 views

Combo Matching in a digital implementation of Reiner Knizia's 'Schotten Totten'

4 votes
1 answer
93 views

C++ custom vector class implementation

1 vote
1 answer
141 views

Iterating the octree while keeping track of the positive neighboring nodes

4 votes
2 answers
130 views

Making a dice game as my first Python project!

3 votes
1 answer
96 views

C++ Mock Library: Part 2

5 votes
1 answer
74 views

Bank account class simulator with possible exception

2 votes
1 answer
119 views

A very basic calculator in C#

2 votes
1 answer
147 views

Rust implementation of fibers

0 votes
2 answers
89 views

Improving performance of mandelbrot set calculation

1 vote
1 answer
88 views

PHP Validation script

2 votes
2 answers
107 views

Permissions system in MERN app

2 votes
2 answers
96 views

Defining hardware components structure

4 votes
1 answer
95 views

Cellular Automata Python Class


Looking for more? Browse the complete list of questions, or popular tags. Help us answer unanswered questions.