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

Slightly off-topic but as I stop to think about it, I think this is one of the only times I have ever seen code in non-English. I'm confident enough in Python that I know the only difference is in reference names, and that has nothing to do with the computational logic or structure...but I'm taken aback by how non-trivial -- even with the syntax highlighting -- it is to tell my brain that it's just Python, and to treat it like any other code with strange naming conventions. I don't know what the takeaway is here...that proper naming conventions and self-documenting code is even more important than I realized...and/or that not having familiar context (i.e., what are these variables referring to) is a substantial mental drain...even though it's not particularly important to debugging the code.

It definitely makes me respect all non-English coders even more, for happily putting up with the ASCII status quo...especially those from non-Latin languages, such as Matz.



You should try your hand at deobfuscation of a VM bytecode like actionscript (flash), CLR, or JVM. I suspect that will give you good practice with dealing with "strange naming conventions" ;)


You should try to read Cyrillic code comments...




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

Search: