Good and Bad at RulestoBetterCode – revised

La adresa 
http://www.ssw.com.au/ssw/Standards/Rules/RulestoBetterCode.aspx
sunt reguli super.

Dar nu sunt de acord cu citeva.

15.Do you have the time taken at the end of a long process?

Da – e bine sa ai timpul …dar sa il afisezi ca user-ul sa mai apese pe un OK – nu vad ca e relevant
Mai bine pui un status bar in care afisezi asta

20.Do you use interoperability mechanism for COM object?
createobject se poate folosi in momentul in care vrei sa fii compatibil cu ORICE VERSIUNI – si stii sigur ca

33. Do you use Asynchronous method and CallBack when invoke web method?
Nu e neaparat necesar sa executi async web method.
Poti sa o executi intr-un background thread … si e tot asyncrona…

Dar inca o data – toate celelalte reguli sunt super!
Merita citite…

Leave a Reply

Your email address will not be published. Required fields are marked *