Posts by redSquare • 1 point
2 posts
-
0
votes4
answers67145
viewsA: Composition and aggregation: what are the differences and how to use them?
Trying to be very succinct: In aggregation, an object A is referenced, or "called" within another object B. That is, you create two objects A and B and an attribute of B is object A (one is part of…
-
0
votes1
answer502
viewsQ: Qual é a diferença entre os.path.dirname(os.path.abspath(__file__)) e os.path.abspath(os.path.dirname(__file__))
The two seem to return exactly the same. Inclusive, os.path.dirname(__file__) returns the same too.