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.
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.