Code Review Weekly Newsletter

Code Review newsletter

Top new questions this week:

Standardly deviated Fibonacci

I'm new to C++ (about 4 weeks with no prior programming experience in other languages) and am writing a program that's supposed to do the following: Define an array of 100 sequential numbers of type …

c++ beginner fibonacci-sequence statistics overloading  
asked by Elizabeth C. 20 votes
answered by Edward 16 votes

What are some indicators that I was over-thinking my solution to this problem?

This question is a cross between career question and a code review. I was uncertain where to ask, but since there is code involved I went with CodeReview. I’m going through the process of technical …

c# unit-testing regex interview-questions  
asked by Iris Classon 18 votes
answered by Xiaoy312 15 votes

Look 'ma, I can read code

I have put together a naive implementation of a VB6/VBA parser, and I'd like to see if the CR community sees the same things as I see can be improved with this code, before I start refactoring. I've …

c# parsing reinventing-the-wheel  
asked by Mat's Mug 15 votes
answered by NotPro 9 votes

Sudoku solver in C++

Some time ago, this question was posed, asking for help in optimizing a Sudoku solver implemented in C++. I decided to reimplement the code using C++11, but without guessing. That is, this Sudoku …

c++ c++11 sudoku community-challenge rags-to-riches  
asked by Edward 13 votes
answered by Loki Astari 5 votes

Nokogiri crawler

The following code works but is a mess. But being totally new to Ruby I have had big problems trying to refactor it into something resembling clean OOP code. Could you help with this and explain what …

beginner oop ruby sql web-scraping  
asked by Dave Gordon 12 votes
answered by 200_success 2 votes

List all possible numbers from a given array that sums up to a given number

I have to solve the following problem: Given an array of integers and given an integer value, list all possible numbers frm the array that sums up to the given value. Example: Input: array = {1, 2, …

java recursion interview-questions  
asked by user3371223 10 votes
answered by toto2 8 votes

Is there any way to speed up this stored procedure?

Is there any way to optimize this stored procedure? Maybe something instead of so many joins? It takes some time to execute. Maybe there are other options that I could look into? SET ANSI_NULLS …

sql sql-server  
asked by Kamil Wasyl 10 votes
answered by Malachi 9 votes

Greatest hits from previous weeks:

Simple Java calculator

I am a beginner in Java programming. Here is my simple calculator. I hope you could scan through my coding and let me know if there is any error in my coding or how I could simplify the code. import …

java beginner  
asked by Isaac 11 votes
answered by Vojta 12 votes

File Browser GUI

FileBro is a basic GUI based File Browser. FileBro Functionality Directory tree - shows the file system roots at start-up, but is otherwise built lazily as the user browses around the file …

swing java  
asked by Andrew Thompson 45 votes
answered by Hovercraft Full Of Eels 18 votes

Can you answer these?

HTML Pencil: an online HTML editor with real-time preview

HTML Pencil is an online HTML editor created for modern browsers. Please review the source code and provide feedback: <!DOCTYPE html> <html lang="en"> <head> <meta …

javascript html css  
asked by Mori 2 votes

Finding all paths from a given graph

I need to find all paths from a given graph. I can do that for now, however my recursive code is not efficient and my graphs are very complicated, hence I need a better algorithm. def …

python algorithm graph  
asked by genclik27 5 votes

Catch-style unit testing in JavaScript (phase 2)

Continued from phase 1; please read it first for background. Overview This phase focuses on assertions. Here's where things get ugly. Catch uses macro expansions to decompose assertion …

javascript unit-testing  
asked by Dagg 2 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