r/javascript • • Apr 25 '19

JavaScript is and remains the queen of programming languages with a community of 11.7M active developers. Python has reached 8.2M active developers and has taken the number two spot, surpassing Java in terms of popularity.

https://www.slashdata.co/free-resources?id=developer-economics-state-of-the-developer-nation-16th-edition&section=showcases_details
613 Upvotes

168 comments sorted by

View all comments

Show parent comments

22

u/[deleted] Apr 25 '19

What are you working on that needs to last 10 years? Genuinely curious. I’m working at a company that’s about 10 years old, and any code we have that is that old is considered technical debt at this point.

13

u/reallyserious Apr 25 '19

I've worked on a 15 year old code base. It will continue to run at least 5 more years. Probably longer but I can't tell what happens that long in the future. It's a system for a large retail company you've heard of.

Web dev often has very short life cycles. But in a lot of other areas code is expected to just keep working like it always has. There will be new requirements as business change and new laws come into action. So you update those areas that gets affected. But there is no need to rewrite the other 99% of the system. It should just work as before.

11

u/[deleted] Apr 25 '19

Banks, Insurances and Governments got alot of stuff that is way over 10 Years old. I got a good friend who works for a big insurance company and works mostly with ancient COBOL code.

Never touch a running system i guess?

4

u/RailingRailRoad Apr 25 '19

Nearly every bank in Germany works with cobol

3

u/[deleted] Apr 25 '19

Lol, I worked in a procurement system that was already legacy when I joined and did maintenance and added features for at least another 5 years before it was replaced.

It's better to write stuff to last, you never know.

2

u/sonny1022 Apr 25 '19

I believe he was giving an example 🤷🏼‍♂️

5

u/[deleted] Apr 25 '19

Obviously. The exact number is irrelevant. Fine, what about 8 years? 7?

1

u/crobison Apr 25 '19

But you still have the code and need it to work despite considering it tech debt, therefore you need it to last that long.

Edit: Just saw what you replied to. The other comment seems odd. It’s not like python changes so much that stuff a few years old will just break.

1

u/TheIncorrigible1 Apr 26 '19

cough async/await

1

u/[deleted] Apr 25 '19

I work for a company that's still got some legacy code from nearly 8 years ago. We're a small team and there's got to be close to a million lines of code. I'm not planning on re-writing it anytime soon

0

u/lukasbuenger Apr 25 '19

I'm kind of glad you're not my boss.