Joyride Posted June 8, 2007 Report Share Posted June 8, 2007 Padalieties, ka jus nosauciet pasu veidotas funkcijas, klases, failus! Piemeram, es klases saucu [Delphi ietekmee]: "TDataBase", "TXMLParser", failus, ja tajos ir klase, tad klases vardaa ari saucu, funkcijas prefiksoju ar "Core-" - "CoreRedirect, CoreGetVar"... Link to comment Share on other sites More sharing options...
bubu Posted June 8, 2007 Report Share Posted June 8, 2007 Ko nozīmē padalīties? Kas tev labāks būs no tiem nosaukumiem, tev taču nav tāda koda kā citiem, tāpēc kur te ir fiška? Link to comment Share on other sites More sharing options...
Joyride Posted June 8, 2007 Author Report Share Posted June 8, 2007 Ak , die's! Mani interese ideja. Ka zinams, ieks PHP neimspeisi nav... Link to comment Share on other sites More sharing options...
v3rb0 Posted June 8, 2007 Report Share Posted June 8, 2007 rails ietekmē :> saucu tā lai rindiņa veidotos kā kaut kāda lasāma frāze, un jo cilvēcīgāk skan, jo labāk. Link to comment Share on other sites More sharing options...
andrisp Posted June 8, 2007 Report Share Posted June 8, 2007 Klasēm un fjām (metodēm) nosaukumi jādod (ideālā variantā) tādi, kas raksturo to, ko attiecīgā klase vai funkcija dara. That's all. Link to comment Share on other sites More sharing options...
Recommended Posts