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

> unsurprising language

---

This is a valid Go program.

    import "fmt";

    func main() {
        fmt.Println("Hello world")
    }
This is an invalid Go program.

    import "fmt";

    func main() {
        // fmt.Println("Hello world")
    }
Surprising.

---

Creating typed general-use data structures is impossible.

Surprising.



Nope, you have to use imports. It's a little annoying but not "surprising" since the language shoves it in your face right away.


You're correct. I was in no way surprised by this language feature, and neither were any of my coworkers.

Go is a thoroughly "unsurprising" language.


A fatal error that prevents deployment is a lot more surprising than a warning.


You shouldn't even be at the point of attempting a deploy if your code doesn't compile.


Rave about porting cat to go and we'll restore your karma.


Maybe I should also blog about how I was able to keep the size increase under 50x.


neither of your example is a valid Go program.


Ha, fair enough ;) Fixed


They are both still non-compilable.




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

Search: