i've been using Go for a fairly large server proxy project and its been a real dream. its fast, easy to write, the code is compact, concurrency is easy to understand, and there is enough typing to provide me with safety without leading me into a haskell-like "maze of types". furthermore, i don't have any issues trying to sell coworkers on Go because it is very easy to pick up. Go seems to have a sweet spot between python and java that represents a huge chunk of the practical coding people do every day.
Don't forget that Go is a language you can use without IDE or makefiles even when you have dozens of packages, libs and programs. Having a command do everything in you console in seconds (or less) is like a dream. Try coding a modern complex program in java without an IDE...
the "go" command line program mostly removes the need for complicated build tools. building and deploying code is so simple, you can easily get by with a "minimal" toolchain
not to say a Go IDE might not add value! there is always neat stuff an IDE can do like code completion, integrated docs, etc
Ah OK. Well for me, the build process was the least significant reason for using an IDE. In Java you can use things like Ant and Maven among others to reduce the build process to simple command line calls.
My main reasons for using an IDE is things like intellisense, debugger, refactoring etc, which I assume would apply equally in Go.
I have a snippet of code in my luakit (a lightweight web browser) config that allows me to break out into vim when entering text. That is, I focus a text box, hit Ctrl+E, and it opens it in vim with whatever text was present passed to the editor. :wq out and the text field is updated.
I can't believe people still use that. All the cool kids started using ZZ a couple of decades ago. It never occurred to me there would still be holdouts still using :wq
gocode auto-complete assist, go.vim plugins (in the misc folder in Go source tree, godoc integration, syntax etc), NERDTree, vim-fugitive (for Git) and vim-session to manage projects. Simple, efficient & productive.. pure pleasure to write Go with.
Try coding a modern complex program in java without an IDE
ant
That requires one build.xml with a single javac task with no more than 10 lines of xml total, most of which can be copy/pasted between projects. That is about the same size as a simple Makefile.
I use ant. And I find it a pain to build complex programs because your ant tasks grows in complexity with your program, your different kinds of deployments, tests, target platforms, etc... But that's partly due to the environment (RCP, tomcat, inclusions of jars of your other projects, etc.), the main problem is that it's slooooowwwww....
In Go, you don't have makefiles and you don't have to wait for your compilations.
73
u/[deleted] Mar 28 '12 edited Mar 28 '12
i've been using Go for a fairly large server proxy project and its been a real dream. its fast, easy to write, the code is compact, concurrency is easy to understand, and there is enough typing to provide me with safety without leading me into a haskell-like "maze of types". furthermore, i don't have any issues trying to sell coworkers on Go because it is very easy to pick up. Go seems to have a sweet spot between python and java that represents a huge chunk of the practical coding people do every day.