Code Review Weekly Newsletter
Code Review Weekly Newsletter

Top new questions this week:

Simple object-oriented calculator

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? ...

javascript oop calculator  
asked by Nelson Teixeira 20 votes
answered by tkellehe 6 votes

Life is a Game - Play it

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 ...

vba excel game-of-life  
asked by Zak 17 votes
answered by Dirk Reichel 4 votes

Tic Tac Toe - console application

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 ...

c++ oop console tic-tac-toe  
asked by Ryan Swann 16 votes
answered by Mat 10 votes

Find the longest word's length

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; ...

javascript strings programming-challenge  
asked by Mast 16 votes
answered by Joseph the Dreamer 15 votes

C++ Shop Keeper Program

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 ...

c++ oop  
asked by Ryan Swann 16 votes
answered by Edward 20 votes

K&R 1-21 write an "entab" program

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. ...

c io formatting  
asked by ivan 15 votes
answered by Edward 14 votes

Credit Calculator

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 ...

java calculator finance  
asked by WXHXIXTE 15 votes
answered by Ben Aaronson 7 votes

Greatest hits from previous weeks:

Stack implementation using an array

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 ...

c array stack  
asked by Ace 7 votes
answered by Edward 13 votes

Converting seconds to hours, minutes and seconds

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 ...

java beginner datetime  
asked by Oompa Loompa 7 votes
answered by Martin R 12 votes

Can you answer these?

Helper functions to extract SEDE query results into more user-friendly format

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 ...

python python-3.x web-scraping stackexchange beautiful-soup  
asked by janos 4 votes

MAC1 simulator/debugger

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 ...

c++ simulation c++14  
asked by Edward 8 votes

Fetching all the project's items for a specific project id

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 ...

sql mysql join  
asked by Nutty Programmer 4 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3