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

> A single line can invoke arbitrary behaviour.

Isn't that true of any language with even the simplest mechanism for abstraction?

How about this go code?

    doStuff(1, 2)
It could "update some rows in a database, write a file, or make an HTTP request."


I think that's fundementally different, you know you're calling a function there.

An example in golang would be something like:

    type foo struct {
        a    string
        b    int
        c    *someOtherStruct
    }
    var blah = foo{"example", 42, nil}
    blah.b = someMagicVariable




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

Search: