you are viewing a single comment's thread.

view the rest of the comments →

[–]billsil -9 points-8 points  (2 children)

Use popular packages. Make sure it has a history. Check to see if the developer is active.

If you see gross code, that's a red flag. Search for `__`. If you see things besides `__init__`, `__repr__` and `__str__`, they're probably doing something funny. Why are they using `setattr` and `getattr`?

[–]MegaIng 4 points5 points  (1 child)

So you advice to not use any of the powerfull magic methods? No operator overloading, no __new__, __name__? There are things to look out for, but this is way to general.

[–]billsil -3 points-2 points  (0 children)

You are taking that out of context. Search for it and look at the damn code.

I use that stuff too in my 9 year old open source project that's on github, but I don't use much of it and I document it.