Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tuix
on Oct 28, 2016
|
parent
|
context
|
favorite
| on:
How to Get Fired Using Switch Statements and State...
The Duff's device example is incorrect. In n%4, the value of n before n=(n+3)/4 should be used, not after that.
robertelder
on Oct 28, 2016
[–]
Thanks, I modified it from an example one but introduced some mistakes. I've corrected it and tested it this time.
Applications are open for YC Summer 2023
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: