Arashi08 wrote...
Well one could argue that because of the war, you have to make an emergency decision to use the Reaper code or be either detroyed by the Quarians or, even if they stopped killing them, simply being hacked by the Reapers again. the Code could possibly give them the means to preventing this while also making them capable of fighting the Reapers. Imo Legion wanted to fight the Reapers, and it wanted to protect its people as well. Using the Reaper code may have been a means to fight the Reapers.
Then again Legion also said that he found the Reaper's improvements "beautiful." So perhaps it didn't think true intelligence without a network was possible until now, hence why they were building a megastructure for all Geth until the Quarians almost completely destroyed it. Perhaps Legion just saw this as "new data."
just speculations on my part...now to see if anyone actually responds. 
The last part is sort of how I took it--new data was introduced because Legion had personal experience with the Reaper code. Plus, at the end, Legion "found" himself, so to speak. Recognized his individuality. I got the impression he recognized how it "felt" to be an individual and the benefit it would be for all of the Geth, which is something the code could provide.
Besides, he was ashamed (or as close to it as a synthetic being could get) when he admitted to Shepard that he'd kept the Reaper code in his programming. But I got the impression that he was ashamed more because of what Shepard would think than because he thought the code itself was bad. Perhaps he was acknowledging that he was relying on something provided by the Reapers rather than finding his own way and he was "ashamed" of that but it seemed to also be a recognition of the benefit of keeping the code which overrode his previous dislike (in ME2) of accepting advances provided by the Reapers.
I also think it was a different situation in the sense that the Geth were using the code on their terms. In ME2, the heretics accepted the code on the Reaper's terms which, essentially made them slaves to the Reapers. In ME3, the Reapers were no longer in control of Legion and yet he could still benefit from keeping the code.
Hopefully I'm making some sort of sense.