— No, it is not required to return difference. Implementation which returns only -1, 0 or 1 is perfectly valid
Message permanent page
Interesting, I didn't know that. But there are still three values, and you can't represent three different values with a boolean.
— Of course
— It does make some sense though. I assume the non-zero values are mostly used for sorting purposes anyway.
— Brother this group is for coding enthusiast not for religious opinionz
— Hello brothers
— /warn offtopic
— Admin Roxifasz 🇱🇹 has removed Foxner's warning.
— That was wrong msg