Jump to content

despaghettify

From Wiktionary, the free dictionary

English

[edit]

Alternative forms

[edit]

Etymology

[edit]

From de- +‎ spaghetti +‎ -ify, compare spaghetti code.

Pronunciation

[edit]
  • IPA(key): /ˈdiː.spəˌɡɛ.tɪ.fai/

Verb

[edit]

despaghettify (third-person singular simple present despaghettifies, present participle despaghettifying, simple past and past participle despaghettified)

  1. (transitive, programming) To refactor spaghetti code.
    You could do, but I need to despaghettify the code first.
    • 1993 January 19, ro...@ruchem.ru.ac.za, “spaghetti”, in comp.lang.fortran[1] (Usenet):
      My program is not huge <5000 lines, but it has been hacked about since 1978, with dire results. I get a bad headache trying to follow the logic. I would be happy to upload and then download the despaghettified code so as not to infringe licence regulations. Please help!
    • 2004 May 17, Chip Seraphine, “PrepModules() rocketh mightily”, in gnu.cfengine.help[2] (Usenet):
      I just wanted to give kudos to the new(ish) PrepModules feature. I finally got around to implementing it, and it allowed me to considerably de-spaghettify some of my scripts. Thanks!
    • 2014 May 29, fbkotler, “Re: R.I.P. Nathan Baker”, in alt.lang.asm[3] (Usenet):
      Still, some examples would be nice. I can't distribute claxmod, as is, 'cause there are passwords hard-coded into it. With a little work, a more "generic" example could be developed that could be used as an example (de-spaghettified, preferably).