alternate ways to implement observer pattern in python
问题 i was going through a post post about how observer pattern can be implemented in python . on the same post there are these comments. 1) In python you may as well just use plain functions, the ‘Observer’ class isnt really needed. 2) This is great example of what Java programmers are trying to do once they switch to Python – they feel like Python is missing all that crap and try to “port” it. These comments imply that the observer pattern is not really useful in python and there exists other