Refract vs Refactor - What's the difference?
refract | refactor |
(of light) To change direction as a result of entering a different medium
(optics) To cause (light) to change direction as a result of entering a different medium.
(computing) To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour.
(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.
As verbs the difference between refract and refactor
is that refract is to change direction as a result of entering a different medium while refactor is to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour.refract
English
Verb
(en verb)- A prism can refract light.
Derived terms
* refractingSee also
* reflectAnagrams
*refactor
English
Verb
(refactoring) (en verb)- The code works, but I must refactor it before it is production quality.
- 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.
