In what circumstances does the author suggest quitting is a good idea?
When you realize what you are doing is not worth the time.
When you know a task cannot be finished.
When you feel tired and need a rest.
When you meet with difficulties along the way.