It was mentioned here at SFSE (and following the examples in the Lightning Developer Guide it seems to confirm) that right now hardcoded namespace references are quite common or even necessary. As far as I have understood this is going to be improved in future releases.
But are there right now any intermediate best practices, tricks or workarounds to avoid as many hardcoded references as possible to keep the our code portable and decoupled from specific orgs?
Any ideas welcome.