3 ms·
What's the difference between mistyping in the string here and mistyping in the struct definition? And yes I have.
by dundarious 1y ago
What's the difference between mistyping in the string here and mistyping in the struct definition? And yes I have.
- olalonde 1y agoYou only need to get it right once, and from then on the compiler will catch any mistakes if you use it incorrectly. In contrast, every time you write obj.get_attr("DesiredSpeed"), there's a chance you'll make a typo and the compiler won't warn you about it.