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

Well, I don't enjoy the "happy path" programming. Admittedly, this implementation to improve speed feels a bit hacky. I only did it because it had a measurable impact on the computational performance of my program. In my other grunt worker scripts, I actually prefer if-elif-else statements because they make code readability better for other programmers who are not Python "natives", but use the scripts or modify them to suit their use cases.


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

Search: