summaryrefslogtreecommitdiff
path: root/content/entry
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2022-12-20 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2022-12-20 00:00:00 +0000
commite1d96d68e929adec8d04b1b7fef3e46688c88724104de2f54065465c55594b2d (patch)
tree0b904141965272da96aae1335df26eed7117160ed1652686a809da6cefced37c /content/entry
parentc00dd6bcbe37243a1952a33d76b75f5cc60f10cfcb4b62befbebee9f790bb138 (diff)
downloadjournal-e1d96d68e929adec8d04b1b7fef3e46688c88724104de2f54065465c55594b2d.tar.gz
journal-e1d96d68e929adec8d04b1b7fef3e46688c88724104de2f54065465c55594b2d.zip
New entry: the-most-overused-programming-language
Diffstat (limited to 'content/entry')
-rw-r--r--content/entry/the-most-overused-programming-language.md19
1 files changed, 19 insertions, 0 deletions
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/)