Y
Hacker News
new
|
ask
|
show
|
jobs
by
tonnydourado
1102 days ago
Not sure what you mean by multidimensional states?
1 comments
hwayne
1102 days ago
The car can be in drive, neutral, or reverse, the light can be red, green, yellow, or broken, the seatbelt can be off or on. That's 24 states.
link
tonnydourado
1102 days ago
Ah, ok. That's kind of what I meant by upfront design, though. Yeah, mapping this out is gonna suck, but it's better than having it hidden in a bunch of ifs.
link