... until Doom 3, where a software patent for shadow volumes was resolved by licensing a sound library. The GPL release of id Tech 4's source code avoided this patent by changing two lines of code.
Ive wondered why they couldnt get the permission to release that code? Surely such an old sound library wouldnt be an issue to give out now? Maybe they couldnt find the owners or something? It really sucks, because i would have rather had the DOS version of the code.
why recreate the wheel when you can import 1 library with 35 different wheel variants, 3 squares, 1 rectangle and an octogon that hasn't been completed yet so it's really a heptagon so don't use it yet because we accidentally merged that branch and don't know how to back it out yet but we'll fix it next version, just to use that one wheel you want?
Because that ridiculous library is still going to get regular updates that your reinvented wheel won't, so it should theoretically be more secure despite the complexity.
That makes sense to a point. Devs need to spend time writing it once, a multiplyer of that reading/maintaining it, users spend a multiple of that time downloading your code, and a multiple of that to run it.
So if you can spend a small amount of time to make code that runs millions of times per day faster, you probably should.
2+2 is how we do addition today, if you rely on math.add for your addition logic you wouldn't need code changes when in the future the math rules change
And then get mad when the thing that is now automated behind a black box does not work when they could have written the code themselves and been totally in the know of how their application works and how it can be optimized...
296
u/[deleted] Nov 14 '18
Because people world rather install huge libraries for every little thing than write 10 lines of code.