Did the guides you read say why? Make sure you're reading reliable advice...there's a whole lot of
online masquerading as advixe!
The only reason I can think of - and it's a bit of a stretch - is that if you're in an area prone to blight/fungus, it attacks all nightshade plants which include tomatoes and potatoes. But like I said, that's a stretch. And you don't say where you live, so the blight thing may or may not be an issue.
That said, yes I've grown them together with no issues. And when we had a couple of very rainy growing seasons, blight (not uncommon where I live) compromised all my tomatoes, potatoes and eggplants. But I wouldn't see that as a reason not to plant them close to eachother, since that fungus is in the soil, not spread plant to plant.
If you are in an arid region, blight probably is not an issue for you.