Code Review Weekly Newsletter
Code Review Weekly Newsletter

Top new questions this week:

To 'this' or not to 'this'?

I was given a homework and I have 2 solutions: one that uses this and other one that doesn't. I tested it on jsPerf but sometimes it says the version with this is faster or sometimes the other one. ...

javascript oop functional-programming homework comparative-review  
asked by Rahul Desai 19 votes
answered by Retsam 27 votes

Hooked on Windows

The code that was just added to Rubberduck will allow us to set up hotkeys for our features, so that next release, Ctrl+Shift+R brings up the refactor/rename dialog, for example. The requirements ...

c# rubberduck winapi com  
asked by Mat's Mug 17 votes
answered by Heslacher 17 votes

You have no respect for logic

Inspired by Hosch250, TopinFrassi, Legato and the recent milestone of having our 100th fizzbuzz question on Code Review I decided to add an ArnoldC FizzBuzz to the collection. I haven't found any ...

fizzbuzz arnoldc  
asked by Mast 14 votes

SI unit converter

I recently started "coding" and this is one of my first "projects". It is supposed to be an SI converter where you can type a value, its unit and the unit to which you want it to be converted. using ...

c# beginner converting  
asked by BatmanB. 14 votes
answered by πάντα ῥεῖ 14 votes

Project Euler 6: Difference between sum of squares and square of sum

I've created a (very) simple solution for Project Euler problem 6: Project Euler Problem 6: Sum square difference The sum of the squares of the first ten natural numbers is, $$ 1^2 + 2^2 ...

programming-challenge functional-programming f#  
asked by EBrown 12 votes
answered by mjolka 8 votes

"Welcome to Buzzway Subs!"

There were a few recent questions which had a challenge like this: The subway shop provides catering for meetings and other events. All sandwich platters are $40 each. Cookie platters are $20 ...

c# beginner io  
asked by Phrancis 12 votes
answered by Hosch250 12 votes

One program using three functions to compare two double-precision numbers

I am currently learning C++ though Bjarne Stroustrup book Programming Principles and Practices using C++. Going through the drills, I am trying to purposefully write efficient and readable code (good ...

c++ beginner c++11 floating-point  
asked by user36278 11 votes
answered by Deduplicator 12 votes

Greatest hits from previous weeks:

Snake game in C++

This is my version of the Snake game, written in C++. How could it be improved, and what general advice would be useful for future projects? #include <iostream> #include <conio.h> void ...

c++ beginner game  
asked by TheKittyKat 21 votes
answered by Yann 21 votes

SerialPort class for a library

I've been working a lot recently with SerialPort in C# and I've come up with the following class as part of a class library I'm working on for another program. My question is, are there any more ...

c# serial-port  
asked by DanteTheEgregore 9 votes
answered by Andyz Smith 10 votes

Can you answer these?

RxJS Subscription Service in Webworker

Here is a plunker of my working demo. I have the following code which I have created for a subscription service for data through a webworker. I was wondering if I was following functional-reactive ...

javascript jquery functional-programming observer-pattern frp  
asked by John 3 votes

Am I using ReactiveCocoa the "right" or most "purely functional" way in this Document class?

Introduction I am still learning both swift and ReactiveCocoa, and instead of directly applying it to one of my projects, I have instead worked a few hours on implementing a silly form with it. My ...

swift reactive-cocoa  
asked by tacos_tacos_tacos 3 votes

N Processing connect to a single process: Socket Programming

The idea of my program is to use pthreads, semaphores, posix shared memory, and sockets to create an environment where N processes (that we will refer to as the children) can connect to a single ...

c multithreading socket pthreads posix  
asked by user3337714 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