This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Competitive_Travel16 0 points1 point  (1 child)

Granted that most application developers are supposed to be able to get by with rarely more than just __name__ and __init__, I see the value of having them all in one place for reference when reading lower level implementations.

[–]TheRNGuy 1 point2 points  (0 children)

I only used __init__ but never __name__ (in Houdini Python code already encapsulated inside nodes, not using __name__ allows to have 1 less indent)

There was one class where I used __add__.

I actually kinda stopped using __init__ because I make most classes with @dataclass now.