|
|
|
|
|
by matheusmoreira
2429 days ago
|
|
It's not just aesthetics. I mentioned the ABI issue because it is the technical reason why factories exist. Writing "new X" makes X part of the compiled code. This makes it impossible to swap X for Y and delete X later without breaking binary and even source compatibility. This is important for libraries and code reuse. I don't think it is controversial to say those languages are better. A language with limitations that must be constantly worked around must be worse than a language without those problems. |
|
The ABI is also important for performance! You aren’t making this comparison in good faith. You can easily acknowledge the entire trade off rather than just calling one better.