Code Review Weekly Newsletter
Code Review Weekly Newsletter

Top new questions this week:

class fizzbuzz():

This is now an iterative review. The next iteration can be found here. Yep. Fizzbuzz in Python. I've been coding in Python for all of 90 minutes. Thoughts? Program Flow Take a start_num and ...

python beginner python-3.x fizzbuzz  
asked by Kaz 12 votes
answered by Caridorc 15 votes

Game of Tic-Tac-Toe

Here is a game of tic-tac-toe I created to run in python 2.7. I am still learning and feel 400+ lines of code is a bit lengthy for such a small application. However, trying to get some feedback on how ...

python beginner python-2.7 tic-tac-toe  
asked by Shizzle 10 votes
answered by TheBlackCat 5 votes

RattleHiss (fizzbuzz in python)

This is an iterative review. The previous iteration can be found here. The next iteration can be found here I've now been programming in python for all of 4 hours. At 70 lines it's rather verbose ...

python beginner python-3.x fizzbuzz  
asked by Kaz 9 votes
answered by Mathias Ettinger 13 votes

Successful use of strtol() in C

Attempted to use strtol() to parse a string into an integer and to output any appropriate error messages for failed conversions. How did I do? How could/should it be done? Code works as intended if I ...

beginner c integer  
asked by chris360 8 votes
answered by cat 13 votes

What's the optimal 'pythonic' way to make dot product of two lists of numbers?

I just filled in the first assignment on course which involves learning Python. The assignment was to make vector class which supports scalar multiplication through operator overloading. The ...

python beginner python-3.x homework  
asked by Tomáš Zato 8 votes
answered by Caridorc 14 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

Greatest hits from previous weeks:

Grouping elements in array by multiple properties

During work, I was given this task: to group elements with similar properties in the array. In general, the problem is as follows: var list = [ {name: "1", lastname: "foo1", age: "16"}, ...

javascript sorting properties  
asked by Saike 22 votes
answered by konijn 25 votes

Pong game in Java

I have recently written the following Pong game in Java: Pong class: import java.awt.Color; import javax.swing.JFrame; public class Pong extends JFrame { private final static int WIDTH = 700, ...

java game swing  
asked by LazySloth13 13 votes
answered by ZeroOne 13 votes

Can you answer these?

Javascript menu with dropDown and Slide effects

Over the last couple of weeks we build a huge Javascript menu. And we might think the whole code is a little bit too much. We are not pros, but came to a quit acceptable solution. (yeah it´s German, ...

javascript jquery html css jquery-ui  
asked by maxal95 3 votes

React/Redux 401 Middleware

I'm trying to create an API middleware which will react to every 401 response from the API. I've tried to search for possible solutions, but I'm kinda lost here. I have created a special 401 response ...

javascript react.js redux  
asked by James 2 votes

AES Encryption/Decryption

Where I currently work I'm tasked with writing a good encryption and decryption code which will have DEK as well as KEK. Haven't started on KEK yet. I have already told them, that we need expert help, ...

java algorithm cryptography aes  
asked by anonymous 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