Top new questions this week:
|
After studying several ways of doing OOP in JavaScript I think I finally came up with one that seems OK to me. Is it okay? Do you see some problems I can face by using OOP in JavaScript like this?
...
|
I haven't made a game in Excel yet, so I decided to Make Conway's Game of Life.
If you wish to play along, I've uploaded the workbook here.
Right now it's very rudimentary (No user interface, no ...
|
I have made a little Tic Tac Toe console application using OOP techniques and would love to get some advice and guidance on what I have done. I have tried to structure the program to be as organized ...
|
The challenge is simple:
Return the length of the longest word in the provided sentence.
The solution is just as simple:
function findLongestWord(str) {
arr = str.split(' ');
size = 0;
...
|
I have made a little shop keeper program and I would love someone to critique it and list all of the improvements I could make. This is my first time using OOP techniques so I imagine there is a lot ...
|
From K&R exercise 1-21,
Write a program entab that replaces strings of blanks by the minimum
number of tabs and blanks to achieve the same spacing. Use the same
tab stops as for detab. ...
|
The code has been test to work by the parameters listed below I just wanted to know if there were any details that I missed or blatantly overlooked.
Develop a Java application that determines ...
|
Greatest hits from previous weeks:
|
I am trying a stack implementation using an array. I want to know if this approach is OK or if there is a logical problem. This program is working fine.
#include <stdio.h>
#define MAXSIZE 5
...
|
The following question was taken from Absolute Java 5th ed. by Walter Savitch:
Write a program that outputs the number of hours, minutes, and seconds that corresponds to 50,391 total seconds. The ...
|
Can you answer these?
|
This Python module contains helper functions to download the result page of SEDE queries and extract columns from it, most prominently:
fetch_sede_soup(label, url): download the page of SEDE ...
|
In constructing an answer to this question, I wrote a small debugger/simulator for the MAC-1 instruction set.
There are a number of simulators already out there, but most are either too old to be ...
|
In the following query, I am fetching all the projects items with specific project id. At the same time, I am using a join in Select to fetch the delivered quantity of items of this project only. The ...
|