Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, boost has a couple of instances of eyebrow-raising uses of operator overloading. Including stream operators, that still does not prove that operator overloading is an anti-feature.

On the contrary, when all you have is a couple of examples that aren't even that bad and a slippery slope argument, you are on very thin ground, rhetorically speaking.



It's clearly a balancing-act thing. My scales tip to the hater side.


I am certain that if you did some game programming in a language without OO, you would quickly change your mind.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: