This is concise and easy to understand. :-D
--
André Moraes
http://andredevchannel.blogspot.com/
On Wed, Jun 15, 2011 at 1:13 PM, Russ Cox <r...@golang.org> wrote:
> package main;import."http";func
> main(){ListenAndServe(":8080",FileServer(".","/"))}
>This is concise and easy to understand. :-D
Don't forget ruby
"Concise" means providing a lot of information in a way that is both
brief and easy to understand. People often forget about the crucial
second part of the equation.
On 06/17/2011 02:42 PM, konrad wrote:
> The same program in Python by the way looks like this
>
> import SocketServer, SimpleHttpServer
> SocketServer.TCPServer(("", 8080),
> SimpleHttpServer.SimpleHTTPRequestHandler
> ).serve_forever()
>
>
> And no I don't consider Go particularly consice, incomparison to most
> other languages but then again it is not trying to be as far as I'm
> aware. Its just that Java is very verbose (Object oriented programming
> style tends to lead to verbosity, and when thats what your language is
> about ...).
>
> On Jun 17, 4:39 am, Roberto Bayardo<baya...@alum.mit.edu> wrote:
>> But "concise" usually means "unreadable& unmaintainable code" (I'm looking
And no I don't consider Go particularly consice, incomparison to most
other languages but then again it is not trying to be as far as I'm
aware. Its just that Java is very verbose (Object oriented programming
style tends to lead to verbosity, and when thats what your language is
about ...).