Open utterances-bot opened 2 years ago
Great article! Is "src" a python package?
Yes, but in the sense that its something you can pip install. It's just a directory where I put my code. You can find an example here.
Thank you, Eugene! Great read.
For the adapter pattern, I'm not quite understanding the definition, "the adapter pattern increases compatibility between interfaces".
In your pandas example, attempting to apply your definition, each read* is a unique interface that generates a common object, a dataframe. Are you saying that the dataframe and the read* are two interfaces?
Your work is really appreciated.
Nice info Eugene. Here are few observations:
Design Patterns in Machine Learning Code and Systems
Understanding and spotting patterns to use code and components as intended.
https://eugeneyan.com/writing/design-patterns/