|
|
|
|
|
by dumah
333 days ago
|
|
I’m not sure why you’re comparing __new__ to constructors in other languages. Ruby has the same thing but it’s called ‘new’. Implementing the type of customization (idiomatically) that __new__ provides in Kotlin and JS isn’t any cleaner. |
|