News for hackers. Stuff that matters.
Re:Porting the Go compiler from C to Go by 4ad on Friday April 25, 2014 @01:35PM (#7647886)
BSD/Plan 9 style is extremely useful because it allows grepping for functions. More specifically, it allows the creation of acme(1) addresses of the form /some/file.c:/^foo where foo is a function. In acme you can just B3-click on that string and it will open the file at the correct function...

It is also a pretty common style in the open source world.

Re:Porting the Go compiler from C to Go by raverbashing on Friday April 25, 2014 @02:31PM (#7648254)
You can do that with ctags

> It is also a pretty common style in the open source world.

Depends, one proeminent C project doesn't use that: the linux kernel

Re:Porting the Go compiler from C to Go by copergi on Friday April 25, 2014 @06:50PM (#7649558)
>You can do that with ctags

And I can do it without ctags. That's the point.

>Depends, one proeminent C project doesn't use that: the linux kernel

That doesn't make his statement "depends" at all. A single project not using that style does not contradict it being "pretty common".