The user experience however, needs to be excellent from the start. A startup may pick up some early, tech-savvy adopters if there is a very cool technology, but with a poor user experience the general population will never adopt the new technology.
That said, your point about the UX needing to evolve is well-taken. Do you think users preferred Facebook over MySpace because of its programming or because of its user experience?
EDIT: I would also like to say that I do NOT think your "code is invisible" statement really holds true. Good code is elegant in itself, it allows for subtle flaws to be hidden, and neat little tricks that a good hacker can make happen is what excites users and makes them come back for more, even if they don't know it is code doing it, they can see it and it does make a diffrence. (at least in my opinion)