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

You guys are "interesting" in this c++ world

C# has operator overloading and during my whole career I have never seen it abused so hard that people needed to ban it, let alone write guidelines and a lot of shops adopting it.

I barely see anyone use it not for really good cases like graphics.

The only interesting case was using "/" operator for Path Combines so "home" / "folder1" performs Path.Combine("home", "folder1")

but still, that was PoC or lib, not even prod.

So, is it about community, some culture or actually what?



I think it’s mainly c++ devs are very performance sensitive (why else would you subject yourself to this torture?) so they hate it when your β€˜+’ is suddenly O(n^2) and with side-effects




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

Search: