logoalt Hacker News

linsomniactoday at 5:36 AM0 repliesview on HN

NEED to be? No.

But, to be robust you want a signal handler with clean shutdown, a circuit breaker, argument processing (100 lines right there), logging, reporting progress to our dashboard (it's going to run 10-15 days), checking errors and exceptions, retrying on temp fail, documentation... It adds up.

So it could be shorter, but it's not like there is anything superfluous in it.