(24-05-2011 17:00)Asedic a écrit :(23-05-2011 19:58)Kaios a écrit : quand tu connais la structure de trinity tu sais ou il faut cherché
A moins d'être autiste
Un code doit être lisible par les autres et non seulement par certaines personnes. De plus, son code permet d'ajouter de nouvelles fonctionnalités plus compliquées sans faire des modifications non propres dans une classe qui n'est pas déjà propre (un Handler est normalement que pour les paquets et non pour tout le traitement derrière...)
Citation :Every developer should want his/her code to have the following feats:Extrait du Wiki de WCell
Working
Bug-free
Easily maintainable
Well readable
Easily extensible
No developer should except him or herself to be able to write such code at any given time. Developing code takes a lot of time, and so does mastering the art of writing code. Do not expect too much of yourself and try to set realistic goals. If you want to learn coding, join a project with a mature approach to development that is in the range of your interest. Learning with others and using their expertise on how to write or handle code is always of greatest advantage to the apprentice.