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


Groups > comp.lang.c > #144446

Re: Alternatives to spaghetti code

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Alternatives to spaghetti code
Date Tue, 04 Jun 2019 18:42:07 -0700
Organization None to speak of
Lines 22
Message-ID <lnv9xkvmds.fsf@kst-u.example.com> (permalink)
References <75690eea-6786-40e5-8201-cbbf3133b26b@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info reader02.eternal-september.org; posting-host="2e5690e26a3a02612d58fbc15f6a6031"; logging-data="17146"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WbMU1z5BhvTNb0AZ9vSMN"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:ggpjQTPZPgPUdr8G34iJt1cN+50= sha1:wqBiAsKwQjJV8NnZfSY8rk4OZNI=
Xref csiph.com comp.lang.c:144446

Show key headers only | 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