Re:Routes don't look flat enough to me
by dgreensp on Tuesday February 14, 2023 @03:12AM
(#34786775)
Simple, readable, type-checked code in TypeScript: https://www.typescriptlang.org/play?target=6#code/C4TwDgpgBA...
[ Parent
| on HN ]
To have parity with the original article, now do it without recursion / bounded stack depth because you're worried that your data might blow out the stack.
Re:Routes don't look flat enough to me
by dgreensp on Tuesday February 14, 2023 @08:51PM
(#34799042)
I thought about it, but it's just so unmotivated in this case. URLs would have to be hundreds of path segments long.