[AskJS] Are there people using vanilla JS? If so: What are you doing with it?
Everything seems to be about APIs, frameworks, libraries and installable serverside modules nd compiling static sites before deploying them to the web.
But are there still people using vanilla JS? The oldschool stuff that simply runs in the browser by adding <script src="....."> to the HTML's head area without having to set up a "full stack node react latest-buzzword development environment"?
So, all vanilla JS users: What are you using JS for?
For a private project I wrote a custom client-side router and some asynchronous fetching and displaying functions with some logic to format stuff as needed. Total files amount including the index.html: 3. All fully flexible and customizable as needed for the specific project, zero overhead.
Posted Apr 6, 2023, 9:51 AM UTC
I work with vanilla Js.
My environment is sealed. And any library has to go through an intensive inspection to be approved for use. 4 weeks to be able to link bootstrap cdn. Imagine a JS library.
I asked to use date.js and never got an answer.
Are there plans to migrate to TS at any point?
Ahahah that's the first thing I said when starting.
No. A language change would require...well. A revision of the whole language by security. And then, we would rewrite the entire system and get them approved part by part, which would be time consuming and worth a fuckton of money.
They prefer to have a big, very difficult to maintain shit.
That seems... Idiotic.
It is. Big corp. Finance.
All the shit moves sooooo slow is infuriating.
But I guess you can't gut a system distributed across 3 continents with thousands of users, 24/7.
It's their rules, so I have to play the game. Quite interesting. I'm there because they are doing fucking crazy things with GCP and AI and I want to get into that.
Right now I just have to hold the project as lead dev for some months more, and then I will go to that team. Less money but bleeding edge shit. You can't have everything. And management in a big corp is a mess, to be honest.
I meant it really is not. If you are working on critical systems stability and security are the number one priority.
Oh god are you operating without a date library?!?!?
Nah fam, don't worry. GPT 4 is allowing me to simply gut date.js design and adapt it to my needs, cutting a lot of stuff I won't use ever.
That way, i preserve my hair, they can review the "library" at faster pace and we all are happy.