3 ms·
Don't you have to bounce around code to figure out what the TypeDef refers to anyway? Instead of using a well named TypeDef, wouldn't you get the same effect wi
by wtetzner 11y ago
Don't you have to bounce around code to figure out what the TypeDef refers to anyway? Instead of using a well named TypeDef, wouldn't you get the same effect with a well named variable?
- pasas 11y agoSometimes, but PassengerVec at least gives you a lot more indication (including whether it's a pointer or reference as they have to be declared along with it) than: auto passengers = getPassengers();
- andresmanz 11y agoWoah, that line immediately reminds me of JavaScript at work, and one of the reasons why I don't like it.