What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Refactor vs Refractor - What's the difference?

refactor | refractor |

As a verb refactor

is to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour.

As a noun refractor is

a refracting telescope.

refactor

English

Verb

(refactoring) (en verb)
  • (computing) To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour.
  • The code works, but I must refactor it before it is production quality.
  • (writing) To rewrite existing text in order to improve its readability, reusability or structure without intentionally affecting its meaning. Similar to, but sometimes involving more extensive restructuring than, copy editing.
  • Two significant activities which to contribute to community projects, such as Wikipedia, are to refactor''' complicated articles into simpler ones, and to '''refactor duplicated content into reusable templates.

    refractor

    Noun

    (en noun)
  • A refracting telescope.
  • anything which refracts light, heat or sound
  • See also

    * reflector ----