[go-nuts] Re: Proposal: Implicit Method Signatures

2018-09-28 Thread Volker Dobler
On Saturday, 29 September 2018 00:45:32 UTC+2, Peter Müller wrote: > > [...] > getters would not have to be defined if they simply return a property. > This would remove boilerplate code. > I think I write a getter for a property once a year (at most). I can live with that amount of "boilerplat

[go-nuts] Re: Proposal: Implicit Method Signatures

2018-09-28 Thread Henry
There was a similar proposal before. Some people insist that there should be a clear separation between state and behavior. Struct is for state and interface is for behavior. I too was toying with a similar idea before. My reasoning has less to do with trying to fit into an interface, but it wa