Skip to main content
Barmar's user avatar
Barmar's user avatar
Barmar's user avatar
Barmar
  • Member for 11 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?

18 votes

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

15 votes

Are there any languages where conditions are not first-class expressions?

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?

6 votes

Earliest implementation of pattern matching as a programming language feature

6 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`?

5 votes

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

5 votes

Why does C++ allow extra arguments to printf?

4 votes

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

4 votes

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

3 votes

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

3 votes

Should bitwise operations have dedicated operators?

1 vote

The static keyword and clarity in language design

1 vote

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

1 vote

How do you correctly compile the chained comparison operators like ones that exist in Python (`a < b < c`), if `b` might have side-effects?

1 vote

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

0 votes

Can something like a Donkey Sentence exist in a programming language?

0 votes

Correctness of mixed signed/unsigned arithmetic