6月28日のGeeks Who Drinkで、ヌーラボのJuliusがお話しした、Golangに関する発表資料です。
–Phil Karlton“There are only two hard things in Computer Science:cache invalidation and naming things.”
View Slide
To Go or Not To Go:that is the question
package mainimport "fmt"func main() {fmt.Println("Hello, Newbies!")}
package mainimport "fmt"func main() {fmt.Println("Revenge of the Newbies")}
What is the most challenging thing in programmingfor you?
–Spielberg to Kubrick“The hardest part about directing is getting out ofthe car.”
–Spielberg to Kubrick (if they were programmers)“The hardest part about programming is coming towork especially on Monday morning and startcoding.”
Free breakfast @nulabevery Monday morning
Not everyone happy with GolangBecause Golang is not ice cream
Golang Design Goals• Light weight• Type safe• Easy to learn
Golang is not going to give youanything you want
no classno inheritance
no genericno functional operators
no optional typeno exception handling
Other unusual things• Goroutine• Uninitialized var will be zero valued• Only one loop construct and no ternary if • Dependency can’t be circular• Usually only one workspace• Dependency management problem• No function argument default value• Unusual method construct
To Go or Not To Go: that is the question
Is Golang missing important featuresto be useful for serious project?
–Bob Marley & The Wailers“Every Little Thing is Gonna Be Alright.”
“And it will be awesome too.”
Thank youJulius @SiraitSoftware Developer at Nulab