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

> ...updating the order of arguments to a function [...] was only in about 10 spots, so it would have only taken a minute to search and fix manually, but instead I spent an hour automating the fix using sed and xargs. And I think that was the right choice.

Spending an hour to learn and use sed/xargs is good use of time. Bringing in the xkcd formula has nothing to do with that. It could/should have been done as a one-off whether manually or scripted. Automation doesn't make sense unless you plan to keep putting me function arguments in an undesired order.

I would have put in time sooner to use a static typed language the can reliably reactor in the IDE with a click.



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

Search: