▲ 121 ▼ Do non-English speakers learn to code in English, or in their native language? (lemmy.today) submitted 1 month ago by TheImpressiveX@lemmy.today to c/nostupidquestions@lemmy.world 100 comments fedilink hide all child comments
[–] gandalf_der_13te@feddit.org 20 points 1 month ago* (3 children) i've seen both. there is german program code with german variable names and german comments. yeah, it sounds about as strange as it is. // diese variable beschreibt den luftzug an den messrohren var trötflöte = lese_zahl_aus(datenbank); but it's rare. most people who work in IT in germany will write english variable names and english comments. permalink fedilink source hideshow 6 child comments replies: [–] stsquad@lemmy.ml 8 points 1 month ago (1 child) It's super common if it's any sort of open source project because the collaborators can be anywhere and English is a good baseline. IIRC one of the big tasks when Star Office became Open Office (later Libre Office) was translating a bunch of the German comments to make the code more accessible. I'm sure I've seen some majority french code bases as well. There are certainly academic hypervisors out of China which have comments in Chinese kanji. permalink fedilink source parent hideshow 2 child comments replies: [–] Danquebec@sh.itjust.works 4 points 1 month ago (1 child) In Chinese, they're "hanzi". Or you can just say "Chinese ideograms" permalink fedilink source parent hideshow 2 child comments replies: [–] stsquad@lemmy.ml 1 point 1 month ago (2 children) Thanks. Are they related? I don't understand any Asian languages myself but I do recognise difference in for example the Korean symbols and Japanese ones. But Japanese and Chinese ideograms look very similar to my ignorant eyes. permalink fedilink source parent hideshow 4 child comments replies: [–] Kazumara@discuss.tchncs.de 4 points 1 month ago* Yes they are very related. Japanese, Korean and Vietnamese loaned the symbols from China when they began writing their languages. However Japanese uses two moraic writing systems in addition (Hiragana and Katakana), Korean has later switched to a syllabic one (Hangul), and Vietnamese switched to a latin derived alphabet. Those are probably what you recognize as distinct. Where and when they use or used Chinese symbols the meanings per symbol are or were not consistent in the languages, as separate drifting of meaning and reforms of the writing system occured over a long period. The symbols are called 漢字 in traditional Chinese and 汉字 in simplified Chinese, the are called 漢字 in Japanese, it used to also be 漢字 in Korean, now in Hangul it is 한자, in Vietnamese it was 漢字 and is now Chữ Hán or Hán tự. As you can see they used the Chinese name for the Chinese ideograms. But they all say it a little differently. Hànzì in Mandarin, Kanji in Japanese, Hanja in Korean, Chữ Hán or Hán tự in Vietnamese. But it all means "Han" "characters", with "Han" referring to the Han dynasty of Chinese rulers here. I think Japanese is the only language who loaned them and is still significantly using them. Only texts for children or learners would typically be written fully in Hiragana and Katakana, normal daily written language will have most concepts represented by Kanji, modern loanwords and foreign names in Katakana, and Hiragana for particles and some verbal endings etc for inflection. permalink fedilink source parent [–] Danquebec@sh.itjust.works 2 points 1 month ago* (last edited 3 weeks ago) The Chinese invented the Chinese ideograms. The script-less Japanese adopted them, but they didn't fit their language well on their own. So, they created hiragana (a syllabary) to be able to properly write their own language. A Japanese sentence typically comprises Chinese ideograms and hiragana. Later, both the People's Republic of China and Japan simplified their ideograms, but not in the same way, and the Chinese went much further. So, now, Taiwan, Hong Kong and Macao use the traditional hanzi. Japan uses their kanji, somewhat simplified. And the PRC, Malaysia and Singapore use the simplified hanzi. South Korea uses hanja which is virtually the same as traditional hanzi. And North Korea completely abandonned the Chinese ideograms. permalink fedilink source parent [–] blackbeans@lemmy.zip 8 points 1 month ago (1 child) In my experience it's more common in industrial (plc) and embedded software. Where people don't have to work in large teams. permalink fedilink source parent hideshow 2 child comments replies: [–] gandalf_der_13te@feddit.org 5 points 1 month ago (1 child) what does "plc" mean here? permalink fedilink source parent hideshow 2 child comments replies: [–] LikeableLime@lemmy.world 8 points 1 month ago (1 child) Programmable Logic Controller permalink fedilink source parent hideshow 2 child comments replies: [+] dbx12@programming.dev 3 points 1 month ago* (last edited 2 weeks ago) [removed by mod] permalink fedilink source parent [–] zerofk@lemmy.zip 2 points 1 month ago As a native Dutch speaker, Trötflöte sounds hilarious. permalink fedilink source parent
[–] stsquad@lemmy.ml 8 points 1 month ago (1 child) It's super common if it's any sort of open source project because the collaborators can be anywhere and English is a good baseline. IIRC one of the big tasks when Star Office became Open Office (later Libre Office) was translating a bunch of the German comments to make the code more accessible. I'm sure I've seen some majority french code bases as well. There are certainly academic hypervisors out of China which have comments in Chinese kanji. permalink fedilink source parent hideshow 2 child comments replies: [–] Danquebec@sh.itjust.works 4 points 1 month ago (1 child) In Chinese, they're "hanzi". Or you can just say "Chinese ideograms" permalink fedilink source parent hideshow 2 child comments replies: [–] stsquad@lemmy.ml 1 point 1 month ago (2 children) Thanks. Are they related? I don't understand any Asian languages myself but I do recognise difference in for example the Korean symbols and Japanese ones. But Japanese and Chinese ideograms look very similar to my ignorant eyes. permalink fedilink source parent hideshow 4 child comments replies: [–] Kazumara@discuss.tchncs.de 4 points 1 month ago* Yes they are very related. Japanese, Korean and Vietnamese loaned the symbols from China when they began writing their languages. However Japanese uses two moraic writing systems in addition (Hiragana and Katakana), Korean has later switched to a syllabic one (Hangul), and Vietnamese switched to a latin derived alphabet. Those are probably what you recognize as distinct. Where and when they use or used Chinese symbols the meanings per symbol are or were not consistent in the languages, as separate drifting of meaning and reforms of the writing system occured over a long period. The symbols are called 漢字 in traditional Chinese and 汉字 in simplified Chinese, the are called 漢字 in Japanese, it used to also be 漢字 in Korean, now in Hangul it is 한자, in Vietnamese it was 漢字 and is now Chữ Hán or Hán tự. As you can see they used the Chinese name for the Chinese ideograms. But they all say it a little differently. Hànzì in Mandarin, Kanji in Japanese, Hanja in Korean, Chữ Hán or Hán tự in Vietnamese. But it all means "Han" "characters", with "Han" referring to the Han dynasty of Chinese rulers here. I think Japanese is the only language who loaned them and is still significantly using them. Only texts for children or learners would typically be written fully in Hiragana and Katakana, normal daily written language will have most concepts represented by Kanji, modern loanwords and foreign names in Katakana, and Hiragana for particles and some verbal endings etc for inflection. permalink fedilink source parent [–] Danquebec@sh.itjust.works 2 points 1 month ago* (last edited 3 weeks ago) The Chinese invented the Chinese ideograms. The script-less Japanese adopted them, but they didn't fit their language well on their own. So, they created hiragana (a syllabary) to be able to properly write their own language. A Japanese sentence typically comprises Chinese ideograms and hiragana. Later, both the People's Republic of China and Japan simplified their ideograms, but not in the same way, and the Chinese went much further. So, now, Taiwan, Hong Kong and Macao use the traditional hanzi. Japan uses their kanji, somewhat simplified. And the PRC, Malaysia and Singapore use the simplified hanzi. South Korea uses hanja which is virtually the same as traditional hanzi. And North Korea completely abandonned the Chinese ideograms. permalink fedilink source parent
[–] Danquebec@sh.itjust.works 4 points 1 month ago (1 child) In Chinese, they're "hanzi". Or you can just say "Chinese ideograms" permalink fedilink source parent hideshow 2 child comments replies: [–] stsquad@lemmy.ml 1 point 1 month ago (2 children) Thanks. Are they related? I don't understand any Asian languages myself but I do recognise difference in for example the Korean symbols and Japanese ones. But Japanese and Chinese ideograms look very similar to my ignorant eyes. permalink fedilink source parent hideshow 4 child comments replies: [–] Kazumara@discuss.tchncs.de 4 points 1 month ago* Yes they are very related. Japanese, Korean and Vietnamese loaned the symbols from China when they began writing their languages. However Japanese uses two moraic writing systems in addition (Hiragana and Katakana), Korean has later switched to a syllabic one (Hangul), and Vietnamese switched to a latin derived alphabet. Those are probably what you recognize as distinct. Where and when they use or used Chinese symbols the meanings per symbol are or were not consistent in the languages, as separate drifting of meaning and reforms of the writing system occured over a long period. The symbols are called 漢字 in traditional Chinese and 汉字 in simplified Chinese, the are called 漢字 in Japanese, it used to also be 漢字 in Korean, now in Hangul it is 한자, in Vietnamese it was 漢字 and is now Chữ Hán or Hán tự. As you can see they used the Chinese name for the Chinese ideograms. But they all say it a little differently. Hànzì in Mandarin, Kanji in Japanese, Hanja in Korean, Chữ Hán or Hán tự in Vietnamese. But it all means "Han" "characters", with "Han" referring to the Han dynasty of Chinese rulers here. I think Japanese is the only language who loaned them and is still significantly using them. Only texts for children or learners would typically be written fully in Hiragana and Katakana, normal daily written language will have most concepts represented by Kanji, modern loanwords and foreign names in Katakana, and Hiragana for particles and some verbal endings etc for inflection. permalink fedilink source parent [–] Danquebec@sh.itjust.works 2 points 1 month ago* (last edited 3 weeks ago) The Chinese invented the Chinese ideograms. The script-less Japanese adopted them, but they didn't fit their language well on their own. So, they created hiragana (a syllabary) to be able to properly write their own language. A Japanese sentence typically comprises Chinese ideograms and hiragana. Later, both the People's Republic of China and Japan simplified their ideograms, but not in the same way, and the Chinese went much further. So, now, Taiwan, Hong Kong and Macao use the traditional hanzi. Japan uses their kanji, somewhat simplified. And the PRC, Malaysia and Singapore use the simplified hanzi. South Korea uses hanja which is virtually the same as traditional hanzi. And North Korea completely abandonned the Chinese ideograms. permalink fedilink source parent
[–] stsquad@lemmy.ml 1 point 1 month ago (2 children) Thanks. Are they related? I don't understand any Asian languages myself but I do recognise difference in for example the Korean symbols and Japanese ones. But Japanese and Chinese ideograms look very similar to my ignorant eyes. permalink fedilink source parent hideshow 4 child comments replies: [–] Kazumara@discuss.tchncs.de 4 points 1 month ago* Yes they are very related. Japanese, Korean and Vietnamese loaned the symbols from China when they began writing their languages. However Japanese uses two moraic writing systems in addition (Hiragana and Katakana), Korean has later switched to a syllabic one (Hangul), and Vietnamese switched to a latin derived alphabet. Those are probably what you recognize as distinct. Where and when they use or used Chinese symbols the meanings per symbol are or were not consistent in the languages, as separate drifting of meaning and reforms of the writing system occured over a long period. The symbols are called 漢字 in traditional Chinese and 汉字 in simplified Chinese, the are called 漢字 in Japanese, it used to also be 漢字 in Korean, now in Hangul it is 한자, in Vietnamese it was 漢字 and is now Chữ Hán or Hán tự. As you can see they used the Chinese name for the Chinese ideograms. But they all say it a little differently. Hànzì in Mandarin, Kanji in Japanese, Hanja in Korean, Chữ Hán or Hán tự in Vietnamese. But it all means "Han" "characters", with "Han" referring to the Han dynasty of Chinese rulers here. I think Japanese is the only language who loaned them and is still significantly using them. Only texts for children or learners would typically be written fully in Hiragana and Katakana, normal daily written language will have most concepts represented by Kanji, modern loanwords and foreign names in Katakana, and Hiragana for particles and some verbal endings etc for inflection. permalink fedilink source parent [–] Danquebec@sh.itjust.works 2 points 1 month ago* (last edited 3 weeks ago) The Chinese invented the Chinese ideograms. The script-less Japanese adopted them, but they didn't fit their language well on their own. So, they created hiragana (a syllabary) to be able to properly write their own language. A Japanese sentence typically comprises Chinese ideograms and hiragana. Later, both the People's Republic of China and Japan simplified their ideograms, but not in the same way, and the Chinese went much further. So, now, Taiwan, Hong Kong and Macao use the traditional hanzi. Japan uses their kanji, somewhat simplified. And the PRC, Malaysia and Singapore use the simplified hanzi. South Korea uses hanja which is virtually the same as traditional hanzi. And North Korea completely abandonned the Chinese ideograms. permalink fedilink source parent
[–] Kazumara@discuss.tchncs.de 4 points 1 month ago* Yes they are very related. Japanese, Korean and Vietnamese loaned the symbols from China when they began writing their languages. However Japanese uses two moraic writing systems in addition (Hiragana and Katakana), Korean has later switched to a syllabic one (Hangul), and Vietnamese switched to a latin derived alphabet. Those are probably what you recognize as distinct. Where and when they use or used Chinese symbols the meanings per symbol are or were not consistent in the languages, as separate drifting of meaning and reforms of the writing system occured over a long period. The symbols are called 漢字 in traditional Chinese and 汉字 in simplified Chinese, the are called 漢字 in Japanese, it used to also be 漢字 in Korean, now in Hangul it is 한자, in Vietnamese it was 漢字 and is now Chữ Hán or Hán tự. As you can see they used the Chinese name for the Chinese ideograms. But they all say it a little differently. Hànzì in Mandarin, Kanji in Japanese, Hanja in Korean, Chữ Hán or Hán tự in Vietnamese. But it all means "Han" "characters", with "Han" referring to the Han dynasty of Chinese rulers here. I think Japanese is the only language who loaned them and is still significantly using them. Only texts for children or learners would typically be written fully in Hiragana and Katakana, normal daily written language will have most concepts represented by Kanji, modern loanwords and foreign names in Katakana, and Hiragana for particles and some verbal endings etc for inflection. permalink fedilink source parent
[–] Danquebec@sh.itjust.works 2 points 1 month ago* (last edited 3 weeks ago) The Chinese invented the Chinese ideograms. The script-less Japanese adopted them, but they didn't fit their language well on their own. So, they created hiragana (a syllabary) to be able to properly write their own language. A Japanese sentence typically comprises Chinese ideograms and hiragana. Later, both the People's Republic of China and Japan simplified their ideograms, but not in the same way, and the Chinese went much further. So, now, Taiwan, Hong Kong and Macao use the traditional hanzi. Japan uses their kanji, somewhat simplified. And the PRC, Malaysia and Singapore use the simplified hanzi. South Korea uses hanja which is virtually the same as traditional hanzi. And North Korea completely abandonned the Chinese ideograms. permalink fedilink source parent
[–] blackbeans@lemmy.zip 8 points 1 month ago (1 child) In my experience it's more common in industrial (plc) and embedded software. Where people don't have to work in large teams. permalink fedilink source parent hideshow 2 child comments replies: [–] gandalf_der_13te@feddit.org 5 points 1 month ago (1 child) what does "plc" mean here? permalink fedilink source parent hideshow 2 child comments replies: [–] LikeableLime@lemmy.world 8 points 1 month ago (1 child) Programmable Logic Controller permalink fedilink source parent hideshow 2 child comments replies: [+] dbx12@programming.dev 3 points 1 month ago* (last edited 2 weeks ago) [removed by mod] permalink fedilink source parent
[–] gandalf_der_13te@feddit.org 5 points 1 month ago (1 child) what does "plc" mean here? permalink fedilink source parent hideshow 2 child comments replies: [–] LikeableLime@lemmy.world 8 points 1 month ago (1 child) Programmable Logic Controller permalink fedilink source parent hideshow 2 child comments replies: [+] dbx12@programming.dev 3 points 1 month ago* (last edited 2 weeks ago) [removed by mod] permalink fedilink source parent
[–] LikeableLime@lemmy.world 8 points 1 month ago (1 child) Programmable Logic Controller permalink fedilink source parent hideshow 2 child comments replies: [+] dbx12@programming.dev 3 points 1 month ago* (last edited 2 weeks ago) [removed by mod] permalink fedilink source parent
[+] dbx12@programming.dev 3 points 1 month ago* (last edited 2 weeks ago) [removed by mod] permalink fedilink source parent
[–] zerofk@lemmy.zip 2 points 1 month ago As a native Dutch speaker, Trötflöte sounds hilarious. permalink fedilink source parent