Re:Non-English-based programming languages
by crazygringo on Monday September 02, 2013 @02:17PM
(#6316360)
For things like "while", "do", "return", "public", "private" I definitely think of it as "real English text".
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.
Re:Non-English-based programming languages
by angersock on Monday September 02, 2013 @03:20PM
(#6316645)
esac anyone? :P
Re:Non-English-based programming languages
by icebraining on Monday September 02, 2013 @06:38PM
(#6317594)
fi
Maybe it depends on the language? I could see something like this in python:
if not callable(something): make_callable(something)
Which can (sortof) be read off in English.I don't really understand what you mean with "real English text". I can't separate keywords from their true meaning, and it's much easier for me to understand the purpose of a keyword if its purpose matches its name.
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.)
For example I don't even think about what it would mean in English if I write
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.