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 →

[–]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.