Top new questions this week:
|
I have written a simple CLI app that finds factors in 3 different forms. I would like the code to be reviewed. Here’s the code: …
|
I once tried to make a generic linked list in pure C (no external libraries, only the C standard library) here using C macros. With the same restrictions as in the previous attempt, this time I’m …
|
I am trying to solve a maze in Python where parts of the maze are not explored, meaning in each step the player has to move toward an unexplored area and explore it until they discover the exit. I …
|
I have reached a significant milestone since the start of my chess game project. I have implemented all basic functionality. There is no castling, en passant and pawn promotion yet but I have …
|
I am trying to read entries of my CSV file into an entries vector whose data type is object OrderBookEntry, which is an object that stores the tokenized variables …
|
note: This is v3 of code that was previously reviewed. I have written a class that handles listeners registering callbacks to receive messages. Link lifetime is managed (or is it? See below). Code is …
|
I want to use the scope_exit class but my compiler/standard library (clang++-16 with libc++) don’t support it. Until they do I wanted an implementation. I found a …
|
Greatest hits from previous weeks:
|
I’ve been learning Java for about 3 weeks now, and I was hoping someone could check over my code for me, and let me know how to improve. I am aware that the maths class could be removed (I could’ve …
|
This is my first program in C. I’d rather not form any bad habits now. Is there anything that looks like bad practice, or something just looks wrong? …
|
It is a basic calculator where the user inputs two numbers, and an operation and the program makes it into an equation and gets the answer. For example, if the user enters number 2 number 3 and tells …
|
I have finished my Python Hangman app with very basic code. …
|
I’m new to Java and have been reading Java for Dummies and other ones as well. I’ve started building this program like a week ago. I’m sure it’s very messy. Just seeing if someone can clean it up and …
|
I have two lists of objects Person and PersonResult. Both are linked through the property …
|
I had this code lying around, so I figured I would submit this as my first attempt at a weekend-challenge. I would prefer if reviews contained suggestions on how to improve the algorithm, but all …
|
Can you answer these questions?
|
I recently wrote a tiny network library in C++17 called Turtle on Linux and wish to seek some improvement advice on how to further develop it. Any insights would be appreciated. Origin: As a student, …
|
I’m building a graph-based interface to explore Wikipedia, but I’m not really familiar with TypeScript/React (especially state management), so I really feel like I’m just Frankensteining things …
|
instructions for the kata: Write a function called sumIntervals/sum_intervals() that accepts an array of intervals, and returns the sum of all the interval lengths. Overlapping intervals should only …
|