This is a fair point 😉 , fortunately in my case I’m the only one to see/modify the code
Sent from Mail for Windows 10 From: Marcus Ottosson Sent: Saturday, March 17, 2018 6:17 PM To: [email protected] Subject: Re: [Maya-Python] Why most people use boolean flagsinsteadofcatchingthe MPlug ? because “ it has always been done that way” Not to argue (though you make it very tempting to do so!), but even if this were true then even it has its merits, as it invokes the POLA and turns into convention. It means the reader of your code won’t have to think twice when coming across your boolean, which they would otherwise have to do if you chose to do it differently. ;) -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOByUfJ%3DmB5-xaz%3Dwg1q9WsuvW6iC46jyKu-xfNh7T8dbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5aad5cdb.081d1c0a.905f3.11b5%40mx.google.com. For more options, visit https://groups.google.com/d/optout.
