Live data from Hacker News

Go is amazing, period.

poincare101.blogspot.com

21–30 of 241 posts

Re: Go is amazing, period.

#21

Here's a summary of the article: * author cannot write portable C sockets code * author cannot handle C/C++ * author believes his app would be too slow in Python, later abandons App, but retains his bias against Python * Go has no parens for if/for * Go has unicode support * Go has closures "like salt shakers" * Go is cohesively designed * Go has nice libraries Go may or may not be a good language, but this kind of a…

* Author is 14 years old

Even if I was 59, I still think that the comment above is quite misinformed.

Re: Go is amazing, period.

#22
post #8

A lot of great and capable languages are overlooked. The question is how do they overcome the opinion, hearsay and preferences that are louder than the truth? Too few devs: - truly give something 5 minutes before jumping to their foregone conclusion. - admit that most languages with a decent capable and decent programmer are all, pretty equally equipped. - every language + framework has it's pros and cons.

I didn't give Lisp 5 minutes; something I still regret (could have learned it so much earlier!)

Re: Go is amazing, period.

#23

Is there currently a good web framework for Go? Edit: web.go looks pretty sweet: http://www.getwebgo.com/ Edit2: As does app.go: https://github.com/georgenava/appgo ...There's a large list of Go projects here: http://godashboard.appspot.com/project

I've used web.go successfully before; its quite nice.

Re: Go is amazing, period.

#24
post #9
post #6

I'd love to have Python library availability in a staticly typed language.

Many statically typed languages have excellent library support. At this point Java, for example, has all of the libraries that Python has, and more.

Haskell also has (pretty) good library support (talking about "batteries included")

Re: Go is amazing, period.

#25
post #8

A lot of great and capable languages are overlooked. The question is how do they overcome the opinion, hearsay and preferences that are louder than the truth? Too few devs: - truly give something 5 minutes before jumping to their foregone conclusion. - admit that most languages with a decent capable and decent programmer are all, pretty equally equipped. - every language + framework has it's pros and cons.

Go has the advantage of being developed by Rob Pike and Ken Thompson. It also potentially has the marketing muscle of Google behind it, although the most I've seen so far is free stuffed Gophers at OSCON.

Type safety, easy concurrency, static checking, C-like syntax, fast compilation time, concise syntax, etc. Java is ripe for replacing as the default language for (new) large systems. The replacement could be another language on the JVM, but I think Go has a good shot.

Re: Go is amazing, period.

#26
post #9
post #6

I'd love to have Python library availability in a staticly typed language.

Many statically typed languages have excellent library support. At this point Java, for example, has all of the libraries that Python has, and more.

It's mainly a bad impression then, that w/ Python every document is to the point and with Java an outsider can't do anything?

I'll try to build my next project on top of github.com/codahale/dropwizard

Re: Go is amazing, period.

#27
post #7
post #3

I like go. As a guy who really doesn't like javascript I like the structure of GO. I like really structured languages. For anyone who like the mobile/desktop type of programming this seems like a refreshing change.

Er, JavaScript is a structured language (meaning it doesn't mandate labels and goto for control flow).

Many programmers educated in the OOP days don't know the term "structured programming". I once interviewed someone who called a Pascal-like language "functional". We hired him anyway.

Re: Go is amazing, period.

#28

Here's a summary of the article: * author cannot write portable C sockets code * author cannot handle C/C++ * author believes his app would be too slow in Python, later abandons App, but retains his bias against Python * Go has no parens for if/for * Go has unicode support * Go has closures "like salt shakers" * Go is cohesively designed * Go has nice libraries Go may or may not be a good language, but this kind of a…

I usually wouldn't respond to mean comments, but, this one really throws me off (I'm the OP). There is a very strong difference between "cannot write" and the need for something to be simple. I can definitely handle C/C++, and I don't think writing something in a higher-level language changes that. If something is doing processing with 4000 threads with around 10 years worth of by-the-minute data, it sure as hell wil…

Are you processing data using 4000 threads? Do you have access to a cluster? Otherwise it seems counter-productive. BTW, Python has great facilities (IPython.parallel) for doing parallel and distributed computing. It is also pretty good at number crunching using Numpy.

Re: Go is amazing, period.

#29
post #6

I'd love to have Python library availability in a staticly typed language.

Not to push the issue, but Go's standard libraries are fairly decent for being minimal and are dead simple to use. The docs have a good mix of examples and quickly parseable information.

Re: Go is amazing, period.

#30
post #10

Is there currently a good web framework for Go? Edit: web.go looks pretty sweet: http://www.getwebgo.com/ Edit2: As does app.go: https://github.com/georgenava/appgo ...There's a large list of Go projects here: http://godashboard.appspot.com/project

unlike other languages, a framework isn't as much of a requirement in Go since the Go standard library includes an http server, json serialization/deserialization, html templating, email, logging, basically everything you need in a web app. The url routing is pretty crappy, but that's my only real gripe. ngmoco's Falcore is worth looking at: https://github.com/ngmoco/falcore

Gorilla's mux adds much more capable and advanced routing. It's really nice to use it with subroutes, etc. Again, dead simple partly because it's designed well and partly because Go makes it easy to build.

http://gorilla-web.appspot.com/pkg/gorilla/mux/

If you want something more lightweight (Gorilla's not "heavy" by any means) there is pat (formerly pat.go)

https://github.com/bmizerany/pat

Post reply on HN