From e1d96d68e929adec8d04b1b7fef3e46688c88724104de2f54065465c55594b2d Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Tue, 20 Dec 2022 00:00:00 +0000 Subject: New entry: the-most-overused-programming-language --- .../entry/the-most-overused-programming-language.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 content/entry/the-most-overused-programming-language.md (limited to 'content/entry/the-most-overused-programming-language.md') diff --git a/content/entry/the-most-overused-programming-language.md b/content/entry/the-most-overused-programming-language.md new file mode 100644 index 0000000..687c847 --- /dev/null +++ b/content/entry/the-most-overused-programming-language.md @@ -0,0 +1,19 @@ +--- +title: "The Most Overused Programming Language" +date: 2022-12-21T00:00:00 +draft: false +--- +I am so tired of waiting ages for simple static webpages to load. They have a menu bar, side panel, header and footer, a few input fields, some buttons here and there, headings, text, and that's it. None of which requires JavaScript. The site could look identical and be faster with plain old HTML and CSS, but thanks to all the redundant 3rd-party JavaScript, it loads as slow as a turtle. + +"But Nick, bloated JavaScript frameworks make life easier for developers." They bloat up your website, waste users' CPU resources, bandwidth, and make the page load slower. Further, there are many good reasons users might have JavaScript disabled in their browsers. For them, your website won't even load correctly unless you design for it, which basically nobody does. Thanks to JavaScript, most websites I go to nowadays remind me of this meme[1]. + +"My website **needs** JavaScript." There are CAPTCHA systems which don't use JavaScript. There are big software development platforms that use zero JavaScript.[2] Sometimes you do need JavaScript, but you can accomplish a hell of a lot without it. Most websites using it don't really have a need for it. Sure using it might make development easier, but requesting for users to run JavaScript is a big ask. + +"What about website analytics? How am I supposed to know how users use the page?" You shouldn't be spying on your users' browsers to begin with. Just because the stupid Web enables nasty things like that doesn't mean you should use them. Perhaps use anonymized server-side analytics instead. + +"My job requires me to use bloated JavaScript frameworks. Using an alternative would take more time, costing the company money. I'd eventually be fired if I refused and I need my job, so not using JS is unrealistic." You probably have some leverage. Companies don't like firing people because finding a new employee takes time and money. Maybe try explaining to your employer the benefits of not using JavaScript. Sadly, there is no silver bullet for this that I'm aware of. + + +Link(s): +[1: How I Experience The Web Today](https://how-i-experience-web-today.com/) +[2: Sourcehut](https://sourcehut.org/) -- cgit v1.2.3