4 ms·
Tienes razon sobre el asunto de que uno puede escribir palabras mas facil en otras lenguas. Pero lo importante en este caso es que la gente encuentran lo que es
by brlewis 3y ago
Tienes razon sobre el asunto de que uno puede escribir palabras mas facil en otras lenguas. Pero lo importante en este caso es que la gente encuentran lo que esperan. Si la mayoria de la gente buscan `} else {` sera mejor darles lo que esperan. Posiblemente una investigacion cientifica podia descubrir que `else {` seria mejor para los que ya no se acostumbraron a `} else {`, pero estamos en un mundo lleno de gente que ya se acostumbraron. Pues `} else {` sirve bien, lo mismo que sirve bien usar una lengua familiar aunque otra lengua tiene ventajas.
- brlewis 3y agoTranslation: You're right on the point that one can spell words more easily in other languages. But the important thing in this case is that people find what they expect. If the majority are looking for `} else {` it's better to give them what they expect. It's possible that a scientific investigation might find that `else {` would be better for those who haven't yet become accustomed to `} else {`, but we're in a world full of people who've already become so accustomed. So `} else {` still works better, just as it works better to use a familiar language even though another language has advantages.
- AlchemistCamp 3y agoThis confuses choosing a more phonetic option among multiple competing options with changing to a completely different language.
- brlewis 3y ago"Multiple competing options" ignores that there's a prevalent style already. https://github.com/prettier/prettier/issues/840#issuecomment-284168624 https://github.com/prettier/prettier/issues/840#issuecomment... Consistency has more value than the subjective advantage of the proposal that you're comparing to the objective advantage of being phonetic. I think the prettier maintainers made the right choice.
- AlchemistCamp 3y agoThere are multiple prevalent styles. The emoji counts on the issue thread you linked to and the number of essentially duplicates make that very clear.