3 ms·
There are probably better ways to achieve this than some pseudo-Hungarian notation on method signatures, right? I'm predisposed to agree with you but I would h
by pc86 5y ago
There are probably better ways to achieve this than some pseudo-Hungarian notation on method signatures, right?
I'm predisposed to agree with you but I would hate looking at code and seeing method signatures like DoThingString(string), DoThingInt(int), etc.
- galaxyLogic 5y agoThose look clumsy but you would only use something like that when in fact you define a similar but not the same operation for Strings and Integers. And then the argument-type-suffix would look more natural. For instance: saveInt (i) saveString(s) saveBox(box) saveCat (cat) And then it might make more sense to define classes Box and Cat and say: box.save() cat.save()