5 ms·
this is why I like Go
by nikolayasdf123 1y ago
this is why I like Go
- timeon 1y agoIt does not have stress tests for parser?
- nemo1618 1y agoI wonder, what's the "weirdest" expression in Go? Here's one: type Foo struct{} func (Foo) Bar() { println("weird...") } func main() { ([...]func(){^^len(` `): (&Foo{}).Bar})[cap(append([]any(nil),1,2,3))]() }
- assbuttbuttass 1y agoMakes sense to me, [...]func() is an array of functions, and [...]T{index: value} is uncommon but still perfectly comprehensible
- nikolayasdf123 1y agothis the worst? not too bad. fairly comprehensible.
- yencabulator 1y agoI have a personal fondness for silly variations of type __ *[]*__
- techbrovanguard 1y agothis is not the gotcha you think it is, you just dropped your gluestick