No, really. Why the fuck is it so shit?
You may have noticed that the blog looks nicer and isn't made up of like 20 directories and html files now.
It's because I've rewritten it to use Javascript to dynamically load each post and shove it into the page you're using to view it.
I made it this way to help with writing these, as instead of copying a massive template and making a directory for each year, month, and day, I just have to make a post file with the correct date and update a txt file to add new posts.
This will make writing and updating the blog much easier, and will help users find older posts, should they want them.
So why am I bitching about JS? This is clearly an improvement from how the old blog system worked, and will help cut down on file size since I only have 1GB on Neocities.
I have many complaints about JS. I come from a peaceful land where everything is clearly defined, and any errors encountered are the user's fault, not that of the benevolent gods that made the language (mostly)
In C#, everything is typed, which means an object can only hold a specific type of data. A string cannot hold an integer without making it into a string and an integer simply just can't become an integer without some parsing.
Javascript's developer woke up from a mean party where he got disgustingly drunk, took a look at what other programming languages were doing, and considered them to be sinners who needed to be purged.
In only a couple drunken days he had created a scripting language that was so horrible it makes most application developers want to vomit.
Javascript throws out all sense and tells you it's your fault for thinking that that object you're taking into a function was a string, when in fact it was an object containing a string in some random fucking property deep within.
Variables not being typed makes JS a bitch to program for. C# will let me know if I'm being a moron by putting an unsupported Object inside a function that takes a different Object. It will hurt my feelings, but it at least tells me what it wants and leaves it to me to fuck it up.
Javascript doesn't care that I just tried to format an Object as a string. It won't tell me I'm wrong. I'm just left there to stare at my code and wonder what the fuck I'm passing into the arguments that's making it pissy. It will tell me something is wrong, but when I open my mouth to ask it what is wrong, it takes the time to piss in it.
I'm probably just being unfair towards JS, but how can I not? This language is a massive piece of shit that we only keep around because it was one of the first languages "designed" for the web.
It was not made with sense.
It was not made with reason.
It was made because noone told the developer to step back and really look at what they made before pushing it out to the public like a disease.
I know this post is quite hostile towards JS, but it's because I'm frustrated. There are no JS alternatives because to do so would need every single browser to agree on the language, implement it, and patch any holes that are found in the code for the language.
If we were ever given another language, then the same thing would happen there, except instead of it being a dead standard riddled with security holes, it'd be a new language that only some browsers would immediately adopt.
It'd only fracture the internet more to implement a new language for doing scripting on webpages, and I wish that wasn't the case.
We need something better than Javascript. No, not some extension to it like Node.JS, I mean a real replacement, not a sewed on patch on top of many other patches.
I really wish we could have something akin to Flash again. I liked the fun websites made with it.
I miss the fun little websites I'd find when I was younger which had weird gimmicks and wacky looking pages where people expressed themselves through flashy visuals and bright colors.
If you ever take a look at BlogGenerator.js, it's quite simple, but it took a while to make JS happy with it.
It took 3 attempts over 2 days to get it to work, but I quickly remembered why I genuinely hate this language with all my soul.
If I had a way to do C# on the web on Neocities, I would. I really would.
It'd be more familiar, sane, and easier for me to diagnose the issues I run into with it.
The world is a scary place right now. I believe during hard times like this, it is best to look at the bright side of things wherever you can.
One of the things I've been quite happy to see through all of what recently happened with hurricane Helene was to see communities come together to provide for one another.
The college I'm attending has made a real effort to help students through these times. Due dates have been extended, teachers have been taking days out of their classes to help with the recovery efforts, and the school is putting together a fund for those affected to receive financial help.
That type of comradery and selflessness is what makes me think that despite everything happening around us, everything will work out just fine.
As long as someone cares about someone else, we can pull each other up and face any challenge given to us.