Why don't we use JavaScript objects to store data instead of MySQL or any database? [closed]

I think you’re trying to describe Document Databases. Otherwise it’s like saying, “why do we need a database, we can just use the data structures of our languages?”

In addition to unexpected application halts there is the issue of memory and safety… If a program needs to handle a lot of data, and it is relying on its own data structures, imagine the number of objects that will have to be created… All on the RAM… Safety, there is a lot to say about that.

Browse More Popular Posts

Leave a Comment