Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's worth mentioning regarding the IFoo example that in a single project you can always just find/replace FooBase with IFoo or even FooBaseV2.

I feel like a lot of people blow this up like it's so e huge problem when in reality this is a pretty trivial refactor.



Not if you're writing a library/framework that other people use though.

If all you do is consume other people's library/frameworks then yeah, nothing really matters, do whatever you want, refactor at will.


Yeah, that's kind of my point. I agree that api design is important if you're publishing a library, even for internal use - that's why I said "in a single project".

It seems to me that a lot of people obsess a bit too much about this stuff in places where it doesn't matter.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: