News for hackers. Stuff that matters.
Re:Rust, Ruby, and the Art of Implicit Returns by steveklabnik on Thursday January 04, 2024 @03:46PM (#38872024)
Thank you, and yeah, I didn't even think about that aspect of it too, but you're right. I think the reason it's a popular formulation of the semantic is that it's kind of like, trying to describe it from a statement-oriented viewpoint, and there's certainly value in trying to help bridge an understanding gap by relating it to things that you know. But I worry that it either gives the wrong impression (heck I would hate true "implicit returns" too!) or that people tend to stop there as opposed to truly making the mental shift. This stuff is hard!

There are no comments on this comment yet.