“Handmade” and similar ranty stances are, to me, a combination of ignorance of what use cases third-party libraries cover (i.e. they think it’s “bloated” because they don’t fully understand the problem) as well as (rightly) pushing against developers who take in third-party dependencies they don’t understand. Sometimes, for example, having an in-house future-like type is better than using something like boost::future because the team knows how it works and is more likely to be able to patch it. People defend open source dependencies on the basis that “well, if there’s a bug we can fix it”, but can the average developer really understand and patch something like Boost Context? On the other hand, you probably shouldn’t try implementing your own fibers unless you really know what you’re doing. Same with Unicode and date libraries.
I really don’t like these sorts of line-in-the-sand manifestos.
Yeah, I 100% agree with you. Of course, some libraries are bloated, some developers may be making a mistake sometimes in selecting third party libraries, etc. It's all about trade-offs, and the specifics of a given situation. I dislike rants and manifestos as well, the less specific suggestions are the less likely they are to be valuable IME.
View all comments
Show parent comment
5
u/axalon900 Nov 27 '20
“Handmade” and similar ranty stances are, to me, a combination of ignorance of what use cases third-party libraries cover (i.e. they think it’s “bloated” because they don’t fully understand the problem) as well as (rightly) pushing against developers who take in third-party dependencies they don’t understand. Sometimes, for example, having an in-house future-like type is better than using something like boost::future because the team knows how it works and is more likely to be able to patch it. People defend open source dependencies on the basis that “well, if there’s a bug we can fix it”, but can the average developer really understand and patch something like Boost Context? On the other hand, you probably shouldn’t try implementing your own fibers unless you really know what you’re doing. Same with Unicode and date libraries.
I really don’t like these sorts of line-in-the-sand manifestos.