Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even string splitting in Go isn't that bad, frankly.

    words := strings.Split(wordList, " ")
    foo := words[0]
    if len(words) > 1 {
      bar := words[1]
    }
Where things can get a bit tedious is data conversion from byte buffers, like reading in data from disk or Redis or something. But that's no different from any other statically-typed language.

I would like to see more libraries in Go, though. Much of what's complex is there, but one of the benefits of languages like Python and Ruby is there are lots of libraries for the easy stuff, too. Having to write a data model validation library yourself is boring.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: