网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Lasagna code
释义

Lasagna code

中文百科

面条式代码 Spaghetti code

(重定向自Lasagna code)
一盘扭曲纠结的意大利面,面条式代码也是如此的扭曲纠结。

面条式代码Spaghetti code)是软件工程中反面模式的一种,是指一个代码的控制结构复杂、混乱而难以理解,尤其是用了很多GOTO、例外、线程、或其他无组织的分歧架构。其命名的原因是因为程序的流向就像一盘面一样的扭曲纠结。面条式代码的产生有许多原因,例如没有经验的程序员,及已经过长期频繁修改的复杂程序。结构化编程可避免面条式代码的出现。

英语百科

Spaghetti code 面条式代码

(重定向自Lasagna code)

Spaghetti code is a pejorative phrase for source code that has a complex and tangled control structure, especially one using many GOTO statements, exceptions, threads, or other "unstructured" branching constructs. It is named such because program flow is conceptually like a bowl of spaghetti, i.e. twisted and tangled. Spaghetti code can be caused by several factors, such as continuous modifications by several people over a long life cycle. Structured programming greatly decreases the incidence of spaghetti code.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/22 0:50:21