Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I literally just pushed a 101 line function to prod that is named "download_and_extract" that downloads some files from a place, extracts them, then has a lot of error checking and a couple of logging statements and hands off to a few smaller functions to move and re-arrange files. It is long but it is readable and doesn't really fit a more abstract way of doing things. But that's my style I guess.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: