Re:Rustc: Add do yeet expressions to allow experimentation i...
by ChrisSD on Friday May 06, 2022 @12:45AM
(#31281412)
Note that this is a serious language proposal, but with a funny placeholder name so as to avoid bikeshedding until the feature is ready.
[ Parent
| on HN ]
Re:Rustc: Add do yeet expressions to allow experimentation i...
by JoshTriplett on Friday May 06, 2022 @04:52AM
(#31282935)
Exactly. We have general agreement that we want this feature, and several different opinions on what it should or shouldn't be called, and we wanted to enable experimentation without blocking on the naming discussion. (We'll have to have that discussion at some point.)
Re:Rustc: Add do yeet expressions to allow experimentation i...
by golergka on Friday May 06, 2022 @02:55AM
(#31282115)
Rust seem to be doing a lot of things right not only from language design or memory safety, but also from project management perspective.
Re:Rustc: Add do yeet expressions to allow experimentation i...
by dgb23 on Friday May 06, 2022 @03:04AM
(#31282188)
Would be fun if they'd stick with it regardless.
Re:Rustc: Add do yeet expressions to allow experimentation i...
by jeroenhd on Friday May 06, 2022 @08:24AM
(#31284310)
In Rust, macro calls end in an exclamation mark (println!, try!).
Even if the Rust devs pick throw as a keyword, I'm 100% sure someone will write a macro that will allow you to write yeet! instead.
I'm 66% sure that this macro will end up being included in the dependency chain of a common framework as well…
Re:Rustc: Add do yeet expressions to allow experimentation i...
by littlestymaar on Friday May 06, 2022 @04:28AM
(#31282780)
That's exactly what happened to Linux Mint's Warpinator the name was purposely chosen to be stupid as a temporary placeholder, and then they ended up sticking with it.
Re:Rustc: Add do yeet expressions to allow experimentation i...
by MawKKe on Friday May 06, 2022 @07:40AM
(#31283952)
nothing is more permanent than a temporary solution
Re:Rustc: Add do yeet expressions to allow experimentation i...
by monkeybutton on Friday May 06, 2022 @07:56AM
(#31284080)
I wonder what's going to happen with dark matter and dark energy once physicists have it figured out. They'll give the discoveries proper names followed by media and pop culture using "Dark X" for the next few decades?
Re:Rustc: Add do yeet expressions to allow experimentation i...
by umanwizard on Friday May 06, 2022 @09:53AM
(#31285098)
No it wouldn’t. I use rust for work which is frustrating enough without jokey meme bullshit.
One of the most obnoxious things is people forcing other people to partake in their own sense of humor.
Re:Rustc: Add do yeet expressions to allow experimentation i...
by dathinab on Friday May 06, 2022 @09:38AM
(#31284921)
It also massively reduce the risk of ofissication as with "yeet" it's pretty clear that you code will brake in the future ;)
Re:Rustc: Add do yeet expressions to allow experimentation i...
by umanwizard on Friday May 06, 2022 @09:52AM
(#31285086)
It’s not a funny placeholder name, it’s an annoying and extremely cringey placeholder name.
Re:Rustc: Add do yeet expressions to allow experimentation i...
by throwaway894345 on Friday May 06, 2022 @10:07AM
(#31285265)
They thought a placeholder name would stop you from bikeshedding? You showed them.
Re:Rustc: Add do yeet expressions to allow experimentation i...
by umanwizard on Friday May 06, 2022 @10:19AM
(#31285421)
Indeed.