My website

sign my guestbook!!!

thank you!!


Todays song!!!

Live Again - Mori Calliope - spotify


Site pages

please press ctrl + shift + r if the page isn't loading correctly

9/19/24 - js


WARNING WARNING I HAVE NO IDEA WHAT IM TALKING ABOUT (probably)

Javascript kinda sucks. its a lot better now than it was a few years ago ofc but still. theres a lot of odd things about js such as how NaN !== NaN but regardless of this it is one of the easiest languages to learn due to the sheer amount of resources compared to almost anything else.

And am I even a real developer if I write js? I don't really know any other languages and most people use typescript nowadays but i have a big problem with typescript. I do programming for fun. and its really important for me to have as much control as possible.

When writing a compiled language or a desktop app - you can always go lower. you could always write assembly if you wanted to. that would give you as much control as you could possibly have, but writing assembly is. not easy to say the least. and js on the other hand is the lowest level there is if you want to write things for the web (yes there is wasm BUT ill get to that later). I can have full control over everything without having to write assmebly!! wow!

The web is also pretty cool in my opinion because a browser is something almost any device will have. You can share things with everyone!!! and that is pretty cool. But. What if someone is on an older browser and it doesnt work with your website.

Why I like js

In virtually every other language backwards compatibility isn't a problem. If it's interpreted - just download a newer version? if it's compiled - you dont really have a choice. backwards compatibility will depend on the compiler so its up to what language you chose in the first place. javascript is unique in that you dont know how the end-user's browser will interpret your code.

I like to make things. I like programming especially because of it's consistency. But different browsers, interpreting things differently is. not very consistent. which is. a bit of a problem. so to solve it? just make everything run on chrome 1. nobody uses browsers that old anymore anyways and chrome 1 was released after all the necassary things were added already so its perfect!! And in my opinion, writing everything to be as backwards compatible as possible is extremely fun because of the limitations

Back to WASM. I would use it because it's lower level but not that bad. it seem like it would be fun to write in WAT. except its only supported by modern browsers....

Another thing about js is minification. code golf is very fun for me but. it doesn't have any real applications. If youre writing interpreted, you're probably not worried about speed or size - if you were, write compiled. and if youre writing compiled, smaller source code doesnt necassarily mean smaller or faster binaries.

However, in javascript, code golf has an actual purpose!! minification is everywhere!! and that is pretty cool. imo.

Why I don't like js

it is very Odd.

I had a link at the top of the page to eevee's blog which explains everything pretty well. some complaints which i dont even have because i suck at webdev :3. but ofc that article was about how js has gotten better.

except I hate writing js that isn't backwards compatible... so i have to deal with a lot of. Odd things. my biggest complaint is this. omg. i hate this so much. its probably just because im stupid but. why does this exist....... I cannot understand how this works OKOK this is probably gonna be me being stupid but in my opinion. this is not very intuitive.

Lets say you have the following code

  var obj = {
    constructor: function() {
      this.xyz = 0;
    },
    func: function() {
      console.log(this);
    }
  }

How come normally this refers to the parent object but when you use new now its. an empty object?????? but what if i wanted to get the parent object in my constructor function?? do i have to use obj now? this is probably just me being stupid but imo this is very annoying and unintuitive

Another thing i dislike but this might just be me in general and not rlly js. somehow I always end up writing so much boilerplate. this might be because i dont't like using libraries - again, i like having as much control as possible. but maybe I would use js libraries. IF NOT FOR THE FACT THAT NOTHING IS BACKWARDS COMPATIBLE ANYMORE....

that isnt really a fault of the language itself but. oh well.

I have no idea how to end things. wow this was probably very messy and i didnt proofread anything :3 thank you!!!!!


Tested on Firefox 130.0.1 Windows 64-bit

Cool websites!!!

morikei max's apartment remblanc trademarkization company of 2003 axel starry lilly mars

webrings




random

What Dere Type Are You? Valid HTML 4.01 Strict Valid CSS! nekoweb