Eastern Enterprise B.V. • Working in Web development since 12+ years, mainly in PHP. • Twitter: @kapilsharmainfo • Facebook: /kapilsharmainfo • LinkedIn: kapilsharmainfo • Web: kapilsharma.info • Slides: speakerdeck.com/ kapilsharma 2
• Reader should not need to see the code. • Variable • Should tell what it stores. • Class • Must tell what exactly it do. • Namespace/package/library • Should have complete functionality. 15 Don't write whole story as name
party lib. • Do not rediscover wheel. • Learn the basics and details of your language. • Keep watching top open source libraries. 20 Invest in yourself.
focused on today’s need. • It doesn’t mean do not follow Open-close principle. • Design for future requirements, only if they do not complicate design. • Don’t make parameterised class, method, factory, deep inheritance etc to solve problem that do not exist. 21