JavaScript broke the web (and called it progress)

aeric

Expert
Licensed User
Longtime User


After so many years I still can't convince myself to like JavaScript.

Today I tried to backup files from my laptop. Having B4X Objects folder is not a problem until I found GBs of node_modules (some are hidden) in my web projects folder that take up half size of the SSD.
 

aeric

Expert
Licensed User
Longtime User
Thanks Erel.

I like develop with B4X.
Unlike other languages, the project files are less overhead.
 

Mashiane

Expert
Licensed User
Longtime User


After so many years I still can't convince myself to like JavaScript.

Today I tried to backup files from my laptop. Having B4X Objects folder is not a problem until I found GBs of node_modules (some are hidden) in my web projects folder that take up half size of the SSD.
Interesting read, just started the Collateral damage section... its long.. ;)
 

aeric

Expert
Licensed User
Longtime User
I think most Javascript developers nowadays won't agree and don't want to accept the fact.
They never seen the good old days. Really.
Development really don't need to be so complex.
It is now messed up already. Because some "people" force us to use it.
My preferences are jQuery and HTMX.
 

alwaysbusy

Expert
Licensed User
Longtime User
I've never liked any of those frameworks (even jQuery is a bloated JavaScript framework IMHO). In BANano, we always try to use as much vanilla JavaScript and HTML as possible. Super lightweight and fast. And browser side only, I dislike node.js. Plenty of better backends. And I personally do like jetty (jServer) here in B4X. Nothing wrong with JavaScript itself, I like the language. It is the (ab)use of it.
 

cklester

Well-Known Member
Licensed User
Today I tried to backup files from my laptop. Having B4X Objects folder is not a problem until I found GBs of node_modules (some are hidden) in my web projects folder that take up half size of the SSD.
You don't have to (and should not) back up the node_modules folder. That can quickly and easily be recreated with "npm install" using your packages.json file whenever you would need to restore the project.
 

aeric

Expert
Licensed User
Longtime User
You don't have to (and should not) back up the node_modules folder. That can quickly and easily be recreated with "npm install" using your packages.json file whenever you would need to restore the project.
I know but I need to find these folders one by one and delete them.
 
Top