Skip to content

Comment on Rust 0.4 releasedparent

Comments

IMO, return is pretty standard and most people are familiar with it or get it right the way. Ret requires extra mental parsing at first.

With editor's code completion, it's really no big deal with the extra 3 chars. Alt-/ does the magic in Emacs.

Also people who really don't like the typing can use the implicit return expression.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.