DEV Community

Discussion on: Seven useful programming habits

Collapse
 
ohnonapples profile image
Pine Apple

I also started "writing any code from forming some test cases". Basically after I create a method in an interface, I leave it unimplemented. Then I create a test class with various test scenarios so that they all fail first! I will work on the implementation till all test cases pass.