Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re-factoring
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01577083
Message ID:
01577117
Vues:
62
>>That spaghetti is your spaghetti and yours to digest
>>
>>No one wants to digest the spaghetti of someone else
>
>Right, I understand. The point is - I have complex input and trying to produce the same output. It is not easy. I also try to make the methods small. This is not simple and requires several iterations.

A rule of thumb I like is that if a method if more than a screenful of code, it's too long. That's 15-20 lines of code. There is a term for methods longer than that: POOP (procedural object oriented programming). Break it down into small methods relentlessly.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform