This sentiment should instead be presented constructively. You should have asked what code he needed to write outside of the framework, rather than being ruled by your own exasperation.
You could have made a useful comment and been polite. Something you could likely consider every time you open your mouth, and I don't mean that in a mean way. Hacker News helped me better modulate what I say.