Hacker News new | ask | show | jobs
by dgoldstein0 2231 days ago
Another bad one: returning a jQuery.ajax object, and then consumers of your api may start using it directly.

We have that in our codebase still. Not sure if it was intentional or not but it's going to be hard to undo.