Questions tagged [beginner]

Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.

Filter by
Sorted by
Tagged with
1 vote
0 answers
58 views

Pokédex by a Python novice

This is my first real personal application and I'm just looking for some outside feedback. Completely built in Python, this is a Pokédex for the Pokémon Mystery Dungeon series. I hope to eventually ...
user avatar
2 votes
0 answers
37 views

To-do application in React

I am new to react and I tried to implement a TODO application using react state and props. I need somebody to just review the code and suggest improvements in the code. Currently I have not added any ...
user avatar
2 votes
1 answer
102 views

Getting values from a given level of a nested collection

This question is a supplement to my previous question: Counting 'absolute' nesting levels of an iterable. I would like to expand functionality of counting nests in order to get values from given nest. ...
user avatar
  • 87
3 votes
1 answer
64 views

Building a trie from a vector of strings in Rust

I'm learning rust (coming from C++) and playing around with different small algorithms to understand the ownership & borrowing concepts better. Currently, I'm having difficulties finding the ...
user avatar
5 votes
1 answer
43 views

Librarian script to find and copy a file

I wrote this script partly as an exercise in learning Bash and partly because I needed a tool to find specific versions of library files and copy them to a particular device. The script takes ...
user avatar
6 votes
2 answers
129 views

Counting 'absolute' nesting levels of an iterable

I need to write a function to count numbers of nests in an iterable. I reached my goal but wondering if there's any more neat/faster solution (maybe even a library or so?). Besides I'm afraid that my ...
user avatar
  • 87
5 votes
2 answers
179 views

DNA Challenge from CS50

Added the problem link below and my implementation of it. Took me a few hours to program. I have added comments to explain my thought process. Problem Link Goal - To implement a program that ...
user avatar
4 votes
2 answers
147 views

Python TIC TAC TOE Project

I just joined here. I have been doing python for a couple of weeks and I would like for some experienced programmers to review my code. I made this for a school project and I am proud of it. The code ...
user avatar
1 vote
0 answers
31 views

Relational join of two datasets

Front Matter I'm learning Scala and have not gotten used to functional programming and the language. I'm hoping a review of my naively implemented code can help me bridge my object-oriented ways to ...
user avatar
  • 111
4 votes
1 answer
568 views

Ansible playbook to install Docker Swarm

this is my first ansible playbook. it installs docker in swarm mode and automatically joins the cluster. could you guys please review my code and show me where it can be improved? ...
user avatar
  • 219
2 votes
1 answer
89 views

Gallery template class

I have created a template class Gallery which is intended to be used as a container for objects. I used a private member of type...
user avatar
3 votes
1 answer
309 views

Monte Carlo Simulation of 7 Card Stud Poker

I've completed this as part of an online programming course (in which code review is supposed to be done by fellow learners, but it's been a very long time and none of them have reviewed this), and ...
user avatar
  • 33
3 votes
0 answers
21 views

Make selected colours brighter in Blender

The problem: I am working with a set of objects in Blender with per-vertex colours. Each object has only two distinct colours. For all objects in a selection, I am choosing only the brighter of those ...
user avatar
3 votes
4 answers
124 views

Verify that 5 Textboxes have some content

I'm new to C#. I have created a form that has 5 text boxes and this function checks to see if every text box has text in the box. If not, then it displays a message box saying "Error (Add Text)...
user avatar
  • 33
6 votes
1 answer
103 views

Rust based Sudoku solver using backtracking

I've just started learning rust and have written a basic sudoku solver, however it seems to run much slower than I expected. So I'm looking for any possible performance improvements as well as any ...
user avatar
  • 63
12 votes
5 answers
4k views

My first C program: quadratic formula calculator code

Recently I've started to learn the C programming language. This is my first program which finds zero places of quadratic formulas. Doesn't parse, just gets the discriminants, counts delta and x1, x2. <...
user avatar
  • 221
3 votes
1 answer
102 views

Implementation of a type-safe generic dynamic array in C

I'm new to C and was trying to write a generic dynamic array which is type safe. I'm not sure if I pulled it off in the best way possible though. dynarray.h: ...
user avatar
  • 33
3 votes
2 answers
201 views

Tic Tac Toe in object oriented JavaScript

I've been working on a course assignment for 'The Odin Project' and was hoping to get a review of my code. As per the help guide, the code is fully functional. The criteria for this was pretty ...
user avatar
3 votes
1 answer
82 views

Cliché Rock, Paper, Scissor, as first Python program

It's been a while since I've done any sort of programming, and my first time in Python. I'm just looking for any general feedback and tips since this is my first program. ...
user avatar
  • 31
1 vote
2 answers
70 views

Evaluate the roots of Bhaskara’s formula

I'm creating a program that finds the roots of Bhaskara’s formula and prints them. I'm looking for advice to improve my logic more and more. ...
user avatar
6 votes
2 answers
896 views

Read and write triangulated surfaces

Recently, I wrote a class which can load an .obj file into vector array, and save the vector array as an .obj file. The .obj file looks something like this: ...
user avatar
2 votes
0 answers
56 views

Philips Hue Light Controller

I have created a program where it contains the IP of the user and uses it to connect to a Philips Hue Bridge. I've just recently started python so I understand my code may be terrible. ...
user avatar
2 votes
2 answers
81 views

First C program - Tic Tac Toe 2

I have already posted this program and got some good recommendations on how it can be improved but I would like to further know what can be improved for example: Should dynamic memory allocation be ...
user avatar
4 votes
1 answer
160 views

Simple item and inventory system

Items.cs, Creates dictionaries, enumerators, and classes for every type of item. ...
user avatar
  • 43
3 votes
1 answer
119 views

Find potentional sponsor for every animal

This is a programming challenge in Czeck. My translation follows. Does anyone know what the time complexity of my code is? Input: The first line contains 2 integers: the number of animals 1 ≤N ≤100 ...
user avatar
  • 33
3 votes
2 answers
529 views

How do I increase the speed of this loop or pixel color finding process?

I've been working on a program that should find the color red on the screen and then send out an alert. The issue is that the red color moves around a lot and the color finder moves too slow on the ...
user avatar
  • 105
3 votes
1 answer
64 views

Conway's Game of Life in Powershell

I'm learning PowerShell for professional development, but decided to do a bit of a silly project to help learn scripting in more depth, and chose Conway's Game of Life. This is the first PowerShell ...
user avatar
2 votes
1 answer
39 views

Total income program: budget and savings calculator

I started my cs50 course this week and I will be trying to make little projects alongside to reaffirm what I've learned thus far. Here I have made a very basic budget and savings calculator, I am ...
user avatar
0 votes
2 answers
116 views

First C program - Tic Tac Toe

Hi I am a beginner and l would love to hear your opinion on my first C project, how can it be improved in any way, for example dynamic memory allocation isn't used in the program because I didn't ...
user avatar
1 vote
1 answer
115 views

Guess The Number Game with GUI

So I've decided to practice I will turn all my scripts etc into GUI apps. So my 36 loc guess the number game turned into 136 loc. It's not the best looking, but it does work and on hard it's actually ...
user avatar
  • 456
2 votes
1 answer
78 views

Find the closest match to a string [closed]

Input The first line of input contains a string s: the word misspelled by your partner. Assume that your partner did not add or remove any letters; they only replaced letters with incorrect ones. The ...
user avatar
  • 123
1 vote
0 answers
90 views

Interactive browser launcher in Rust using Native Windows GUI

The program is supposed to be set as the default browser in Windows and allows me to select which browser profile I want to use when I open a link from another program. I have quite some experience in ...
user avatar
4 votes
1 answer
843 views

Simple Cash Register -Python

here it is my simple cash register app. It lacks some functionality ( class Payments should have more options like daily statements etc, ...
user avatar
  • 456
3 votes
2 answers
266 views

Function to create single linked-list

Given the following data struct: typdef struct lista { int num1, num2; struct lista* sig; } nodoNum ; and a declared ...
user avatar
  • 33
6 votes
2 answers
262 views

Console battleship game made in C

I started out to learn more about C to learn more about low level programming and hardware and I can improve. It generates a random number between 1 and 4 then stores it into two variables. It takes ...
user avatar
  • 63
1 vote
0 answers
22 views

Typescript React-Native Component Dimension Hook

I did a lot of research trying to find a React Native component which could reference its own dimensions in order to scale different elements in its style, but could not find any solid examples. I ...
user avatar
2 votes
3 answers
573 views

tic-tac-toe game with a vector

This is my first game ever. I' learning C++ now and I decided to make a game. I saw a snake game that works with the draw-input-logic system and I really liked it. I tried to make a tic tac toe game. ...
user avatar
  • 21
15 votes
5 answers
2k views

Comma Code, Project from "Automate the Boring Stuff with Python"

I'm a newbie. I'm at Chapter 4 of Automate the Boring Stuff with Python. Comma Code Say you have a list value like this: ...
user avatar
  • 151
2 votes
3 answers
75 views

Phrase to acronym in C from exercism.io

I am learning C and doing challenges like those found on exercism.io and the various data structure & algorithm sites. I have a sense that while this works and it makes sense to me that it can be ...
user avatar
  • 121
1 vote
0 answers
30 views

Generic Huffman Encoding

For my first Rust exercise I decided to re-implement a project I wrote in C++ for my data structures class a few years ago, plus make it generic. I am looking for all suggestions, but I am primarily ...
user avatar
7 votes
2 answers
149 views

Weather App- Python

This is my very basic Weather App. Would appreciate your opinion mainly about style, writing code etc. I know there is not much functionality to this app, but I have created it just to practice and to ...
user avatar
  • 456
4 votes
3 answers
125 views

Circle & Sphere Calculator

I've just wrote my first real C program. It calculates the dimensions of a circle or a sphere based on the user input. The program asks the user which dimension they are entering and then prints the ...
user avatar
4 votes
2 answers
210 views

first Go program: Tic Tac Toe

If I formatted my question wrong, feel free to notify me or update, this is my first question on this subforum This is literally my first ever Go project, decided to make a Tic Tac Toe (ironically I ...
user avatar
  • 752
3 votes
3 answers
956 views

Calculate movie ticket price

My program displays the price of a movie ticket. The price is based on the customer’s age. If the user enters a negative number, the program displays the “Invalid age” message. ...
user avatar
6 votes
3 answers
722 views

Rock-paper-scissors in C++

I'm relatively new to C++, and have attempted a Rock Paper Scissors game, and it works. Here and there I added some countdowns so that the program doesn't run instantly. Any tips for improving the ...
user avatar
  • 63
2 votes
0 answers
70 views

Download and parse XML data from a URL every minute with F#

The purpose This code is intended to achieve the following goals:- Create a hard coded list of lifts, this is pretty static and I add some extra info so I'm ok with this being in the code but I may ...
user avatar
10 votes
3 answers
960 views

Text-based role-playing game

I created a text-based RPG. game.py ...
user avatar
  • 103
1 vote
0 answers
45 views

Changing game mode in Tic Tac Toe [The Odin Project] [closed]

I'm posting this here mostly as I posted it over at stackoverflow because the user that answered me recommended it: I'm learning to code with The Odin Project. So far, I've been doing every project ...
user avatar
  • 11
3 votes
3 answers
417 views

Third and second degree polynomial equation solver in C++

I'm quite new to C++, so as a beginner's project I decided to create a program that can solve second degree polynomials and (some) cubics using this lengthy formula I had found online. I would love to ...
user avatar
3 votes
2 answers
74 views

Staff Manager Windows APP -Python

Below there is a full code for my app Staff Manager. The app does allow basic staff management, like adding, removing or changing details of employees. As it is one of my first GUI apps and I am self-...
user avatar
  • 456

1
3 4
5
6 7
146