In the developer job market, I think this is OK - because they are in such high demand. If this compared jobs as entry-level marketing associates, I would've felt more dissonance towards what you mention - but in this situation, I think it was OK and not too ego-driven.