Spaghetti code is a derogatory term for computer programming that is unnecessarily convoluted. It is part of the infamous Pasta Theory of Software, first proposed by software developer Raymond Ruby back in the 1990s. The term is still in use today. Spaghetti code is often the result of changes to monolithic software programs over the years. The spaghetti analogy is meant to illustrate the tangled mess that can occur when changes are made to source code without understanding dependencies. In keeping with his pasta analogy, Raymond Ruby proposed that the best kind of code should be called ravioli code. His vision for ravioli code was one where dependencies are packaged together so any component can be modified or replaced without significantly affecting other components. Continue reading... Take today's Pop Quiz! Answer key below 1. What was the traditional architecture for software design? Hint: The word actually means "unable to be changed." Answer 2. ___________ is the fundamental component of a software program. a. source code b. syntax Answer 3. What do developers call it when a software application is not able to access the additional programming it requires to work? a. dependency hell b. refutation Answer 4. What do you call a clumsy (but hopefully temporary) workaround for a software problem? a. kludge b. elegant solution Answer 5. What do you call an executable software package that includes application code and all its dependencies? a. box b. container Answer |
No comments:
Post a Comment