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

learn more… | top users | synonyms

5
votes
1answer
38 views

Random playlists program

This is the first program I've created without help from a tutorial. Written in Python 3.4, it gathers a specified number of media files and opens them in the default player (I use VLC on Windows ...
0
votes
0answers
21 views

Project Euler #9 through #12 in Haskell [on hold]

I'm new to Haskell and practising with some Project Euler. These solutions all return the correct result in a reasonable time, but I'm looking for advice on making my code more readable, cleaner, and ...
2
votes
2answers
40 views

Obstacle-spawning and movement scripts

I have these scripts I made that work absolutely perfectly as I need them to. Is there any improvements that can be done to these scripts and make them more efficient for Mobile Platforms? Or even ...
3
votes
2answers
23 views

Adding dynamic column names to a table

I'm using Microsoft SQL Server 2014 Express. I found myself wanting to add the Columns CompanyNameChangeDate (1 through 10) and ...
11
votes
2answers
506 views

C# Program that checks on the status of the Capslock with each character insert

The following is my first successful running C# program. The lessons that I personally learnt through this include: The value of asking for help after having tried several times The advantages of ...
2
votes
1answer
67 views

Finding the two largest three digit numbers missing from a text file

Hear this problem: Write a C/C++ program that reads all the values from the "BAC.TXT" file and determines which are the two largest three digit numbers that are missing from the file using a ...
3
votes
4answers
81 views

A simple command-line calculator

I created a simple command line calculator, and then after some reading I made a few tweaks and then remade it with a friends idea to make it more simpler. I'm wondering if this can be more optimized ...
1
vote
1answer
67 views

Reading from text files in C/C++ [on hold]

I'm writing a program that has to check which are the two largest three digit numbers that are missing from a text file. I'm writing this in C++ and I'm trying to solve the mystery in a ...
4
votes
1answer
50 views

How can I enhance my linkedlist implementation in java?

I recently implemented Linked List on my own. I did not use generics as I am still learning. How can I improve it: ...
3
votes
1answer
49 views
+50

Python 3 NetScanner Daemon

I’m pretty new to programming and python in particular. This is a simple ICMP/TCP scanner that dumps output to a terminal and/or csv file. My goal was to make a daemon that could do simple scanning ...
3
votes
2answers
46 views

Simple 'Evolution of Text' app

I'm a complete beginner to Python, and wanted to get some feedback on my first app. I tried to make a clone of the 'evolution of text' app found on the Using Python website. Enter some text, and ...
4
votes
1answer
52 views

Tic Tac Toe using WinForms

I have made a simple tic tac toe game and need help tweaking it to fit the bill of object oriented design. Any suggestions most welcome. I basically want it safer, and more "best practice-like" It is ...
2
votes
1answer
40 views

Median of 3 Quicksort in C

I'm trying to re-implement the C stdlib function qsort using a median of 3 quicksort. ...
3
votes
1answer
48 views

Wall-runner type game

I'm working on a Wall-runner reaction based game. As I know my way around a lot of the features Unity provides, I'm still in the beginner phase when it comes to working with several classes and ...
5
votes
2answers
401 views

Pig Latin Translator in Python

I am a relatively new Python programmer and made a simple Pig Latin to English translator and vice versa. I would just like it if someone reviewed my code and see if anything can be done to make it ...
2
votes
1answer
50 views

Clojure counter

I'm learning clojure ref types and was trying to make a robust counter generating function. Is there any error or improvement on the code? is there a simpler way? (I want the function to be ...
5
votes
4answers
286 views

Finding factorials

How can this script be optimized? ...
3
votes
1answer
42 views

Memory game using Python and PyGame

I am a beginner in Python and PyGame and wrote a memory game. I think there are lot of things I could have done better. I am looking for some advice on how I can improve the design and refactoring of ...
1
vote
1answer
44 views

Simple name-drawer using Python and Tkinter

I am a beginner playing around with Python and Tkinter. I wrote this program to draw random names given the students in my classes. I tried to follow PEP 8, but I was wondering if there are any ...
0
votes
0answers
23 views

Script that processes filenames and grabs data/PDFs from the web [closed]

I want to implement this using requests or just urllib2 instead of Selenium. I spent many, many hours googling to figure out how ...
-1
votes
0answers
53 views

SPOJ prime generator problem in Python 3

I am trying to solve an SPOJ problem using Python 3: print all prime numbers in a given range (as large as 109). ...
2
votes
1answer
44 views

Linkedlist visualization using html5 canvas

I have written a simple linked list visualization program in JavaScript: I am just a beginner in html5 canvas. I am pretty much satisfied with how it works, but I´d like to know if I made some ...
1
vote
2answers
229 views

Simple Tic Tac Toe

I have written a simple Tic Tac Toe game in WPC C#. I am just a beginner and learning. Could you tell me if there is something wrong with my code / could be done better? I am pretty much satisfied ...
5
votes
2answers
548 views

Hangman from a beginner

I'm trying to learn programming with python by myself and I've made a hangman game for exercise purposes. ...
4
votes
1answer
53 views

12/24h Time format converter

I am really new at this and I was wondering if there is a more efficient way of writing this code, which converts time format to 12-hour from 24-hour format, and vice-versa. For example ...
3
votes
0answers
17 views

Arduino code to run an LED matrix over Bluetooth

I've made an Arduino program to run on my Teensy 3.1 board. It accepts characters and strings sent to a Bluetooth module (BC417) from any Bluetooth-enabled device and uses these to power certain pins ...
2
votes
2answers
64 views

Enum for converting between field naming conventions

Based on this question and this answer, I decided to try the enum approach to do some more conversions I need in my application. This time I required to convert between the different field naming ...
9
votes
1answer
64 views

ChickenDodger game written using Pygame

I just made my first pygame program, ChickenDodger, and I would like to know how I could make my code better. I think I did pretty good for my first time, except the way I added the 2nd egg. I do not ...
4
votes
2answers
93 views

Hangman Game in windows forms

today I created a simple hangman game, which has 10 different categories with 10 words each. The words order is being randomized each time you pick a category. You have the chance to pick a wrong ...
7
votes
2answers
163 views

First C# program (Snake game)

I've just started out using C#. I've used Scratch (drag and drop programming for kids) for quite some time. Since Scratch didn't have classes and methods I have a feeling this code could be a lot more ...
2
votes
0answers
41 views

Final Java TicTacToe MVC Program

After my previous post, I decided to work on the project myself for a while (two weeks) to see how far I could get after reading a few of the really helpful answers to my previous posts. I read up on ...
6
votes
3answers
384 views

Storing hashed passwords

I'm a beginner and am self taught and was hoping I could get help from others more educated than me to show me what bad practices I might be forming before I go on further. P.S. This program is just ...
2
votes
0answers
22 views

Stack based esoteric language interpreter in Ruby

For a while now, I've wanted to write a stack-based "Turing-tarpit". This is the perfect excuse to learn Ruby, which I have never used before, so I wrote Brain-flak. The language only uses these ...
2
votes
1answer
34 views
1
vote
1answer
53 views

FIRST and FOLLOW sets calculator in Haskell

I found myself wanting to brush up on some notions about parsers and grammars and, at the same time, to exercise my Haskell - I am a Haskell newbie; moreover, I haven't touched the language at all in ...
7
votes
4answers
1k views

Simple python calculator

I'm very new to Python, and so I'm trying to learn it by doing simple programs, like a calculator. But I don't know if this is the "Pythonic" way to do it, or if I am making beginner errors. So ...
4
votes
1answer
54 views

Bubble Sort in C

I am trying to learn C coming from Python. Below is an implementation of bubble sort, slightly optimized. Any advice on best practices, readability, use of macros, and edge cases would be greatly ...
3
votes
1answer
57 views

Chopsticks Game in Python (Version 2)

This is another iteration of my previous question. This program plays the game Chopsticks using the Minimax algorithm. I search the tree using recursion. The problem, however, is that it is just ...
0
votes
0answers
25 views

Simple program that copies just new files from one directory to another

I'm doing a Python course for beginners, and the last assignment was to create a program using shutil and wxpython that can copy new files (created in the last 24 hours) from one folder into another, ...
2
votes
2answers
35 views

Print how many times a sequence of characters appears in a string

Given a string, count how many times a sequence of characters (in this code, the sequence is "ei") appears until the user types '#', then print the amount. I would like to know how to improve the ...
2
votes
0answers
27 views

Picking seats in a matrix

I'm trying to write a Python class that creates a matrix of zeros, then uses a random number generator to pick 'seats' on the matrix. It changes the zero in that seat to a one, until the matrix is all ...
4
votes
2answers
43 views

Counting from 0 to a number and back to zero, and space-padding the result to be a given length

I completed a task: The objective was to create a method with 2 arguments: a number to count to, and how many char/numbers in the resulting string. Result: Let's say that "number" is 5, so it will ...
2
votes
0answers
51 views

Retrieves Remote Certificate, displays Validity

I'm a Windows sysadmin who is new to C# and "professional" coding. My background is in VBScript ("get it done") and I've apparently built up a number of bad habits. I'm hoping a review of the ...
3
votes
1answer
31 views

Haskell Pig Latin Translator - v2

Thanks to Gurkenglas for the help with the previous iteration: Haskell - Pig Latin Translator! Given the constraint that the newtypes are required, what ...
4
votes
4answers
277 views

Data type detection for a CSV file parser

I am building a CSV file parser, and in order to get the appropriate Object to represent different data types found on the parsed files, I wrote the following function: ...
0
votes
1answer
47 views

Bundling JavaScript resources for an MVC app

This is my first MVC app. I'm looking for best practice feedback on how to best bundle the files that I need, the order to bundle them, the placement of the @render ...
0
votes
2answers
35 views

Array that defines product information and generates the html for the product

Is there a more productive way to do this? Is my code up to standards or up to best practices? ...
1
vote
1answer
44 views

Printing chessboard with *(asterisk) and .(dot)

I have written a program in which user enters total number of conditions (cases) and then that many number of inputs to print chessboard. For example: ...
3
votes
2answers
91 views

beginner TICTACTOE game for my school projet

I just wanted to know how can I code more efficiently with my project. I'm pretty sure that all these nested "if's" can be done easier and with less code. I made a TicTacToe game with 3 difficulty ...
3
votes
1answer
88 views

Tic-Tac-Toe game in C++

I'm new to C++ and made this basic Tic-Tac-Toe game from scratch. I would like to know if there are simpler or more efficient ways of doing the things that are covered in the code. As I said, I'm new ...