re: Who's going to write us a post on alternatives to mongoose ? VIEW POST

re: I understand. It is very convenient to use JSON as a hash of keys and values without a pre-defined structure. I generally work with typed languages...

Maybe I shouldn't have commented

At least for me your comment was a valuable insight :)

I generally work with typed languages, so regardless of data store my data usually has an expected structure.

In typed languages I do (obviously) have a model for my data, but in js where (in my case) large part of the model is of no interest to me and changes rapidly, I prefer to just clearly separate data and functionality, and work without model at all. (It does mean I need more validation, but I can put off validation to where I actually need part of the model)

code of conduct - report abuse