keep in mind also that your build, and build order, should be dependent on your enemies and the circumstances of the match every game
example: on orianna you usually rush athene's
however, against champions like zed, yasuo, talon, and even fizz, you will likely be buying tear and armguard and rushing zhonyas. And against a full AD team - especially one with attack speed reliant divers such as yasuo, nocturne, rengar etc. - you may even trade out your CDR item for frozen heart - an item that you would otherwise never build on ori.
Similarly, buying last whisper is pointless against teams who aren't building armor against you. However, if you're fighting someone like malphite, shyvana, or garen, it may be the only way you'll manage to do anything at all, and you may end up purchasing it as your fifth or even fourth item.
finally, it really all depends on who the priority targets of the match are, who other champions on your team can or can't deal with, etc.
Example: you're Zed at 40 minutes. The enemy team has a fed garen and volibear who are just stacking armor and health; you can't kill them. You can't even engage near them. But if your team has, let's say, a fed vayne, a support thresh, nautilus jungle, and ekko top, you're going to be a lot more concerned about eliminating their brand or corki, and you'll probably want merc scim or maw instead of last whisper's bonus armor pen. Let it be Vayne and thresh's job to handle their front line. Still, since you're not building against them, you're going to want to make certain that you're positioning in such a way that you won't need to tangle with them when you enter the fight. And you also want to make sure that you're attacking a target when, for whatever reason, you won't be CC'd and bursted. Keep in mind that oftentimes simply zoning the enemy squishies out of the battle is enough to turn a teamfight in your favor. But you can't threaten anyone when you're neckdeep in the enemy frontline.
It takes a lot of experience and the ability to read the battle to learn when the perfect time is to go in as an assassin in the late game. There might not always be a perfect time, either - some teamfights will be a wash, and you'll be forced to go in knowing there won't be a favorable outcome.