Skip to content

Instantly share code, notes, and snippets.

@mturco
Created February 2, 2021 20:54
Show Gist options
  • Select an option

  • Save mturco/6eeafc7e1c511a8f06fe643f7dcfaef2 to your computer and use it in GitHub Desktop.

Select an option

Save mturco/6eeafc7e1c511a8f06fe643f7dcfaef2 to your computer and use it in GitHub Desktop.

An excerpt from the Human Who Codes newsletter from the Feb 2, 2021 edition:

What I'm thinking about: Second Languages

The server-side language of choice at my first job was ASP. Not ASP.NET, just ASP. At my second job we used Java and JSP; my third was Visual Basic.NET; my fourth and fifth were PHP. I've never worked in a situation where I could spend my entire day in JavaScript, whether that meant working on the client-side or the server-side. And yet, this is a situation facing a lot of developers these days: JavaScript monoculture. While there are some benefits to staying in one language all day, I fear there's a whole generation of developers who are being deprived of the opportunity to grow more significantly by using other languages.

I like to think of those server-side languages as second languages. Yes, JavaScript is my first language, my current favorite, and where I prefer to spend time, but a second language has the ability to change the way you think about the first. Each programming language is made with certain goals, constraints, and problem spaces in mind. Using another language is like peering into a different universe with very different challenges. When you get back to your origin, your brain has changed and you look at things in a new light.

A common piece of advice is to learn one new programming language a year. While I wouldn't go that far, I do think it's a good idea to periodically learn a new programming language. Even just spending 30-60 minutes learning about a different programming language is enough to get your brain thinking in different ways (this is why I love YouTube videos on other programming languages).

Where to start? If you're already feeling overwhelmed by the thought of learning a new language, look towards more recently-developed languages like Go and Rust. These were developed already having all of the background of what makes programming languages easy or difficult to learn (I personally think Go is an easy language to pick up coming from JavaScript). If you've never learned Python, you may find it easier to start there, as JavaScript has been heavily influenced by Python in recent years. I'm also a big fan of C#, which is what I wished Java would have grown into. That said, if you can write Java, you'll always have a job.

We're still at the beginning of the year, so there's still time to make another resolution. I'd suggest resolving to learn one new programming language this year. To keep yourself accountable, reply to this email and tell me which language you'll be learning. Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment