Re:I'm Switching to Python and Actually Liking It
by andyjohnson0 on Wednesday July 16, 2025 @04:59AM
(#44580161)
> What exactly is the problem with __init__ or __new__? @dataclass is very nice syntactic sugar, but are we arguing here that having access to initializer/allocator/constructor dunder methods is "legacy ugliness"?
My read was that the "ugliness" was in the method naming, and specifically the double underscores, not the availability of the methods themselves.
My read was that the "ugliness" was in the method naming, and specifically the double underscores, not the availability of the methods themselves.