preview

Characteristics Of A Spaghetti Code

Decent Essays

Spaghetti Code. Spaghetti code is a term use for poorly written code. It can be code that is difficult to understand, poorly organised, long-winded or as some articles suggest its code that make use of a lot of goto statements within the code (Church M, 2012). According to Boronczyk T (2011) Spaghetti code has a few characteristics; It is code that is writing quickly and doesn’t follow an acceptable standard. It is code that has a lot of goto statements in. It can be code written by someone just learning to code. Another characteristic of Spaghetti code is after you digested the code you feel fatigue. The biggest contribution I found Spaghetti Programming made to modern methods of coding is that developers realise that structuring code neatly …show more content…

Applications can be created quicker by allowing teams of developers working on different parts of the project. Proven modules can be re-used, saving time and increase reliability. Fixing errors are made easier by replacing individual parts rather than big amounts of the code. By using structured programming one can also reduce the necessity of using the goto statement. Modular programming. Modular programming is a technique where very long and complex programmes are split up in to smaller parts – modules. Each of the modules is designed to perform is certain task or function. These modules have certain characteristics , Dussad V (2010): A module is a complete programme in itself Each module is designed to perform a certain task The modules can to compiled and tested individually without using other modules. But a module can also interact with other modules. Modules can be redesigned and programmed so that they can be used in other applications or systems. This method of programming has allowed developers to create more complex systems or applications. The smaller pieces or modules can be tested easier and created by different developers at the same

Get Access