W. H. Heydt wrote:
Despite spending an hour watching a presentation from a Wayland developer who explained very nicely about the tens of thousands of lines of code in X that we don't need any more and he had removed.
Did anyone ask him how many lines of code it took for him to replace the functionality of what he took out of X, and where he put them?
I can't tell whether you are being facetious or not, but the short answer is: None.
(I'm no expert on this, but...) My understanding is that X has just continuously grown over the years and the way it has grown is that when new ways of doing things are discovered, code is added to implement the new ways and the code that implements the old ways is just left in there - essentially branched around (note 1). So, all the old code is still in there, but just never gets executed (note 2).
Note 1) By "branched around", I mean, metaphorically, that it is like:
But only metaphorically, Nick.
Note 2) But obviously not in such a way that the C compiler would be able to optimize it out (as would be the case if it were as simple as Note 1 implies).
So, in conclusion, I believe that when they removed all that unneeded code, they replaced it with nothing.
"If you haven't got anything nice to say about anybody come sit next to me." — Alice Roosevelt Longworth