Re:Examples of beautiful Go?
by chimeracoder on Thursday March 14, 2013 @03:25PM
(#5377088)
Also, a regex will replace matching strings in incorrect places (like a string literal that happens to contain Go code).
You can design your regex around this, but at some point, you'll end up just reinventing a Go parser inside a hideous, unmaintainable regex. So you might as well just use gofmt.
You can design your regex around this, but at some point, you'll end up just reinventing a Go parser inside a hideous, unmaintainable regex. So you might as well just use gofmt.