re: Things Nobody Told Me About Being a Software Engineer VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

My workflow is almost always:

  1. Write the code
  2. Write the test
  3. Run passing tests
  4. Comment out the code
  5. Run failing tests
  6. Uncomment code

That’s why you should

  1. Write a failing test
  2. Make the test green by implementing
  3. Refactor Go back to 1.
code of conduct - report abuse