Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ljsb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ljsb
3y ago
Dollar Cost Averaging a lump sum might reduce your risk while you're averaging in, but why weren't you happy with the risk/return profile in the first place? And are you happy with increasingly higher risk/return as you
2.
▲
by
ljsb
3y ago
I can't think of any practical way to do that without macros, unfortunately. I've found incremental compilation to be pretty speedy for small markup changes so far though. I do tend to put the presentation code in it's own cr
3.
▲
by
ljsb
3y ago
I hope it's OK to add a shameless plug for my Rust WASM framework, Silkenweb [0]. It's similar to Leptos and Sycamore in that it's signals based, but I've put a lot of effort into making it ergonomic without resorting to
4.
▲
by
ljsb
3y ago
You were pretty close with your hypothetical syntax! You can write: let Some(y) = x else { do_stuff(); return }; I think it was a fairly recent addition to Rust.