Closed uselessgoddess closed 3 years ago
Give a more detailed example of what do you suggest?
std::cout << Range{1, 10}; // [1..10]
Instead [1, 10]
I use [1, 10]
because this Range have exactly the same meaning as interval from mathematics.
Also mathematics style
Well, I didn't see [a .. b]
notation when I was learning in school. We have to make research that will show which of these options is more common.
So many people think that my style is better
So many people think that my style is better
That is not enough.
We can use Rust-style (no python) for string view
Also
[x, y]
is pair-like array view