Saturday, April 6, 2013

Spaghetti Codes

Spaghetti Codes

As developers, we've all encountered that chunk of code that seemingly came from the darkest pits of the underworld. They are repeatingly unstructured, complex and seemingly patched-up. In my experience, spaghetti codes spawn mainly as a result of mismanaged projects/coding tasks. Messed up timelines and cramming also contributes.

In our effort to somehow at least ease the pain of humanity by providing them with functional yet easy to understand code, we came across some technologies that will help in structuring your codes. Here's a list.

 Entity Framework.
Nhibernate with s#arp architecture
MVC or Model-View-Controller
MVP or Model-View-Presenter

These approaches has very common features with one another. They all use models to connect with SQL and Sharp Acrhitecture pretty much does a good job with layer segragation. LINQ is also a good way to reduce back-end scripting. . I'm pretty certain there are more but these are what I'm familiar with.

Hope this 15 mins blog of mine helps somehow.
-c0d3m0nkey

No comments:

Post a Comment