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

UFCS is a bit overreaching but I think it's great for its intended use of chaining expressions on ranges and such.


that actually wasn't its intended use; that's a side effect. The original intended use came from Effective C++ by Scott Meyers: "Prefer non-member non-friend functions to member functions.". It was meant to make that as syntactically appealing as the members.




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

Search: