Go
(always google for golang)
Because who doesn't like awesome?
select {
case <-time.After(time.Second):
// run timeout code
case result := <-requests:
// run result code
}
Pointers and structs!
import "fmt"
type Awesome struct {
HowAwesome int
reason string
randomPntr *func()
}
var printCool = func() { fmt.Println("go is so cool") }
func main() {
a := Awesome{
HowAwesome: 5,
reason: "just because",
randomPntr: &printCool,
}
(*a.randomPntr)()
}
But seriously...why?
A couple reasons
- Lightening fast build times (that scale)
- Lightening fast code
- Lightening fast developers... or at least faster than before
- Concurrency
- Deployment
- Great tools in the language (fmt, imports, test, pprof, race detector)
- Great frameworks already appearing (Revel, Martini, Gorilla, gorp)
- You "can't" write bad code (go at least makes this more difficult to do)
- It makes programming fun again!
Why this Meetup?
- Go is growing, and I want to help share how amazing it is with others!
- Learning/projects/feedback ---> open source community
What do you want out of it?