Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #144446

Re: Alternatives to spaghetti code

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Alternatives to spaghetti code
Date 2019-06-04 18:42 -0700
Organization None to speak of
Message-ID <lnv9xkvmds.fsf@kst-u.example.com> (permalink)
References <75690eea-6786-40e5-8201-cbbf3133b26b@googlegroups.com>

Show all headers | View raw


luser droog <luser.droog@gmail.com> writes:
> Spaghetti code is obviously bad news, but what about other
> types of pasta-modeled code. Are there similar problems with
> tortellini code or lasagna code?

Probably a joke, but there are other pasta-derived terms for bad code.

https://en.wikipedia.org/wiki/Spaghetti_code#Related_phrases

    Ravioli code is a term specific to object-oriented
    programming. It describes code that comprises well-structured
    classes that are easy to understand in isolation, but difficult
    to understand as a whole.

    Lasagna code refers to code whose layers are so complicated and
    intertwined that making a change in one layer would necessitate
    changes in all other layers.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Alternatives to spaghetti code luser droog <luser.droog@gmail.com> - 2019-06-04 16:57 -0700
  Re: Alternatives to spaghetti code Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2019-06-05 01:59 +0200
  Re: Alternatives to spaghetti code nobody@example.org (Scott) - 2019-06-05 01:09 +0000
    Re: Alternatives to spaghetti code fir <profesor.fir@gmail.com> - 2019-06-05 06:19 -0700
      Re: Alternatives to spaghetti code fir <profesor.fir@gmail.com> - 2019-06-05 06:49 -0700
        Re: Alternatives to spaghetti code fir <profesor.fir@gmail.com> - 2019-06-05 07:05 -0700
      Re: Alternatives to spaghetti code fir <profesor.fir@gmail.com> - 2019-06-05 07:19 -0700
  Re: Alternatives to spaghetti code Keith Thompson <kst-u@mib.org> - 2019-06-04 18:42 -0700
    Re: Alternatives to spaghetti code David Brown <david.brown@hesbynett.no> - 2019-06-05 09:03 +0200
      Re: Alternatives to spaghetti code Jorgen Grahn <grahn+nntp@snipabacken.se> - 2019-06-06 18:34 +0000
    Re: Alternatives to spaghetti code mark.bluemel@gmail.com - 2019-06-05 02:46 -0700
  Re: Alternatives to spaghetti code Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2019-06-05 06:45 -0700
    Re: Alternatives to spaghetti code fir <profesor.fir@gmail.com> - 2019-06-05 06:54 -0700

csiph-web