Hope y’all aren’t getting tired of me talking about my hobbies yet! Today, I’ll let you in on my interest in learning natural languages. By natural languages, I’m really referring to spoken languages which contrasts with programming languages. As it turns out, learning a spoken language can really help you learn to code.
Table of Contents
Natural Language Learning Expertise
I don’t claim to know any other language than English. That said, I’ve been studying Spanish on-and-off since 2009, and I’ve recently started learning Japanese. I would say that my reading comprehension of Spanish is quite high at this point. Like, I understand Spanish memes that fly across my Twitter feed, so I consider that competent. In contrast, I have almost no speaking practice. Overall, I would rate the my competencies of language learning as follows:
reading > (writing || listening) > speaking
I know that doesn’t properly evaluate. That said, what I’m basically trying to say is that I can read better than I can write or listen, both of which I can do better than speak.
My general method for learning Spanish has been through coursework in high school and Duolingo ever since. As you can probably imagine, I hold a fairly low opinion of Duolingo as a method of learning a language despite what my 1,100+ day streak would tell you. Even after all that time, I don’t trust myself to navigate a trip to Mexico.
More recently, I’ve been dipping my toes in Japanese. This time around, I figured I’d take a more diverse approach. As a result, I’m employing two apps, Duolingo & Fluent, as well as books. In general, I feel like I am going to pass up my knowledge of Spanish in a very short amount of time. In fact, I already feel like my ear is trained better for Japanese, so I’m looking forward to seeing my progress going forward.
So, what does this all mean? Well, natural language learning is one of the few skills in the series that I don’t exactly feel qualified to talk about. Interestingly, I think that makes me the perfect candidate to talk about how my approaches to natural language learning as a self-taught beginner could apply to someone looking to learn a programming language themselves. And as always, I have my education background to lean on.
Lessons from Natural Language Learning
Like many of my hobbies in this series, natural language learning is something that comes with lessons that I think transfer well to learning to code. Up to this point, I think there have been a lot of lessons that can be shared across many domains. Natural language learning is no different. That said, I am particularly excited about this list because it gets into more philosophical topics surrounding education and motivation. Enjoy!
Diversify Your Experiences
When it comes to learning a natural language, there are four main areas of expertise: reading, writing, listening, and speaking. To do all four, you need different types of experiences. For example, you cannot learn to speak a language without actually speaking it. As a result, you probably need someone you can talk to for practice. Of course, while speaking might help with grammar, it doesn’t help with reading and writing in general.
I would argue that this idea of “diversity of experiences” applies to programming as well. Sure, we don’t necessarily speak programming languages, but we definitely need to be able to read and write them. Of course, if coding was just about reading and writing, memorization would get you pretty far. But, coding is more than that. It’s problem solving, organization, planning, etc.
As a result, while I generally think it’s a good idea to step away from tutorials and start coding up your own projects, there are just too many skills coming together at once. Instead, I might recommend practicing syntax for simple problems that you already know how to solve. At the same time, I’d recommend drawing flow charts or handwriting steps to more complex algorithms to get some problem solving practice. If you’re feeling especially adventurous, you can watch videos or listen to podcasts to see how people in the field even talk about software.
Overall, the more types of coding experiences you can have, the better. Don’t do what I did with learning Spanish and use a single app like Edabit to learn to code.
On a side note, Edabit actually references natural language learning on their homepage:
Everyone knows the fastest way to learn a spoken language is by having conversations with native speakers. Likewise, the fastest way to learn to code is by actually coding. Edabit offers an almost limitless supply of bite-sized challenges, so you can rapidly advance your abilities.
I’m not sure I agree with their argument, but I appreciate the parallel.
Despite all the hate I give Duolingo, there’s one thing I think it does right: streaks. At this point, I’m sitting at a 1,100+ day streak, and if nothing else, I think that has helped me commit significantly more vocabulary to memory than if I had studied more sporadically.
In terms of programming, I find this advice to be a bit harder to take. After all, I don’t think it’s healthy to code every day. That sort of thing will lead to burnout. I know it’s lead me to try to find the easiest way to keep my streak with Duolingo. However, I would say generally consistency is good. For instance, maybe try writing code a few days a week—college classes rarely have a commitment higher than that.
If you’re looking for some way to stay accountable as you learn, you might want to check out the 100DaysOfCode community. I first got interested in this community while I was building out my Sample Programs repository. It’s a great way to work on something consistently. That said, I recommend setting some rules for yourself as doing something 100 days straight might not be good for your mental health. Also, it’s a bit of a commitment for beginners. Maybe scope it down to 14 days to see if you even like it first.
All that said, I think consistency is great step to forming a habit, so you can build a skill long term. Perhaps mixing consistency with diversity of experience will yield the best possible learning outcomes. It’s worth a shot!
Remember Your “Why”
As much as I love learning languages like Spanish and Japanese, I can’t help but lose interest in them over time. After all, while I’m intrinsically motivated to learn them, the motivation only goes so far. What keeps me going is the prospect of actually using the languages in the right contexts. This is my “why.”
When it comes to learning code, you need to figure out your “why.” Your “why” can be anything as simple as looking to earn more income or wanting to build cool stuff. This is a judgement free zone, and I’ll never tell anyone that you need to be “passionate” to learn to code. You just need something driving the learning. Otherwise, you won’t be following your values, and you’ll be prone to burnout.
Once you have your “why,” you’ll want to keep it in the back of your mind. For instance, I’m learning Japanese because I want to travel to Japan and use it. There are tons of other benefits, surely, but this is my “why.” Whenever I get frustrated, I go back to planning the trip. This usually brings back the excitement for language learning. If you can find something like that for coding (e.g., researching a particularly company you’d like to work at), it’ll help you push through those low points.
I am particularly fond of this advice because I use it in grad school to help me get through my PhD program. Ultimately, I never want to ask myself “why am I here?”
What Else Can Programmers Borrow?
With all that said, for my programmer friends out there, how did I do? Did you pick up any new ways to practice coding? Are you interested in learning a natural language? Were you surprised by any of the connections I made?
For my polyglot friends out there, what did I miss? Are there other lessons that you think can transfer over to programming? Do you do anything like this? How else has natural language learning helped your programming career?
Once again, thanks for stopping by. If you’d like to support the site, I have a list of ways you can do that. There, you’ll find links to Discord, Patreon, and YouTube. Otherwise, take care!
Recent Blog Posts
Markdown is great for generating HTML, but what if you want a PDF? Here are three quick ways to get it done.
When work is equated to time, there is a significant amount of nuance lost that almost always equals more money for a boss somewhere. Let's say I'm not a fan.