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

My opinion is to stick to plain SQL, but to use tools around if you like: query builders, transactions utilities, mappers.

But no ORM for me, thank you. I have already given.



I tend to agree, but in static languages, reflection engines are usually needed to automate or simplify mapping, and reflection can get messy. Static languages are not designed for CRUD, in my opinion (without a revolution in frameworks, at least). Look at the square-bracket "annotations" or "attributes" in C#. Isn't that kind of info that classes or object instances were supposed to define, such as fieldx.maxLength=30;? Square brackets are a kludge.




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

Search: