Please consider the following sentence:
Ada Lovelace is the first computer programmer in the world who wrote the code for analytical engine.
Is the placement of the relative pronoun "who" correct? Or should it be like this:
Ada Lovelace who is the first computer programmer in the world, wrote the code for analytical engine.
Should the relative pronoun come after the word that refers to it?