Re:Psychological effects of coding style (2016)
by amelius on Tuesday April 28, 2020 @07:23AM
(#23005887)
Germans capitalize their nouns in normal language. I wonder what effect that has on their code.
[ Parent
| on HN ]
Re:Psychological effects of coding style (2016)
by TsiCClawOfLight on Tuesday April 28, 2020 @07:49AM
(#23006069)
We code in english, but it does make UpperCamelCase more natural for us.
Re:Psychological effects of coding style (2016)
by lonelappde on Tuesday April 28, 2020 @09:29AM
(#23006741)
Do nouns feel more intense and heavy than other words, like they dofor English speakers?
Or are capital letters so common that they don't feel heavy?
Re:Psychological effects of coding style (2016)
by TsiCClawOfLight on Friday May 01, 2020 @06:06AM
(#23040621)
Not sure what you mean - are you asking about nouns, or proper nouns?
Nouns are capitalized in German, not other random words. But yes, both proper nouns and all other nouns feel heavier than other words.
Re:Psychological effects of coding style (2016)
by mudita on Tuesday April 28, 2020 @10:17AM
(#23007194)
Of course it's difficult to compare if they feel maybe a bit less heavy for me than for English speakers, but as a German capital letters do indeed feel heavy for me, as well.
Re:Psychological effects of coding style (2016)
by zonefuenf on Tuesday April 28, 2020 @07:49AM
(#23006071)
We mostly use (bad) English in programming contexts.
Re:Psychological effects of coding style (2016)
by Traubenfuchs on Tuesday April 28, 2020 @10:30AM
(#23007324)
I worked on the code bases of 6 German speaking companies and they were all in English.
Re:Psychological effects of coding style (2016)
by Deradon on Tuesday April 28, 2020 @07:48AM
(#23006067)
Actually, for me it's the other way round.
Sometimes I write german words like "BratwurstBratGerät" (UpperCamelCase)
Re:Psychological effects of coding style (2016)
by elliekelly on Tuesday April 28, 2020 @09:44AM
(#23006864)
Can you explain this phrase to a non German speaker? I think ”bratwurst brat gerät” very roughly translates to “bratwurst roasting device” which makes me think of kabab-case instead of UpperCamelCase. German phrases are usually pretty intuitive but I don’t understand this one at all.
Re:Psychological effects of coding style (2016)
by ratww on Tuesday April 28, 2020 @10:50AM
(#23007533)
Germans write those compound words with "German casing", like this: "Bratwurstbratgerät" [1]. It is just a roaster for bratwursts. In other languages like english sometimes compound words are kebab cased, like yes. [2]
Btw, for kebabs you probably want a Dönnergrill :)
[1] https://en.wikipedia.org/wiki/Compound_(linguistics)#Germani...