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

I've never used the spaceship operator in my own code, and whenever I see it in someone else's, I almost always have to look it up to remind myself what it does.

I guess it's a nice feature to have, but I tend to forget that it exists. Clearly it's not exactly a new feature I was ever very excited about.

It doesn't help that writing my own sorting callbacks is itself something I rarely need to do.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: