This is not bad writing.
You may not like it, that doesn't make it bad.
Wesley is an ass, and you didn't like it, I understand, that doesn't make it bad so much as unlikable.
If you want bad writing, we can discuss Spock's dialogue and actions in "That Which Survives"
Seriously, I think that's worth a thread.