Is JavaScript truly disliked, or is it just a trend?

I’m building modular desktop software with dynamic microservices.

I’m mainly experienced in low-level coding but need to evaluate JavaScript for this project. Are the criticisms of JS justified or merely hype?

In my personal experience working on several projects that involved JavaScript, I have come to realize that its criticisms are often more a reflection of how it is used rather than shortcomings inherent in the language itself. When applied thoughtfully, with strict coding standards and practices, JavaScript can handle complex architectures very well. I have seen it thrive in areas even beyond web development, especially when using tools like TypeScript to mitigate its dynamic typing issues. For your project involving modular architectures, disciplined design will be key in harnessing its flexibility while keeping potential pitfalls in check.

Throughout my experience in building scalable and reliable software, I’ve come to appreciate JavaScript when it is used with rigor. The language has evolved significantly with modern frameworks and rigorous testing mechanisms, mitigating many of the issues that were previously concerning. In projects where performance and maintainability are critical, embracing best practices such as strict typing and comprehensive testing can transform JavaScript into a robust tool. While it is not without its pitfalls, a disciplined approach can capitalize on its flexibility for modular architectures.