3 ms·
He's right. For a local variable that's only going to survive a half dozen lines? I'd use your buddy's name over yours. For a class member or anything with a l
by jasonkester 11y ago
He's right. For a local variable that's only going to survive a half dozen lines? I'd use your buddy's name over yours.
For a class member or anything with a long life, I'd use something longer and more descriptive than yours. We already know it's an MP3 from the type. The name can tell us what it's used for:
MusicMP3 nextTrack = new MusicMP3();