主题:【原创】介绍一下Go语言(1)之前的话 -- zllwy
The short length of the code that implements a dummy webserver does not proof anything. With enough wrapping code underneath, one can write a C++ library that eventually allows a beginner to implement a dummy webserver with same LOC, or maybe shorter. Node.js can do the same short implementation for a simple web server.
The point is that the shortness of implementing things like this does not illustrate the inherent succinctness of the Go language. There should be better examples in aspects such as the easy control / expression of concurrency, etc.
For instance, in Haskell, a good example is that you can implement complex constructs such as transactional memory in insanely small LOC while that is not possible in any ALGOL60 family languages. That's the true demonstration of the power / simplicity of a language.
All in all, Go is a promising language, but not that outstandingly impressive. Or, maybe not yet.
- 相关回复 上下关系8
🙂Simplicity of Go 1 zllwy 字275 2011-01-28 22:15:23
🙂Mere syntactic sugar 1 吹西门的雪 字433 2011-01-29 01:14:46
🙂你说得也没错 zllwy 字448 2011-01-29 01:27:50
🙂You didn't get my point
🙂Haskell zllwy 字324 2011-01-29 11:53:51
🙂Bingo 吹西门的雪 字997 2011-01-29 21:27:38
🙂看来我写得很烂 zllwy 字1614 2011-01-29 22:06:15
🙂写得完全不烂,但是也许可以展得更开 4 明日枯荷包 字1269 2011-01-31 07:10:26