Barmar's user avatar
Barmar's user avatar
Barmar's user avatar
Barmar
  • Member for 10 months
  • Last seen this week
  • Arlington, MA
33 votes

Why would a language allow zero-size structs?

29 votes

Why do (or don't) languages forbid unreachable code?

17 votes

How could a language make the loop-and-a-half less error-prone?

13 votes

Pros and cons of semantically-significant capitalization

7 votes
Accepted

Why does the C library include fgetpos()/fsetpos() if the same functionality can be achieved with ftell()/fseek()?

7 votes

How do image-based languages deal with transient external references?

5 votes

Earliest implementation of pattern matching as a programming language feature

5 votes

What are the drawbacks of allowing implicit boolean/integer conversions?

5 votes

Why does C++ allow extra arguments to printf?

5 votes

Why would accessing uninitialized memory necessarily be undefined behavior?

5 votes

Distinguishing classes from structures

5 votes

Why do most languages use the same token for `EndIf`, `EndWhile`, `EndFunction` and `EndStructure`?

4 votes

What are the syntax options for implementing a ternary "if" operator?

4 votes

What was the rationale for making realloc(ptr, 0) have UB in C23

3 votes

When was our current definition of "undefined behavior" first used?

3 votes

Should bitwise operations have dedicated operators?

1 vote

What prevents languages from having arbitrary sized return data on the stack?

1 vote

What are the advantages and disadvantages of just-in-time compilation?

0 votes

Correctness of mixed signed/unsigned arithmetic