Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
paulgb
on May 13, 2019
|
parent
|
context
|
favorite
| on:
Ask HN: What overlooked class of tools should a se...
State machines. They can be a helpful abstraction for UI or business logic, and they also make regular expressions make a lot more sense.
jimpudar
on May 13, 2019
[–]
Yeah, far too often people create horrific spaghetti code of if/else statements which could be neatly coded as a state machine. This is a very important concept to grasp.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: