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

It's just me or are the Api signature a bit strange?

    exit_code, previous_volume, error = api.run_command("Main Office", "volume")
Why a triplet as return value? Why an error field at all? I really feel this should have been designed differently - eg with exceptions


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: