Select a city

Learn to Code VS Learn Chinese

It takes around five minutes to cycle from GoEast’s campus in Shanghai to LeWagon — but while one school teaches Mandarin and the other teaches code, are they really that close in class material too? Is learning a foreign language similar to learning a coding language? Would a Chinese-speaker code differently than an English-speaker? We decided to ask the students that can both code & speak Chinese to find out.

Share article
·
I am an entrepreneur in international trade, web development, and education. 
I have lived and worked in France, Saint Lucia, Russia, Canada, Japan, China, and Spain. I work with my customers in all these languages. During my free time, I am a lover of classical music and furry animals. Feel free to reach out to me for a drink!
·
A motivated student of GoEast Mandarin and Product Marketing Manager for a Fortune 500 company. Erica's Chinese is level HSK4, she speaks English and a bit of French. As for programming languages, she knows matlab, c/c++/c#, MySQL, python, and labview (if you count that as a language).
·
I am a citizen of the world, I have lived in 7 countries and speak 4 languages fluently. I have been in China for 10 years.
My background is finance and management and before coming to China I was a corporate financial analyst for Europe in IBM. Later on, I decided to leave finance in search of more creative, fulfilling work. I invested in a marketing startup which taught me the importance of technical skills which lead me to Le Wagon. 
·
Audrey is a Le Wagon alumni and co-founder of A3Collective, a boutique digital agency in Shanghai. Having previously worked in the luxury fashion industry and having successfully launched two fashion e-commerce businesses of her own, Audrey’s career change into web design and development allows her to take her knowledge and passion for aesthetics into the digital world.

Which programming languages do you use?
And how long have you studied Chinese?


Filiberto: I use Python, Ruby, JS and HTML/CSS. Been in China for about 10 years so 10 years and keep studying!!

Ben:  I use mainly Typescript (which is Javascript + types) and PHP. Currently, I am using Typescript with an Angular and a NestJS framework for front-end and back-endI have never really studied Chinese, but I have lived in China for 7 years and learned by speaking to people.

Audrey:  I use HTML, CSS, and Javascript. Some may argue HTML and CSS aren't exactly coding languages because they do not actually apply any backend logic, but they are code nonetheless! I studied Chinese intensively for 3 summers many years ago and then just learnt more through work and living in China.

Do you think learning Mandarin and learning a programming language is similar?


Filiberto: Not similar to the process of language assimilation is very different. I speak 4 languages fluently and learning a language is a very deep-rooted neurological process. Learning a programming language in my experience resides and utilizes a lower neurological plane and is more comparative of learning a skill (other than language). In my experience similarities are limited to the extent that both follow rules and structures (grammar) and a degree of abstract representation.

Ben:   No :) If you don't get it perfectly right, people can still understand you but a computer can't.

Erica:    I’ve never really thought about whether programming and Mandarin were similar until you asked this question. The more I think about it, the more I do think there are similarities. But like with every language, Mandarin and programming languages do have their own distinct qualities that can’t be ignored.
I think the biggest similarity between learning Mandarin and learning a programming language is that both are very detail-oriented. In programming, the inclusion or exclusion of an ampersand (&) can mean the difference between your code working and erroring out. Similarly, in mandarin, an extra small stroke in a character can change the meaning completely. For example, you have to notice the differences like that between 目 and 且 in order to properly gather the meaning of some sentences. Also, in both types of languages, I think grammar/syntax is pretty critical.

Audrey:
 I think there are definitely some similarities. Both feel very foreign at the beginning, Mandarin especially if you are a Latin language speaker, but there is definitely a turning point where you start to understand the logic of the language and start to be able to pick it up exponentially quick.
·
Filiberto:  Yes, compartmentalization. If a learner is able to effectively create language silos it indicates a degree of skill mastery. Neurologically this means the brain is constrained to a single set of rules, structure, and vocabulary thus limiting cross translation/contamination (i.e:  transfer of logic applied to one language to another!)

Ben:  Both are like learning to play the piano - practice playing just one note until you play it perfectly and then you can add the one that comes just after and play them together until you do it perfectly. That is the fastest way to learn, be confident and avoid accumulating technical debt that will bring you confusion in the future.
·
Ben:  Coding is more intimidating because a simple mistake can break everything, whereas knowing just a few words in a spoken language is enough to get positive feedback. Learning a language is a horizontal experience whereas learning coding is more vertical: you can open a dictionary, choose a random word and try to use it in a conversation straightaway. But you cannot learn to code unless you build on top of things you already know: if you want to try to use a resolver, you first need to learn what a service, an injection and a class are.

Erica:  In terms of differences, I feel the grammar syntax of mandarin only gets harder the more advanced you get whereas, in programming languages, I feel personally that as you become more experienced the syntax becomes easier because you can quickly notice common faults. The largest difference is, of course, you don’t have to pronounce or listen to programming languages and the alphabet when it comes to programming is significantly smaller and more flexible in terms of naming things like variables and programs.The other big difference I feel that exists comes in terms of the thought process. This difference might be a cultural difference though. In programming, you typically will think through the whole process/activity and flow chart it out before you actually write any code. With mandarin, I personally find that I write/speak at the same time. I think this is a cultural thing though because Americans typically use speech as a way to think through processes, ideas. I’ve found my Chinese colleagues often think more before speaking.
·
Filiberto:  Grammar, rules, and structures vastly outweigh expressional representation and conveyance of meaning.
Ben:  Grammar, definitely. If you have basic grammar you can still do almost everything with little vocabulary.
Erica:  Programming languages, in my opinion, are more about grammar. The vocabulary is rather limited.

Do Mandarin speakers program differently?


Filiberto: No idea, but I would hypothesize there is a degree of logical interference as there would be for any language. But the foundations of all computer languages over time are essentially unchanged. Computers' cognitive abilities are limited to 0 and 1 and infinite possibilities in between. Everything is false or true to a varying degree thus computer programmers frame their programs as a set of conditional statements based on a “known” value. Languages and culture have a much vaster degree of ambiguity.

Erica: I think native mandarin speakers definitely program differently. In general, knowing another language changes the way you think and if you change the way you think you change the way you problem solve which affects your algorithm and how you write your code. 
·
When you’re learning a new language, the goal is always to be able to do something useful with it, right? It might be to hold a fluent conversation with someone or to travel to that country. Learning to code should be the same way. Find your ultimate goal of learning and pick one language to start! 

All the life-long learners
Good luck with your journey!

What you think are the differences and similarities between learning coding and learning a language? 
Leave your comments below!

Want to know more about Le Wagon's 9-week bootcamp?
Download Syllabus
Keep reading
Graduate stories

I can learn and enjoy a skill that I never thought I was capable of

If I can be open minded, patient and keep trying, I can learn and enjoy a skill that I never thought I was capable of.

Graduate stories

To quote Nike, Just Do It.

As long as you've got the ability and determination you'll have a great career ahead of you.

Learn to code

Learn to Code VS Learn Chinese

It takes around five minutes to cycle from GoEast’s campus in Shanghai to LeWagon — but while one school teaches Mandarin and the other teaches code, are they really that close in class material too? Is learning a foreign language similar to learning a coding language? Would a Chinese-speaker code differently than an English-speaker? We decided to ask the students that can both code & speak Chinese to find out.

Want to go further and learn to code in 9 weeks?

We are in 38 cities worldwide.