JoJo's user avatar
JoJo's user avatar
JoJo's user avatar
JoJo
  • Member for 12 years, 6 months
  • Last seen more than 4 years ago
  • United States
46 votes
7 answers
28k views

When would polling for events be better than using observer pattern?

21 votes
7 answers
3k views

Should a function use premature returns or wrap everything in if clauses? [duplicate]

14 votes
8 answers
593 views

Styling compound AND / OR if statements

10 votes
4 answers
2k views

How can a child state machine relinquish control back to the parent state machine?

10 votes
5 answers
26k views

What are the advantages of the delegate pattern over the observer pattern?

7 votes
3 answers
1k views

What are the disadvantages of naming things alphabetically?

7 votes
2 answers
4k views

Should all, none, or some overridden methods call Super?

6 votes
2 answers
4k views

How to name a private method in a language which doesn't support privacy?

6 votes
1 answer
546 views

"Super" vs "protected method" for running common code

3 votes
2 answers
945 views

How do I reuse a state machine in a slightly different way?

2 votes
1 answer
293 views

What does it mean to drop support for Internet Explorer 6? [closed]

1 vote
3 answers
3k views

What design pattern do you use to support graceful fallback on old platforms?

1 vote
1 answer
267 views

Observer pattern for unpredictable observation time