Re: [go-nuts] Code style in golang compiler

2021-02-08 Thread 'Dan Kortschak' via golang-nuts
On Mon, 2021-02-08 at 19:09 -0800, messi...@gmail.com wrote: > Hi, > > I'm reading the go compiler source code and found the following code > style in several places: > > > > Is there some special reasons to group n,m,p to a local struct? > > Why don't we just init n the following way:

[go-nuts] Code style in golang compiler

2021-02-08 Thread messi...@gmail.com
Hi, I'm reading the go compiler source code and found the following code style in several places: [image: DeepinScreenshot_select-area_20210209105635.png] Is there some special reasons to group n,m,p to a local struct? Why don't we just init n the following way: [image: