zlacker

[return to "A Look at Rust from 2012"]
1. raveni+8Gm[view] [source] 2025-12-03 18:25:15
>>todsac+(OP)

  continue was called loop for some reason
How strange! Does anyone know why?
◧◩
2. stevek+WLm[view] [source] 2025-12-03 18:52:33
>>raveni+8Gm
There was an early rule that Rust keywords should be five characters or less. I would guess it's because of this rule. I believe loop turned into cont to satisfy this rule, and then eventually we relaxed the rule, and it became continue.
◧◩◪
3. iknows+qVm[view] [source] 2025-12-03 19:39:40
>>stevek+WLm
Whoa, do you know who and why came up with that? So strange, making it less readable on purpose?
◧◩◪◨
4. Deflet+95r[view] [source] 2025-12-04 23:50:43
>>iknows+qVm
Probably for the same reason that most new language these days cannot bring themselves to just use "function" and instead have "fn", "fun", "func", etc. It's a headlong pursuit of conciseness for the sake of conciseness.
[go to top]