Skip to content

Comment on Opossum: Cross-platform web browser written in Golang, optimized for Plan 9parent

Comments

What difference does that really make? In Go, all files in a directory share a namespace. I think the only impacts of splitting a file are build tags and shortening the import list, and neither really applies here.

Those components you listed could be in separate packages, but in a program this small that seems merely different, not better or worse.

What difference does that really make?

Depends if you want to continue developing this (or any) project

If you want, then it makes huge difference, the faster you refactor it, then the easier the development will be.

If you want to stop putting effort into it, then there'll be no difference.

One file doing everything is almost always more annoying than stuff splitted correctly.

Not just for continuing development in general, but it would be nice for potential contributors too!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.