Fuckit Driven Development; when you're tired of your manager making nonsense decisions and not respecting your expertise so you give up caring and blindly do what they ask in order to avoid arguments.
SNADWFYGDA (smile, nod, agree then do whatever the fuck you were going to do anyway); when you're tired of your manager making nonsense decisions and not respecting your expertise so you give up caring and do whatever the fuck you want as he won't read the code anyway.
I've done this in the past. I doesn't work very well, but it works better than trying to implement something you know isn't going to work.
Tried this and it never worked, later now i know why because manager speaks to me (human) whereas i have to speak to computer(no margin for ambiguity). The best thing is to be polite, listen and be humble and think yourself as a object flowing in the river. Never show anger a slightest bit. But once the attack starts personal, just ignore and look down as speaking to a complete idiot. This is not the best thing but it has worked very well for me.