1. All Categories
  2. Code Review

Code Review : Recent Questions and Answers

Find answers to your questions about Code Review or help others by answering their Code Review questions.

creating accounts with passportJs

I'm currently building an application using Passport and bcrypt for user authentication. I've created the registration part. Is there anything I could improve on? I'm still getting the hang of...

Asked on 01/06/2022 by imnewhere

1 answer

The fastest way to find one unique value when all other values are the same

I have completed this question and I am wondering what is the fastest way to solve it. The question is "There is an array with some numbers. All...

Asked on 01/04/2022 by Jacques

9 answer

A Program that gets text from a client and puts it into a file on a server

I recently created a program that could get information from a client, a name and some text, and then put that into a text file. From there the user can...

Asked on 01/04/2022 by Emmanuel Okafor

1 answer

Lexical Analyzer In C++

So this is my first time writing a Lexer, and I want to make sure I'm doing it right. The lexer is not complete for a programming language right now,...

Asked on 01/04/2022

0 answer

Easier ways to make an RPG dice roller code?

I'm new to programming and this is the first thing I'm doing on my own. I would appreciate it if you could point me ways to optimize this RPG dice...

Asked on 01/04/2022 by Lucas Melo

1 answer

Cadbury problem solution in Python

Problem StatementIn a School, Chocolate bars have to be distributed to children waiting in a queue. Each Chocolate bar is rectangular in shape. Consider its side lengths are integer values....

Asked on 01/02/2022

3 answer

BF welcomes Fibonnaci

Slightly inspired by a previous question/april fools joke I decided to take on Fibonnaci sequence in the lovely language Brainfuck. In order to do this I have also worked...

Asked on 01/02/2022 by Simon Forsberg

1 answer

Speeding up the implementation of Stochastic Gradient Ascent in Python

I am implementing a time-dependent Recommender System which applies BPR (Bayesian Personalized Ranking), where Stochastic Gradient Ascent is used to learn the parameters of the model. Such that, one iteration...

Asked on 01/02/2022

0 answer

C++ Arraylist Implementation

I am a new C++ developer who, coming from Java, am having issues in understanding some of C++'s key memory management features. Below is my attempt at an ArrayList implementation...

Asked on 01/02/2022 by SirTrashyton

2 answer

Python Script that sends emails to a list of people and their emails and attaches specific documents (w/ tkinter menu)

This is my first Python project. Any tips on making it more efficient, less cluttered, and could you think of some cases that I haven't in which my code will...

Asked on 01/02/2022 by rmcknst2

0 answer

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP