Don’t Just Learn the Language, Understand Its Culture

Don’t Just Learn the Language, Understand Its Culture

Anders Nor?s

iN HiGH SCHOOL, i HAD TO LEARN A FOREiGN LANGUAGE. At the time, I thought that I’d get by nicely being good at English, so I chose to sleep through three years of French class. A few years later, I went to Tunisia on vacation. Arabic is the official language there and, being a former French colony, French is also commonly used. English is only spoken in the touristy areas. Because of my linguistic ignorance, I found myself confined at the poolside reading Finnegans Wake, James Joyce’s tour de force in form and language. Joyce’s playful blend of more than 40 languages was a surprising, albeit exhausting, experience. Realizing how interwoven foreign words and phrases gave the author new ways of expressing himself is something I’ve kept with me in my programming career.

In their seminal book, The Pragmatic Programmer (Addison-Wesley Profes- sional), Andy Hunt and Dave Thomas encourage us to learn a new program- ming language every year. I’ve tried to live by their advice, and throughout the years, I’ve had the experience of programming in many languages. My most important lesson from my polyglot adventures is that it takes more than just learning the syntax to learn a language: you need to understand its culture.

You can write Fortran in any language, but to truly learn a language you have to embrace it.

Don’t make excuses if your C# code is a long Main method with mostly static helper methods, but learn why classes make sense. Don’t shy away if you have a hard time understanding the lambda expressions used in functional languages— force yourself to use them.

??54 97 Things Every Programmer Should Know

?

???????????????Once you’ve learned the ropes of a new language, you’ll be surprised how you’ll start using languages you already know in new ways.

I learned how to use delegates effectively in C# from programming Ruby; releasing the full potential of .NET’s generics gave me ideas on how I could make Java generics more useful; and LINQ made it a breeze to teach myself Scala.

You’ll also get a better understanding of design patterns by moving between different languages. C programmers find that C# and Java have commoditized the iterator pattern. In Ruby and other dynamic languages, you might still use a visitor, but your implementation won’t look like the example from the Gang of Four book.

Some might argue that Finnegans Wake is unreadable, while others applaud it for its stylistic beauty. To make the book a less daunting read, single language translations are available. Ironically, the first of these was in French.

Code is in many ways similar. If you write Wakese code with a little Python, some Java, and a hint of Erlang, your projects will be a mess. If you instead explore new languages to expand your mind and get fresh ideas on how you can solve things in different ways, you will find that the code you write in your trusty old language gets more beautiful for every new language you’ve learned.

时间: 2024-09-28 10:12:24

Don’t Just Learn the Language, Understand Its Culture的相关文章

窝上课不听,how to learn C language easily(1)

C language 学习心得 附:为啥起这么霸气侧漏,招大神们鄙视的标题,正如我在<C language>随笔的介绍中写的,这是一个写个妹纸们看的C language的文章.没错!!写这篇文章的灵感也来自于上周Clanguage课上偶撩到一个连书包都不放下在玩手机的妹子(普通聊天而已,嘘~~~),得知她课后在自学慕课,刚看到数组·····那得有多慢!于是,小子虽不才,但正义感十足,决心写一章超级宇宙无敌简单入门炫酷无敌吊炸天的C language 入门指南. 其实,鄙人大一上受了大神Alex

ARTS Week 12

Jan 13, 2020 ~ Jan 19, 2020 Algorithm Problem 112. Path Sum (路径总和) 题目链接 题目描述:给定一棵二叉树和一个值 sum ,检查二叉树是否存在根到叶子路径之和等与 sum 的路径,若存在,则返回 true,反之返回 false.例如,sum = 22,二叉树如下: 5 / 4 8 / / 11 13 4 / \ 7 2 1 返回结果 true,因为 5->4->11->2 思路为:树的遍历要使用递归,sum同时要保持更新,比

快速入门:十分钟学会PythonTutorial - Learn Python in 10 minutes

This tutorial is available as a short ebook. The e-book features extra content from follow-up posts on various Python best practices, all in a convenient, self-contained format. All future updates are free for people who purchase it. Preliminary fluf

(6)How language shapes the way we think

https://www.ted.com/talks/lera_boroditsky_how_language_shapes_the_way_we_think/transcript 00:12So, I'll be speaking to you using language ... because I can. This is one these magical abilities that we humans have. We can transmit really complicated t

如果回到十八岁,我要对自己说......

I like to joke that I am who I am today because I did everything wrong in my 20's. I've always been fearless, and it often got me in trouble. I wasn't afraid to start a business, borrow a bunch of money, or quit a well-paying job to travel the world.

如何在六个月学会一门外语

I came across this TED talk yesterday in which Chris Lonsdale, a psychologist from New Zealand talks about language learning. He believes that anybody can learn a language in six months if they follow the five principles and seven actions that he has

What is machine learning?

What is machine learning? One area of technology that is helping improve the services that we use on our smartphones, and on the web, is machine learning. Sometimes, the terms machine learning and artificial intelligence get used as synonyms, especia

[转]50 Shades of Go: Traps, Gotchas, and Common Mistakes for New Golang Devs

http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/ 50 Shades of Go: Traps, Gotchas, and Common Mistakes for New Golang Devs Go is a simple and fun language, but, like any other language, it has a few gotchas... Many of those gotc

从零实现来理解机器学习算法:书籍推荐及障碍的克服

前部为英文原文,原文链接:http://machinelearningmastery.com/understand-machine-learning-algorithms-by-implementing-them-from-scratch/ 后部为中文翻译,本文中文部分转自:http://www.csdn.net/article/2015-09-08/2825646 Understand Machine Learning Algorithms By Implementing Them From