TransWikia.com
  1. All Categories
  2. Code Review

Code Review : Recent Questions and Answers (Page 16)

Find answers to your questions about Code Review or help others by answering their Code Review questions.

A proxy replacement for getters and setters

Have you ever written proxy objects, instead of using a setter and a getter method? In that case, I'm interested in your opinion on the following design for a templated...

Asked on 10/27/2021

2 answer

Checking String with is_numeric in C

I am a newbie in stack exchange code review. I just wrote a C function where the function checks if the given string is numeric or not. What do you...

Asked on 10/27/2021 by ndogac

2 answer

Use case of nesting an enum into a struct

At our office there is this piece of code (the original author isn't employed anymore, so I can't ask him). Does anybody have an idea, what he did there? Is...

Asked on 10/27/2021 by Matthias Burger

2 answer

I have a input grid with more than 40 input-fields hardcoded

I am new to flutter and i managed to build a working Grid which does what i want it to do but the code is a duplicated hell and i...

Asked on 10/27/2021 by Darjusch

1 answer

Is there a better way to avoid repeated 'Len == 1' when interpreting booleans from strings?

My solution to string interpretation is pretty fast. However, I worry about repeated if (Len == 1). That might make the function bigger in the executable. How can I improve...

Asked on 10/27/2021 by user227432

1 answer

Reload configs in memory basis on a trigger efficiently

(following up from here) I am working on a little project where I need to scan all the config files present in a folder on the disk and load...

Asked on 10/27/2021 by dragons

1 answer

Swift Struct-based Factory Pattern

Edit: I added another configuration vector to CardView, a size attribute, which may be .small or .medium. As such, I had to refactor the design to create several descendent protocols...

Asked on 10/27/2021

0 answer

Memoizing a tree's parent pointers in Python

I have a simple binary tree that has no parent pointers.class Node: def __init__(self, val=0, left=None, right=None): self.val =...

Asked on 10/27/2021 by Mark Karavan

1 answer

College Billing System - Java

I developed a college fee report generator application using Java with internet as referance,but now I need you guys help in making it more obvious and a sturdy application as...

Asked on 10/27/2021 by ashwin2125

2 answer

Creating a Chart Worksheet from scratch with VBA / OOP Design

I recently posted some code for review, and am now looking to gather some feedback on my latest implementation with that code. Yes, I have fallen into the OOP...

Asked on 10/27/2021 by Jose Cortez

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP