# Which is easier for human perception: type of variable before or after its name?

In some programming languages type of variable goes before it's name. In another - name goes first and then type. Which version loads brain less and allow easier think about problem ?

• I think that your question is off-topic here. It is rather pure cognitive psychology. – Evil Feb 28 '18 at 4:09
• @Evil There are empirical studies under the aegis of CS of questions of this sort, e.g. is for or repeat a better keyword. I would lean towards them being on-topic, though the question would need a more quantifiable metric, e.g. bug count or number of hours to complete a standardized task. No one cares if your brain is loaded more or less if you produce correct code quicker, though presumably those are (negatively) correlated. – Derek Elkins left SE Feb 28 '18 at 4:36
• @DerekElkins I am reading papers now, just under the Cognitive Psychology aegis. The pure perception and brain load is rather off here. And honestly it makes sense when the group is defined (not programming, beginners, experts), where for experts it does not make any sense. My point is, that the "brain load" is cogPsy, while the other reasons are for example given at SE. "No one cares if your brain is loaded more or less" - psychologists do... – Evil Feb 28 '18 at 4:46
• related on Software Engineering: Why does the type go after the variable name in modern programming languages? (also specific questions about Kotlin and Scala) - no empirical studies but good arguments – Bergi Feb 28 '18 at 8:39
• @tmlen That probably depends on your mother tongue – TheEspinosa Feb 28 '18 at 9:25