DEV Community

loading...

Discussion on: What's the hardest part of JavaScript you've had to deal with?

Collapse
vimmer9 profile image
Damir Franusic

The ecosystem around it, npm and the apsurd number of dependencies for simple web apps. I also think it doesn't belong on the backend. Just my opinion, people mostly disagree and praise node.js like it's some sort of miracle, which it surely is not.

Collapse
deleteman123 profile image
Fernando Doglio Author

Interesting take on it! What's your back-end tech of choice then, if you don't mind me asking? Thanks for sharing!

Collapse
vimmer9 profile image
Damir Franusic

I don't usually do fronted stuff, my domain in backend C network programming. In the past year I have used both React for UI and Node for backend. I decided to reverted to my good old friend Php and store the data in mysql od postgres. Also, I just couldn't stand that MongoDB abomination.

Thread Thread
deleteman123 profile image
Fernando Doglio Author

Hahaha, interesting! I wonder why that would be, I want to keep asking you questions! What's so wrong about Node that you rather work in PHP?! I worked in PHP for almost 10 years, I couldn't see myself going back to it...
And you're not happy with MongoDB? I mean, it's not perfect, but neither is any product, so why the hate?

Thread Thread
vimmer9 profile image
Damir Franusic • Edited

Don't know, personal preference for PHP. I also got used to writing SQL and working with mysql cli.

Thread Thread
patrickdesign profile image
PatrickDesign

So your arguments basically boil down to "I'm not used to these tools, therefore they are an abomination" ?

Thread Thread
vimmer9 profile image
Damir Franusic

No I said it's a personal preference. I used the word abomination in the context of MongoDB because SQL language is in my opinion much better for fetching data and has been a standard for a long time. I didn't like the custom filter syntax of MongoDB. As far as performance goes, I haven't tested that but the word is that MongoDB excels at writing lots of data. Btw I'm not really obsessed with mysql either; been using postgres a bit lately.

Thread Thread
rabatelr profile image
rabatelr

I dont see why using Nodejs would force you to connect your app to mangodb? And I agree with Patrick, you obviously don't know enough to deliver such a strong statement as "abomination" as SQL and noSQL are for different uses. You should use one or the other according to the needs of your project.

Thread Thread
vimmer9 profile image
Damir Franusic

Well again, personal preference. I know that MongoDB is better when you're dealing with high number of write ops (CDRs for example) and I know enough to construct my own opinion. I'm sorry if anyone is offended by my choice of words. Node can also work with both SQL and noSQL, I'm aware of that. Any DB software is a great achievement and I'm aware of the effort involved. To each their own, at least we have options right?