Thinking with Programming Vision: Towards a Unified View for Thinking with Images