Re:I Hate the Letter F
by evmar on Saturday October 19, 2024 @03:01AM
(#41886168)
With Rust you could get by with "match bool { true => ..., _ => ... }" and "loop { ... break }" I think.
[ Parent
| on HN ]
But you would not be able to define functions.
`unsafe` code is a little bit tough since the keyword have an F, unless there's another way to create unsound code by abusing rustc.
Re:I Hate the Letter F
by notpushkin on Saturday October 19, 2024 @03:15AM
(#41886216)
Yeah, using a language with pattern matching should do the trick. Maybe OCaml or even F#.
rimshot