I fully agree with the premise but many times, it's just way too hard to actually predict the production problems you will have even with your most favourite tech.
Truth is that while working in a corp you can't see the big picture of seeing a project through from start to finish.
For example, I am helping on mostly good faith -- and at about 30% of what I'd normally charge -- a friend to bootstrap their website / platform and even though I use language and tech I very much like and I am the dictator of the backend, 95% of the work is extremely boring and it's just "make this controller, make this API endpoint, wire this object to that other object, integrate this payment provider" etc... Combine with the universally bad deployment experience of basically 99% of the languages out there and things aren't really that glorious even if the tech is much better than what you worked with your entire life beforehand.
What I am saying is -- even for every experienced programmers it's very hard to make an accurate prediction.
But if there's one metric I always use, it's this one: "does the tech stand in my way to productivity and waste my time with details I shouldn't care about?" -- if so, I try to ditch it (not possible with JS but still, there are transpiled languages and frameworks that make things better).
Truth is that while working in a corp you can't see the big picture of seeing a project through from start to finish.
For example, I am helping on mostly good faith -- and at about 30% of what I'd normally charge -- a friend to bootstrap their website / platform and even though I use language and tech I very much like and I am the dictator of the backend, 95% of the work is extremely boring and it's just "make this controller, make this API endpoint, wire this object to that other object, integrate this payment provider" etc... Combine with the universally bad deployment experience of basically 99% of the languages out there and things aren't really that glorious even if the tech is much better than what you worked with your entire life beforehand.
What I am saying is -- even for every experienced programmers it's very hard to make an accurate prediction.
But if there's one metric I always use, it's this one: "does the tech stand in my way to productivity and waste my time with details I shouldn't care about?" -- if so, I try to ditch it (not possible with JS but still, there are transpiled languages and frameworks that make things better).