Then you do not do Javascript, because it is an interpreted language.
Edit: or Python, or a command line shell, or any CORS, or databases, or... Well idk really what you do use honestly.
Then you do not do Javascript, because it is an interpreted language.
Edit: or Python, or a command line shell, or any CORS, or databases, or... Well idk really what you do use honestly.
Now that you mention it, it is a bit funny how Lemmy is hating LLMs as a code generation tool while also hating on the interpreter for their own hand typed code not running.
It was never intended to run full applications but only the small business scripts and hobbyist homepage stuff that were the thing in the 90s, across inconsistent browsers that were a jungle of hit and miss behaviour where it was preferred that menus keep working even if the mouse effect was not. Anything of scale was expected to be done in Java. Dynamic web pages did not exist and as anything not static was generated server side into a static html file to be rendered on the client.
Anyway, back then it wasn't considered the job of the programming language to hold the hand of the aspiring developer as it is common today. It's not a bad thing that IDE and even compilers and preprocessors try to help you write better code today, but then it simply didn't exist.
JavaScript is from a different time and because it has the hard requirement or backwards compatibility there is no changing it and has not been for thirty years except to add stuff to it.
I think it's just silly to ask the past to keep up with the present. Bad code is not the fault of the language regardless, even though junior devs and even seasoned ones like to think so to protect their ego. I think it is better to accept it, learn from it and roll with it because every single platform and language has their weird quirks anyway.
Signed, old dude that learned programming in 8 bit BASIC and 6502 machine code without an assembler, where code bad enough would freeze your machine that required a cold boot and starting over from your last save that you didn't do.
People that try to do mathematical operations with strings blaming the programming language that had a stated design goal to do its best and try to keep running scripts that make no sense because they realized it would be used by people that have no idea what they are doing. Clearly they were right.
This is also the rationale to people defending Nazis because "it's just their opinions".
No, it is not "just opinions" when you want to terrorise and murder other people simply for having been born. It is not "just opinions" that you want to abolish democracy for a totalitarian police state. It is not "just opinions" that you manifest that you are working towards this society. It is not "just opinions" that you express this in public in order to make other people live in fear for your "opinions" to become reality.
It is violence. And violent aggression is justified to be met with violent defence.
Punch a nazi today, kids. Every day is punch a nazi day.
Edit: Sorry, I went wild and somewhat unrelated. I didn't intend to diminish the topic of womens rights. Every day is of course also a punch a sexist day, regardless their other opinions.
I don't want to speculate.
I knew an Italian exchange student that kept whining that nothing tasted good and nothing tasted as it should up here in Scandinavia. Then another exchange student (from Thailand I think) got tired of him and told him ~"the rest of the world isn't your mother" and it was a literal moment of realisation for this dude.
This dude manages to make his declarative nazi salute at the presidential inauguration and the world is watching look like he is a ten year old trying his best to be edgy in school assembly. How is it possible to be a central character in the midst of evil and be so fucking cringe?
Because corporate greed and the economic elite around the world hoarding more resources than ever before.
And we let them.
Because december is consumerism celebration burn all the money month and January is poor af.
The first sequel is so so, but the others that are all centered around Burt Gummer are plenty of silly fun too.