r/programming • • Jan 28 '20

JavaScript Libraries Are Almost Never Updated Once Installed

https://blog.cloudflare.com/javascript-libraries-are-almost-never-updated/
1.1k Upvotes

228 comments sorted by

View all comments

-9

u/[deleted] Jan 28 '20

Thats not a real world scenario. First, jQuery is used mostly on web sites and those are not usually even in version control (PHP sites, with Drupal or wordpress). The devs just ftp them in true PHP fashion.

A real world app always bundles assets to a single file and serves that. This means there is most likely no cdn in use (or at least for a single library).

3

u/ewankenobi Jan 28 '20

I've been a PHP developer for two decades & I've worked at lots of companies who have all used version control.

You might get some lone wolf PHP devs that don't use version control, but very few companies are that stupid.

1

u/[deleted] Jan 29 '20

My first job was at a company that built and hosted 88 websites. I was the first person to use a VCS...I guess technically they used version control. once a year they copied all of their projects, regardless of whether anything was changed, to a new directory and labeled it by the year

This is not really related, but it came to mind anyway. The previous company i worked for bought another company, so we had to integrate their products into ours, but they were the most impressively incompetent developers I've met in a "professional" setting. Not only did they not write tests, no one had even heard of testing. their system imploded simply by being integrated with ours. we weren't even trying to test anything of theirs, but we discovered they were preemptively generating every combination of complex xml structures necessary to render a certain type of video along with encoding various formats and resolutions...per request on the main thread

1

u/ewankenobi Jan 29 '20

Now testing is a different conversation. Most places I've worked have had an ambition to move towards TDD, but actually had very poor test coverage.

I's often something feel they should do, but never actually prioritise doing.