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

My mind parsed the first code block as a mix of Python and C. IMO, the later would be more readable since it involves parsing only one rule that the eye is already used.


It reminds me more of C, where labels and goto are often used for error handling (labels using the same `:` syntax).


Now that you you mention labels, I see the similarity to C. I might have been influenced by OP's reference to use indentation to make code more readable instead of using braces.




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

Search: