本文介绍了学习不会使用的语言的好处的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我读过很多次,学习 Haskell、Lisp 或 Smalltalk 等语言会让你在使用其他语言编程的同时成为更好的程序员.

I have read numerous time that learning a language such as Haskell, Lisp or Smalltalk will somehow make you a better programmer while you program in other languages.

对于这种说法,是否有更多的轶事证据?或者这只是人们将花费大量时间学习一种他们永远不会使用的编程语言合理化的方式?

Is there more than just anecdotal evidence for that claim?Or is it just the way people rationalize having spend a lot of time learning a programming language that they will never use?

推荐答案

恕我直言,一切都是关于学习一种新的编程范式. 如果您先了解 Java,然后再了解 C#,那么收获不大,一次两者的编程类型"几乎相同.

IMHO, it is all about learning a new programming paradigm. If you know Java and then C#, there's not much gain, once both of them have almost the same "type of programming".

但是,例如,如果您开始学习一门函数式语言或动态语言,您将不得不换一种方式思考,这可能会帮助您更好地使用您喜欢的语言进行编程.

But if you get to learn a functional language or dynamic, for instance, you're forced to think another way, and that will probably help you to program better in your favorite language.

类似于:用{你学过的不同语言}做这件事太容易了.必须有更好的方法用{你已经知道的语言}做到这一点".然后你重新思考,并用{你已经知道的语言}建立一种更优雅的方式来做到这一点.

It is something like: "It is so easy doing this in {different language you learned}. There must be a better way to do this in {language you already know}". And then you rethink, and build up a more elegant way to do this in {language you already know}.

这篇关于学习不会使用的语言的好处的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 11:06