Skip to main content
Erik Eidt's user avatar
Erik Eidt's user avatar
Erik Eidt's user avatar
Erik Eidt
  • Member for 11 years, 10 months
  • Last seen this week
149 votes

Is source code generation an anti-pattern?

119 votes
Accepted

Why is inheritance bad in a Person-Student model?

95 votes
Accepted

How does a single thread run on multiple cores?

93 votes

Why do we still grow the stack backwards?

76 votes
Accepted

Will a computer attempt to divide by zero?

69 votes
Accepted

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

59 votes

Why do we need a Builder class when implementing a Builder pattern?

54 votes

Why do you have to specify the data type when declaring variables?

52 votes

Is using "new" in the constructor always bad?

47 votes

Having a flag to indicate if we should throw errors

44 votes

Why does C++ have 'undefined behaviour' (UB) and other languages like C# or Java don't?

36 votes
Accepted

Does it make sense to create blocks just to reduce a variable's scope?

36 votes

Are stacks the only reasonable way to structure programs?

35 votes

How can an interpreter run code without translating into machine code?

31 votes
Accepted

Why are standard libraries not programming language primitives?

27 votes

Why is using MySQL for a dictionary website a bad idea?

23 votes

What is a type system?

22 votes

Is it unreasonable to expect Any() *not* to throw a null reference exception?

19 votes

Why are unsigned numbers implemented?

19 votes
Accepted

Duplicating constants between tests and production code?

19 votes
Accepted

Shipping test code. Why wouldn't you?

18 votes

Is it possible for two variables to point to the same piece of memory?

17 votes

Why is C/C++ main argv declared as "char* argv[]" rather than just "char* argv"?

16 votes
Accepted

Why does Swift need witness tables?

16 votes

How important is it to clearly understand requirements and architecture before starting to code?

15 votes
Accepted

Why shouldn't static methods be able to be overrideable?

15 votes

How does GDB pause an execution

15 votes
Accepted

Is there any benefit to to define constant local variables as static ( c++)?

14 votes

Why C allows multiple global declarations of the same variable but NOT multiple local declarations?

14 votes

Why don't constructor return bool to indicate its success or failure without having to throw an exception?

1
2 3 4 5
26