Better HN
topnewbestaskshowjobs
Log inSign up

throwaway2j94

5 karma · joined Oct 31, 2022 (4y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

goto/if/switch have their uses (especially in C) but I consider them low level and deprecated in favor of pattern matching, expression-based loops, and fmap / map/reduce combinators.

comment 4y ago · link · parent

They are expressions in rust

    fn main() {
        let () = return ();
    }