hi, i've been working on php developing, and it was great.but when i see some other php codes on the internet, they use much more advanced codes than me.i know about variables, representing html input and stuff like that.i tried several advanced tuts pdf reading but i saw about classes which i dont get their purpose.i mean how is it better to write all those classes n function rather than makin a variable n just use it.i dont see any difference on that exept u would save ur self from writin all those chunck of classes.so any better way to get better?
how to get better
Collapse
X
-
code re-use. also known as the DRY principle (Don’t Repeat Yourself). and the S from SOLID (Single-Responsibility-Principle)i mean how is it better to write all those classes n function rather than makin a variable n just use it.
practice, practice, and (not to forget) practice.so any better way to get better?
Comment