If your colleague is unconvinced that your approach is suitable they are absolutely entitled to question it, and I don't think simply describing it as they see it (I assume the expression you're using is similar to 'trial and error') is unreasonable.
If this is a single event, I think you're overreacting. If this colleague continues to be abrupt or dismissive there are two conversations you need to have:
- Discussion of the technical merits of the approaches being discussedconsidered. Most workplaces expect senior employees to take some responsibility for mentoring less experienced employees and most workplaces expect you to find a way of collaborating effectively, where everybody is engaged.
- Tone and appropriateness. If the complaints are valid (and I would expect that they are - someone who disagrees is right to question) but they are delivered in a way that is simply rude, then address that issue specifically.