Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eboody
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
eboody
2y ago
Great question! If i understood you correctly, you’re asking about creating a `Vec` of state machines and operating on them. With the type-state pattern, this can be tricky because each state is a distinct type (`Light<Off>` and `Ligh
2.
▲
Statum: Zero-Boilerplate Compile-Time State Machines in Rust
(github.com)
23 points
by
eboody
2y ago
|
4 comments
3.
▲
by
eboody
2y ago
Hey Rustaceans! I've created a library called *Statum* for building type-safe state machines in Rust. It ensures invalid state transitions are caught at *compile time*, giving you extra safety with minimal boilerplate. --- ## Quick Exa
4.
▲
Ask HN: Why Isn't Rescript More Popular in JavaScript Community?
2 points
by
eboody
3y ago
|
2 comments
5.
▲
by
eboody
4y ago
Sorry :/
6.
▲
by
eboody
13y ago
I whole heartedly disagree. The supreme court may have changed things here and there, the intention of our finding fathers is right there in plain English. I think anyone can understand what our finding fathers were trying to achieve when y