Granny Smith is my usual choice. I love the tart flavor. Golden Delicious also holds its shape well in apple recipes. Two apples I wouldn’t recommend are Gala and Red Delicious since they tend to disintegrate when heated.