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

I use Yoda Conditions[1] in C-oid languages, so the error would be visible even without warnings (because the program would refuse to compile).

[1]: http://stackoverflow.com/questions/2349378/new-programming-j...



That's fine when you make a comparison against a constant, but what if you're comparing two variables?




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

Search: