3 ms·
The article isn't well informed ... e.g., it says "In all the languages I know of, you can't break out of a loop from an inner loop" but you can do so in all th
by jibalt 4y ago
The article isn't well informed ... e.g., it says "In all the languages I know of, you can't break out of a loop from an inner loop" but you can do so in all the languages it mentions at the top: Rust, Zig, and Myrddin, as well as many others.
- UncleEntity 4y agoI was thinking the same thing where Java has had this since 1995 but was too lazy to look it up to make sure. No language I actually use has it but I know about it from playing around with a java 1.1 parser project I’ve been slowly working on.
- wchar_t 4y ago(Author here.) Fair enough, I should have done my research on that. I had barely touched Myrddin, was just beginning to look into Zig, and hadn't heard of (or felt the need for) that feature in Rust at the time I wrote that post.