Top new questions this week:
|
I just finished studying immutable objects and their advantages so I thought I'd create one of my own. Here is my employee class that extends a person class. It is not mutable since I have getters to ...
|
Context
I'm working on a little project that consists in a series of Microsoft Excel add-ins (.xlam). The code being submitted for review here, is located in the Reflection project:
Feel free to ...
|
I have recently been refactoring some code in an effort to improve the exception handling, particularly to aid in improving the level of information given to developers during development. However I ...
|
I was tasked by my teacher with making a linked list by myself, so I could understand the concept better. Here is the MyLinkedList class:
public class MyLinkedList<T>{
private Node<T> ...
|
This is a GUI-based random password generator, which supports internationalization.
It consists of 6 small classes:
Main classes:
Application - entry point
GUI - self-explanatory
PassGen - class ...
|
That's Last Week, Month-to-Date, Season-to-Date, and Year-to-Date sales.
I have a table-valued function for each one, that takes a date and returns all CalendarDate values for the interesting time ...
|
This is my version of the Snake game written in C++. How could it be improved and what general advice would be useful for future projects?
#include <iostream>
#include <conio.h>
void ...
|
Greatest hits from previous weeks:
|
In a new project I am creating for my work, I am creating a fairly large ASP.NET web API. The API will be in a separate Visual Studio solution that also contains all of my business logic, database ...
|
Is this the correct implementation of Heap Sort using Java? How can it be improved further?
import java.util.Arrays;
public class HeapSort {
public static int heapSize;
public static int ...
|
Can you answer these?
|
One of the Etudes for Elixir exercises is to create a War game that uses the spawn, send, and receive primitives, but I went all out and made it an OTP GenServer.
I run the game in iex with:
{:ok, ...
|
I have implemented some basic multithreading in my 2D mining game that I asked about in a previous question. The first part is working out great (creating the initial object instances in the ...
|
I am learning Ruby with Ruby Koans. This is my code for the final assignment: the Greed Game.
here are the rules:
Playing Greed
Greed is a dice game played among 2 or more players, using 5
...
|