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

This reminds me of vacuous truth (https://en.wikipedia.org/wiki/Vacuous_truth).

I was recently writing a function that returns early if all items in a list meet a certain condition. It was interesting to think about what should happen if that list is empty.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: