Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I avoid SQL not for the notions, or concepts behind SQL Databases, but for the SQL itself; the LANGUAGE of it all (specifically the syntax).

Nowadays I work with things like ActiveRecord and Mongoid, which add an abstraction layer on top of the literal interface language. However, at the very beginning of my intro to databases (quite recent, last 6 months), the prospect of learning a new language just to talk to databases was off putting. The notion of documents and fields made more sense to me, as it was more comparable to a file system. SQL tables, rows, and columns were daunting and seemed like a relic of paper spreadsheets.

The ecosystem around SQL solutions if clearly far more developed though, however I don't think we should avoid non-SQL solutions for that reason.

Give the alternatives a chance to develop.

Don't look at MongoDB through SQL tinted lenses.



Having to know yet another language is annoying, but mongo has one too (and one that's less consistent and powerful).

A good SQL library (like SQLAlchemy) lets you easily build queries without looking at SQL. The only case you might have to is debugging, which is the same time you'd be looking at mongo queries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: