3 ms·
That's how they do it in Ruby, but in a language with a different grammar, you could parse '2' as a different datatype depending on how it's being used. In any
by icebraining 13y ago
That's how they do it in Ruby, but in a language with a different grammar, you could parse '2' as a different datatype depending on how it's being used. In any case, the Rust example is fairly clean, since it only injects the methods for the code that loads the Period trait.