5 ms·
I would love to see uniform-function-call-syntax. Turning: func (f Foo) name() string Into: func name(f Foo) string Callable like this: f.name() or name(f)
by thibran 9y ago
I would love to see uniform-function-call-syntax.
Turning: func (f Foo) name() string
Into: func name(f Foo) string
Callable like this: f.name() or name(f)
Extending foreign structs from another package should be possible too, just without access to private fields.
Other than that, if-as-expression would be nice to have, too.
- likeclockwork 9y agoOne of my favorite features of D.