publish in a specialized journal even with low impact factor is better to publish in a general journal even with high impact factor.
from my short experience, when i submit a paper to a specialized journal i got comment that even leads to change the direction of my research because the comments come from a specialized review. In other hand, when i submit to a general journal the comments are always normal.
but publish in specialized journal with high impact factor is something better.
Yes I totally agree with you, from a scientific point of view, but university requirements for promotion play major role in journal choice. In this situation, the choice becomes difficult.