May-11-2017, 05:20 PM
(May-11-2017, 04:03 PM)nilamo Wrote: When I've wanted caching, I just used a decorator. Using something that might be an implementation detail feels susfishous to me.
Do lists in function arguments work that way in other versions of python, like pypy or ironpython? I don't have anything but cpython installed at work to test it.
I don't know, there are some think like system limitations? Compensation for design deficiencies?! If every problem could have been solved by trivial methods .....
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.