People think that computer science is the art of geniuses but the actual reality is the opposite just many people doing things that build on eachother like a wall of mini stones.
When I pair food and wine I start with the food. If I have a beautiful roasted bird I might choose a Cabernet or Pinot Noir or maybe a Syrah depending on the sauce and what is in my cellar.