Upgrade to Pro — share decks privately, control downloads, hide ads and more …

To Go or Not To Go : that is the question (Geeks Who Drink発表資料) / To Go or Not To Go

To Go or Not To Go : that is the question (Geeks Who Drink発表資料) / To Go or Not To Go

6月28日のGeeks Who Drinkで、ヌーラボのJuliusがお話しした、Golangに関する発表資料です。

[email protected]
PRO

June 28, 2017
Tweet

Other Decks in Programming

Transcript

  1. –Phil Karlton
    “There are only two hard things in Computer Science:
    cache invalidation and naming things.”

    View Slide

  2. To Go or Not To Go:
    that is the question

    View Slide

  3. package main
    import "fmt"
    func main() {
    fmt.Println("Hello, Newbies!")
    }

    View Slide

  4. package main
    import "fmt"
    func main() {
    fmt.Println("Revenge of the Newbies")
    }

    View Slide

  5. What is the most challenging thing in programming
    for you?

    View Slide

  6. –Spielberg to Kubrick
    “The hardest part about directing is getting out of
    the car.”

    View Slide

  7. –Spielberg to Kubrick (if they were programmers)
    “The hardest part about programming is coming to
    work especially on Monday morning and start
    coding.”

    View Slide

  8. Free breakfast @nulab
    every Monday morning

    View Slide

  9. –Phil Karlton
    “There are only two hard things in Computer Science:
    cache invalidation and naming things.”

    View Slide

  10. Not everyone happy with Golang
    Because Golang is not ice cream

    View Slide

  11. Golang Design Goals
    • Light weight
    • Type safe
    • Easy to learn

    View Slide

  12. Golang is not going to give you
    anything you want

    View Slide

  13. no class
    no inheritance

    View Slide

  14. no generic
    no functional operators

    View Slide

  15. no optional type
    no exception handling

    View Slide

  16. 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

    View Slide

  17. To Go or Not To Go: that is the question

    View Slide

  18. Is Golang missing important features
    to be useful for serious project?

    View Slide

  19. –Bob Marley & The Wailers
    “Every Little Thing is Gonna Be Alright.”

    View Slide

  20. “And it will be awesome too.”

    View Slide

  21. Thank you
    Julius @Sirait
    Software Developer at Nulab

    View Slide