cmaster - reinstate monica's user avatar
cmaster - reinstate monica's user avatar
cmaster - reinstate monica's user avatar
cmaster - reinstate monica
  • Member for 8 years, 11 months
  • Last seen this week
182 votes
Accepted

Is there a specific reason for the poor readability of regular expression syntax design?

74 votes

Why use trailing newlines instead of leading with printf?

70 votes
Accepted

How do I edit a chain of if-else if statements to adhere to Uncle Bob's Clean Code principles?

35 votes

Should I add redundant code now just in case it may be needed in the future?

34 votes

Why are standard libraries not programming language primitives?

27 votes

Why don't programming languages automatically manage the synchronous/asynchronous problem?

25 votes

Should I initialize C structs via parameter, or by return value?

22 votes

Readability versus maintainability, special case of writing nested function calls

18 votes
Accepted

const reference and const pointer. How do they work?

17 votes

Is using nested function calls a bad thing?

17 votes

What's the difference between a variable and a memory location?

16 votes

Programming cleanly when writing scientific code

13 votes

In general, is it worth using virtual functions to avoid branching?

12 votes
Accepted

What does the "t" in int32_t signify?

10 votes

Should I create a class if my function is complex and has a lot of variables?

9 votes

Solutions for floating point rounding errors

8 votes

Why does integer division result in an integer?

8 votes

How do you avoid getters and setters?

8 votes

How to treat bugs that users thought were a feature?

8 votes
Accepted

How do you avoid endlessly iterating through equally sub-optimal designs?

7 votes

Are there known valid uses of SLOC to measure productivity?

7 votes

Clean Code comments vs class documentation

7 votes

How does garbage collection compare to reference counting?

7 votes
Accepted

Endianness at bit level

7 votes

How efficient is malloc and how do implementations differ?

6 votes

Should Objects with lots of fields be broken up?

6 votes

Why isn't lazy evaluation used everywhere?

6 votes

Why are data classes considered a code smell?

6 votes
Accepted

Should I use Array or Set if both can be used to finish my task?

5 votes

I never use pointers in my C++ code. Am I coding C++ wrong?