I would have appreciated if he asked me before using my name in the post. Especially after I intentionally did not mention them by name at all. Was trying to avoid talking about any one company.
My thinking was that it became public pretty quickly once your post went viral (folks were already connecting the dots in the replies), and it felt awkward to respond to the substance without being direct about the context.
But you're right that a heads-up would have been the better move.