| bio | website | |
|---|---|---|
| location | United States | |
| age | ||
| visits | member for | 2 years |
| seen | Feb 18 at 20:10 | |
| stats | profile views | 31 |

|
May 17 |
awarded | Yearling |
|
Feb 18 |
awarded | Critic |
|
Feb 18 |
comment |
Is browser fingerprinting a viable technique for identifying anonymous users? The number of iPhones and iPad models is diverging. |
|
Jan 28 |
awarded | Popular Question |
|
Dec 2 |
asked | What are the advantages of the delegate pattern over the observer pattern? |
|
Jul 17 |
accepted | How do I reuse a state machine in a slightly different way? |
|
Jul 6 |
asked | How do I reuse a state machine in a slightly different way? |
|
Jun 24 |
accepted | Observer pattern for unpredictable observation time |
|
Jun 23 |
comment |
Observer pattern for unpredictable observation time I don't know what the standard is. Is the standard to be notified of future events only or is it standard to be notified when someone subscribes late? |
|
Jun 23 |
comment |
Observer pattern for unpredictable observation time For the standard observer pattern, do programmers expect this behavior upon subscription? If not, then should I create two subscription functions - one just like your example, and another to only publish future events? |
|
Jun 23 |
asked | Observer pattern for unpredictable observation time |
|
Jun 1 |
accepted | What design pattern do you use to support graceful fallback on old platforms? |
|
Jun 1 |
comment |
What design pattern do you use to support graceful fallback on old platforms? In my actual project, there are a ton of places where I need to style the user interface differently for different operating system versions. It's not only one if-else. |
|
Jun 1 |
comment |
What design pattern do you use to support graceful fallback on old platforms? I like this one. Is it called the Encapsulate-into-a-function pattern? :p |
|
May 31 |
comment |
What design pattern do you use to support graceful fallback on old platforms? @BryanOakley This happens quite a lot in Objective-C when programming for different iOS versions. Apple often likes to deprecate APIs and replace them with a new APIa that are not backwards compatible. |
|
May 31 |
comment |
What design pattern do you use to support graceful fallback on old platforms? I think you need more than just Strategy Pattern. At a higher level, you need a Factory. This factory takes in a platform version. If the platform version is high enough, return the high platform strategy, else return the low platform strategy. |
|
May 31 |
asked | What design pattern do you use to support graceful fallback on old platforms? |
|
May 17 |
awarded | Yearling |
|
Apr 12 |
comment |
What are the disadvantages of naming things alphabetically? @vitalik It will be even harder working in a Chinese company where they write kanji vertically. |
|
Apr 8 |
accepted | What are the disadvantages of naming things alphabetically? |