当我也开始为erlang不支持全局变量开始感到不爽的时候,看到了某人的吐槽:
http://osdir.com/ml/erlang-questions-programming/2002-12/msg00142.html
[quote]
I don't know a single professional programmer that can't get by without
global variables. Furthermore, if a programmer feels he/she _cannot_ get
their work done without globals they (IMHO) either need to: 1) graduate from
college and begin working in the industry, or 2) find another career.
Erlang may need work in some areas, but the lack of globals and the inclusion
of things like single-assignment variables are _features_, not bugs. I would
hate to see these features added so that Erlang can turn into every other
language out there. The person that refuses to pick it up because it lacks
global variables and the like may never "get it"...
-Rick
[/quote]
好吧,这人(是不是大牛?)吐槽说如果你觉得没有全局变量没法活那么你要么是刚毕业参加工作的小朋友要么劝你换职业。。。
顿感无力。
http://osdir.com/ml/erlang-questions-programming/2002-12/msg00142.html
[quote]
I don't know a single professional programmer that can't get by without
global variables. Furthermore, if a programmer feels he/she _cannot_ get
their work done without globals they (IMHO) either need to: 1) graduate from
college and begin working in the industry, or 2) find another career.
Erlang may need work in some areas, but the lack of globals and the inclusion
of things like single-assignment variables are _features_, not bugs. I would
hate to see these features added so that Erlang can turn into every other
language out there. The person that refuses to pick it up because it lacks
global variables and the like may never "get it"...
-Rick
[/quote]
好吧,这人(是不是大牛?)吐槽说如果你觉得没有全局变量没法活那么你要么是刚毕业参加工作的小朋友要么劝你换职业。。。
顿感无力。