2 ms·
Python has both of those, static typing is easy to use (all my new code is type checked!) and destructors can be used, they just like really, really shouldn't b
by joshuamorton 7y ago
Python has both of those, static typing is easy to use (all my new code is type checked!) and destructors can be used, they just like really, really shouldn't be. Context managers instead. Why do you even want destructors in python?