Re:Minimal examples of data structures and algorithms in Python
by orf on Monday April 24, 2017 @07:14PM
(#14189311)
No, it's not a particularly pythonic thing to do, but it's not uncommon to have a bass class with some methods that should be implemented by children and throw an exception if not. That's not quite an interface as Java has it though.
Interface.py follows a pattern Ive seen in Java but not in Python. Am I simply too much of a Python noob?