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.
-1
votes
0answers
9 views
2
votes
1answer
31 views
Batch file for looking through text files
I was creating a program and I was trying to explain it to some of my coding friends. They commented that it was too tedious typing out all the "if" commands. How do I streamline this code?
Note: ...
2
votes
1answer
22 views
Printing simple histogram horizontally
I am new to programming and want to know if this is really bad code. I know my variable names may seem arbitrary but I spent some time trying to get them right. I am struggling on that. Would you do ...
5
votes
3answers
362 views
Nested loop to render tiles in a grid
This code works but I'm not really sure if I wrote it good enough. It seems a bit vague but I can't really assess it properly. I'm particularly concerned with the ...
18
votes
4answers
1k views
Calculate distance using speed of sound
I've been working on learning Java and this was a challenge as part of a chapter on data types:
Create a program that computes how far away, in feet, a listener is
from a sound. Sound travels ...
4
votes
3answers
234 views
Gas cost calculator
I am refreshing my university knowledge on C++ due to a job interview and I am trying to understand everything in depth. Is there any reason for me to use pointers and dynamic memory features of C++ ...
2
votes
0answers
27 views
Drawing tarot cards
The goal is to draw random tarot cards from the suit, number of cards is determined by the amount of HTML elements with 'card-container' class on given page.
The deck is structured as follows:
...
4
votes
1answer
40 views
Speed unit converter
I'm basically a newbie in android app developing. So I'm not sure if this is the right way to write these codes. I have made an app called "Zconverter". It has 9 fragments and the code i m showing ...
4
votes
1answer
37 views
Reading an Excel file and comparing the amino acid sequence of each data pair
Since I am fairly new to Python I was wondering whether anyone can help me by making the code more efficient. I know the output stinks; I will be using Pandas to make this a little nicer.
...
0
votes
0answers
11 views
CRUD (database layer) for F# with TypeProviders
I am a newbie in F# and I am thinking about use F# in my next project. The project will work the database and I need to store and retrieve instances of objects in the Db.
Could you please check my ...
6
votes
1answer
43 views
Chess game project
I'm currently just working on a Chess game project to improve my object-oriented skills. It is currently only at the starting stages and there is quite a bit missing (such as error checking) but I ...
3
votes
1answer
21 views
MIPS assembly addition program
I am new to assembly and have made a simple addition program to sum two integers read from the keyboard. The program outputs correctly, but I want to know if there is a way to streamline my code. It ...
4
votes
2answers
58 views
String Token Generator for ExpressGenGen
StringTokenGenerator is an interface (or abstract class) I've created to the specific task of generating a string token of a given character set. It allows ...
10
votes
4answers
107 views
4
votes
3answers
98 views