Code Review Weekly Newsletter
Code Review Weekly Newsletter

Top new questions this week:

DailyProgrammer 284: Wandering Fingers

Description Software like Swype and SwiftKey lets smartphone users enter text by dragging their finger over the on-screen keyboard, rather than tapping on each letter. You'll be ...

c# performance programming-challenge  
asked by px06 22 votes
answered by RobH 10 votes

Simple CodeReview Questions Notifications for OSX

Some days ago, I figured out that I'd like to get a notification every time a new question is asked here. So, I've made a really simple Python script, which uses pync (only OSX compatible) to do that ...

python python-3.x stackexchange macos  
asked by Dex' ter 11 votes
answered by Mathias Ettinger 8 votes

Sum two integers, unless they are the same, in which case return double their sum

I was doing a simple problem on codingbat and testing out my python. The problem was: Given two int values, return their sum. Unless the two values are the same, then return double their sum. ...

python comparative-review  
asked by Guest 9 votes
answered by Joe Wallis 20 votes

Wrapping COM objects with IDisposable

One of the things believed to contribute to destabilizing Rubberduck 2.x, is the fact that a lot of COM object references are stored in many places, and Marshal.ReleaseComObject is never called for ...

c# .net rubberduck wrapper com  
asked by Mat's Mug 8 votes
answered by Vogel612 4 votes

ASCII-based snake game in C++

I have recently finished developing my ASCII based snake game. As a newbie to C++ I would appreciate it if I was given feedback as to how I could improve my code when it comes to efficiency and ...

c++ beginner snake-game  
asked by James Balajan 8 votes
answered by Zeta 6 votes

Password Validation in Python

I coded a python solution for the question below. I am after the fastest solution. Also, I would be grateful if you could point out parts that are not pythonic / inefficient. Question: A website ...

python performance strings validation  
asked by Zhubarb 8 votes
answered by Joe Wallis 12 votes

Is the string a pangram?

The following code checks if a string is a pangram or not: public static class StringExtensions { public static IEnumerable<char> EnglishAlphabet { get { for ...

c# algorithm strings programming-challenge  
asked by Gentian Kasa 7 votes
answered by janos 7 votes

Greatest hits from previous weeks:

Select first value if exists, otherwise select default value

Given an instance of SQL Server, imagine there's a table named Configuration, which has three columns: ID, Name, and Data. There should be no duplicate rows for Name. Now imagine that you want to ...

sql sql-server t-sql  
asked by Panzercrisis 14 votes
answered by Serpiton 14 votes

Sorting an HTML table with JavaScript

The following code sorts an HTML table with JavaScript (without using any external libraries like jQuery). Are there any shortcomings or possible improvements I could make? <html> ...

javascript html sorting  
asked by Sharanya Dutta 9 votes
answered by ProGM 7 votes

Can you answer these?

Cache conscious SIMD matrix multiply of unsigned integers

The goal of the code review by order of importance (i.e. What I hope to hear from you): I've verified correctness using a straightforward matrix multiply function though I am open to those who want ...

c matrix sse simd  
asked by Franco Solleza 4 votes

A Version 4 UUID Implementation

I've been toying around with writing a decentralized, P2P application in REBOL 2, and one of the things I need to do is generate a universally unique identifier for users. I have written a function ...

random formatting rebol rebol2  
asked by Brian Otto 6 votes

~600k external API requests

I have a CSV containing ~600k partnumbers to be uploaded to my website's inventory. However, this CSV only contains limited information. We're missing pricing and other related information. To get ...

python csv api multiprocessing  
asked by Ryan Scott Cady 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