Code that uses older constructs is not always bad code. It almost never means the author is an idiot.
Code that is poorly readable or badly designed is bad code.
Theres not necessarily an advantage to rewriting older code with newer versions of the same because it works.
You're kind of implying that you dont write bad code. But from your reasoning all your code is bad because a newer way will replace your code.
So many opinions about code are wrong and I think you take something too seriously when it doesn't really matter. If someone uses var rather than let, that doesn't make them an idiot, it just means they're using an older construct. The difference is so unimportant that it rarely makes a difference to code understandability or readability.
Most developers go through your phase of thinking other people are idiots because they don't know something you do. But in the grand scheme of things, it makes no serious difference to code quality. That pedantic person just wastes everybody's time in a code review and spins their wheels when they could be learning to write more understandable code.
Theres not necessarily an advantage to rewriting older code with newer versions of the same because it works.
You're kind of implying that you dont write bad code. But from your reasoning all your code is bad because a newer way will replace your code.
So many opinions about code are wrong and I think you take something too seriously when it doesn't really matter. If someone uses var rather than let, that doesn't make them an idiot, it just means they're using an older construct. The difference is so unimportant that it rarely makes a difference to code understandability or readability.
Most developers go through your phase of thinking other people are idiots because they don't know something you do. But in the grand scheme of things, it makes no serious difference to code quality. That pedantic person just wastes everybody's time in a code review and spins their wheels when they could be learning to write more understandable code.