object-design Questions

4

Solved

I have seen some people hate on recursive_mutex: http://www.zaval.org/resources/library/butenhof1.html But when thinking about how to implement a class that is thread safe (mutex protected), it s...
Caulk asked 24/1, 2013 at 10:19

2

I'm trying to understand the utility of the @property decorator in Python. Specifically, I set up a class using properties like so: class A(object): def __init__(self, x): self._x = x @p...
Retral asked 16/1, 2014 at 22:53
1

© 2022 - 2025 — McMap. All rights reserved.