The problem is you, like an overweight person, think that you can get by with an economy ticket. I feel bad for your knees, but I'm reclining because I paid for the ability to recline even if it's only a few inches. If…
The Super Bowl is the only "Big Game" they refer to in the ads. Sure there are other "big games", but these are Super Bowl ads pure and simple.
C-a a is an extra keypress but good enough for me.
No, the reason it exists is so you can override functionality of subclasses at run time, otherwise things like monkey patching would be impossible. I guess it COULD do a pass to see if the attr is an immutable or some…
I'm not really sure I understand your point. The value of x is still going to be in memory, but you may not have any references to it and it will be garbage collected. The disconnect is in thinking x is a variable and…
x isn't a variable, it's a tag. Because Python is dynamically typed, x can be an int one minute and a function the next, so every attribute on a class is stored as a pointer to an object, including attributes that are…
If instead of x being an integer, it were a function x(), then it makes more sense. Really, for Python, there is no difference between the two in this example. When you assign a new value to B.x, you're overriding the…
That's where this one comes in?
The problem is you, like an overweight person, think that you can get by with an economy ticket. I feel bad for your knees, but I'm reclining because I paid for the ability to recline even if it's only a few inches. If…
The Super Bowl is the only "Big Game" they refer to in the ads. Sure there are other "big games", but these are Super Bowl ads pure and simple.
C-a a is an extra keypress but good enough for me.
No, the reason it exists is so you can override functionality of subclasses at run time, otherwise things like monkey patching would be impossible. I guess it COULD do a pass to see if the attr is an immutable or some…
I'm not really sure I understand your point. The value of x is still going to be in memory, but you may not have any references to it and it will be garbage collected. The disconnect is in thinking x is a variable and…
x isn't a variable, it's a tag. Because Python is dynamically typed, x can be an int one minute and a function the next, so every attribute on a class is stored as a pointer to an object, including attributes that are…
If instead of x being an integer, it were a function x(), then it makes more sense. Really, for Python, there is no difference between the two in this example. When you assign a new value to B.x, you're overriding the…
That's where this one comes in?