Hacker News new | past | comments | ask | show | jobs | submit login

Using semantically meaningless structure is unlikely to survive being edited.

  if (a < b) return -1;
  if (a == b) return 0;
  return 1;
Is simple boring code, has the advantage of looking odd when something odd happens.



Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: