84

Our project is a legacy of all legacy projects. The developers imported the third-party libraries by copy-pasting the whole source codes into the project. Ohhhh yeahhh!!!

Comments
  • 0
    Noooooooooooo
  • 3
    What language/lib is that. It's not so uncommon in some of langs where you are not sure if the code will be online tomorrow or not ...
  • 4
    Been there, done that. One of the copied libraries was actually the whole Android stock camera app.
    And we have no idea what they used that source code for.
  • 2
    I've encountered something similar in the code I'm working on. Yesterday I was mindlessly fixing sonar issues when I noticed I was fixing issues in a third-party library which was copy pasted into the project. 😢
  • 1
    My condolences fellow developer.
  • 1
    Not always a bad idea. Don't put too much trust into artifactories. Look at what happened with npm packages that were removed, a lot of stuff broke because of it.
  • 0
    How do you mean copied? Is it bad that on the client side I usually try pulling jQuery and Bootstrap from CDNs and if they are down I pull from copies that I am statically hosting?
  • 0
    @mrtnrdl so would you then recommend not having a server copy in case of cdn failure?
Add Comment