DEV Community

Discussion on: Only three numbers matter: zero, one, and more-than-one.

Collapse
 
djtai profile image
David Taitingfong

Great advice and a good read! During my earlier classes of CS, I would always try and remind my partners/classmates of this. Many times they would ask me to test their code and my first two go-to's were 0 and 1. Early on I feel like a lot of us forget about these cases - especially the 0 case. I'll definitely be checking out your other principles!

Collapse
 
lpasqualis profile image
Lorenzo Pasqualis • Edited

Yes! For testing, this principle really helps. I find myself repeating it often in various situations. Testing, designing solutions and interviewing job candidates are the most common.