3 ms·
I think let i,j,k : int; is pretty clear. Although I'm not convinced that declaring multiple variables like this should be allowed at all. Imo it's cleare
by nicoburns 8y ago
I think
let i,j,k : int;
is pretty clear. Although I'm not convinced that declaring multiple variables like this should be allowed at all. Imo it's clearer to declare them seperately when they're used.
For example:
for (let i in 0..n) {
for (let j in 0..i) {
// do stuff
}
}