Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Next Steps

Alternative for sequelize?

Hi, I really dislike sequelize from the documentation to the implementation, and I really enjoy writing SQL queries. Any tips on using express and SQL without sequelize, or should I defer to raw queries in sequelize?

1 Answer

16,425 Points

Yes I find the SQL queries a lot more straightforward than using the Sequelize ORM in nodeJS. Funny you mention this. In this link https://www.quora.com/What-do-you-hate-about-programming there is a comment from user Gaurav Upasani about one of the reasons he hates programming. He states ...

The third reason is specific to web development. Every tool in web development feels extremely counterintuitive. Plus the tools keep on changing every 3 months. The funny part about changing tools is that each one claims to be superior and solve some problem but is in most cases only marginally better. Moreover The better part could have been just an update to the current tool, but no; programmers must build a new tool every damn time. Each with a learning curve so steep a mountain goat couldn't climb it. What makes matters worse is the fact that this new tool is just as useless as the previous one in tackling the actual problem. A fantastic analogy I read regarding web development was that it's akin to turning a screw with a hammer and everyone is using different coloured hammers instead of a screwdriver.