by msoad · 13y ago · 0 comments
For example I don't even think about what it would mean in English if I write
while(true){ i++; if(i>100) break; }
I'm curious if native English speakers look at code as real English text sometimes? It should be funny, because when I translate my code to my native language(word-by-word) it's just meaningless and funny.For things like "for", "wend" (while-end), "class", "switch", "main", they're divorced enough from any real English meaning that I just think of them as arbitrary coding words.
So, it's kind of both, at least for me.
if not callable(something): make_callable(something)
Which can (sortof) be read off in English.Every statement has a meaning, and every block is a story. If it wasn't readable we could just as well use BANCstar [1].
(Btw, I absolutely hate that Microsoft translates Excel formulas (and so on) in localized versions. I simply cannot program in my native language: I basically translate back to English mentally.)