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

Gee if only there was a way to reuse logic within a program.

> arguments are defined as type annotations in the sub-command function itself

So you duplicate logic in your type definitions instead of as instructions. Whatever makes you happy i guess.



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

Search: