Top new questions this week:
|
I've just started learning C# using Rob Miles' C# Programming Yellow Book and some related lab exercises from his website. I did one of them and produced a solution that works. In Miles' book, he says ...
|
Here's my first serious attempt at writing Go code. This program counts the number of days until a certain date and displays that in the system tray.
To do that, it first reads the target date from ...
|
I have written a Boggle board solver in Python 3. I would like comments on readability and structure. Thank you!
Boggle
Boggle is a board game with a 4x4 board of squares, each of which has a ...
|
Here is some code I wrote as a solution to Programming Exercise 15.3 in Stephen Prata's C Primer Plus, 6th Edition. It is probably worth pointing out that the title of the chapter is Bit Fiddling. The ...
|
My code is attempting to implement FP in an efficient / readable manner into some of my video games. I realize this may be a bit subjective, but I feel there is enough merit / objectivity to be of ...
|
The setPixelColor function below changes the color of pixels.
I need some suggestions to optimize this function.
Example:
public static void main(String[] args) throws IOException {
...
|
My goal is to pick 10 unique words randomly from a List containing 20 unique words.
I would remove the duplicate word from the List whenever a duplicate word is added and decrement the for loop ...
|
Greatest hits from previous weeks:
|
I am learning to use Java Swing and have made a simple animation that makes a small shape bounce around the predetermined borders of a panel. The program works well, but I am looking for feedback in ...
|
I'm working on a website on ASP.NET MVC4 and EF5. I want to ensure that only modified values are updated in the database. I'm using a unit of work pattern and repositories for data work. Here's the ...
|
Can you answer these?
|
I've written my first program in GO, a command line tool that parses JSON containing events from a file or from STDIN and outputs the upcoming events in sorted order. Please critique it!
package ...
|
I've made a little colour conversion app, and below is my JavaScript.
The app converts HEX values to RGB values and vice versa, as well as using a simple colour picker to get colours and convert them ...
|
I created a directive that solves my immediate problem, but I'm trying to find ways to make it more reusable.
My immediate problem was, I have a table and needed to fill in one of the columns with ...
|