Stefan-Endres / shgo

Simplicial Homology Global Optimization
https://stefan-endres.github.io/shgo
MIT License
44 stars 12 forks source link

"type(thing) is" is an antipattern #23

Closed alchemyst closed 3 years ago

alchemyst commented 6 years ago

We should not be checking for explicit type membership, but rather use isinstance.

Discussion