I read this
And it's especially important not to remove any healthy leaves if your tomato plants get full sun all day. They need every possible leaf to shade their fruits and protect them from sun scald—essentially a kind of fruit sunburn. The actual fruits of a plant can't process solar energy; only the leaves can do that. And having lots of leaves is great protection for plants in very hot and sunny locations. (This is why the common advice to 'ripen green tomatoes on a sunny windowsill' is equally bogus; all that sun is doing is cooking away flavor. If its fully grown, a green tomato will ripen in total darkness!)
I don't know where you found this material but the words in parenthesis is partially bogus. It all depends on what a "green tomato" is.
If an IMMATURE tomato is placed on a windowsill then yes, what the writer says is true. But, a tomato is physically mature long before it changes to its final color. A tomato is mature when it starts to change color and that color is from green to white. When a green tomato shows the slightest lightening of its green it is mature and will ripen on a windowsill and the taste is not compromised. A green tomato with no lightening of its green color will turn red in time but its taste is not like a mature tomato. Grocery store tomatoes are picked green and gassed to make them color and the taste reflects this. Plus green tomatoes are harder and less likely to bruise during packaging and shipping.
What is a fully grown tomato? Is it its size or its age? It can't be size because all tomato plants will produce a fruit that is much smaller than its brethren and yet turn red at the same time as the large ones. Maturity determines the taste of a tomato, not at which color it was picked. And age determines maturity.
I must pick all of my tomatoes at the white stage. If they start turning pink or yellow or whatever color, animals and birds will ruin them. I ripen my tomatoes outside on a big table which is in deep shade all day long surrounded by chicken wire. As they reach their final color I move them inside to either eat or process.