sdboyer / gogl

A graph library in Go
MIT License
77 stars 13 forks source link

Consider granulating the interfaces further #4

Closed sdboyer closed 10 years ago

sdboyer commented 10 years ago

having relatively thick (5+ method) interfaces is not very idiomatic Go. while there is a considerable risk of interface profusion already, there are some cases where it's already hurting to not be able to typehint something more specific.

clearly the basic Graph interface still needs to stick around, but it might be good to chunk that into some smaller interfaces, then treat it as a composition of those.

sdboyer commented 10 years ago

yeah, this is a definite. and also, all set.