|
|
|
|
|
by filipncs
1575 days ago
|
|
I, on the other hand, am not in any way put off by someone not trying to answer every single part of a comment, when it starts out with "Odin seems like a bunch of features copied from a bunch of different languages without making sure they're (a) good and (b) consistent"! |
|
> Things like ranges being `1..5` in one context but `1:5` in another
Is this true? Perhaps illustrate why "Slice expressions and range expressions [are] different was on purpose, as they are very different operations semantically". You should be able to clear that up easily by pointing to the language overview or something.
> but still having classic for loops which ranges almost completely obsolete
Is this unreasonable? And
> but why add the latter syntax to the language anyway, then tell people not to use it?
Same. If there are good reasons there should be good (and simple) explanations.
Questions like these should be an opportunity to clarify the whys of the language. Ignoring them is discouraging.