As a developer, you should already know that this is a bad idea. When absolutely necessary I've been known to execute
sudo bash and enter a few commands. I know how far to (not) trust myself from experience, so I keep the time I leave that shell around to the very minimum and do it only once or twice a year. Sudo works for me very well.
Ubuntu is a free and open source distribution, and you are free to do whatever you want.
At AskUbuntu the standard is to copy the information from other resources (legally) to prevent stale links and, as importantly, to keep the information right at hand.
Because the reference is very long, and has very important warnings, I'm going to paste a reference instead. The idea would be to enable the root account and then use that for what you want. Here is the reference.
For programs like the software center that use policykit rather than sudoers a change to policykit is necessary. The reference is here.
I strongly recommend that you and the others who refer to this question not do this.