Pyraine said:
wow, people don't call themselves noobs every day
whereas you yox3 just did
lol nope. Read both my posts again. Then you may just understand.
I dont think i made my reason clear enough, i missed off a whole chunk of my reason. Anyway:
Ok, so you have this PHP program which helps you along with your PHP?
You get into the habit of just pressing buttons, naming it, then it adds it in for you.
It also corrects errors for you im guessing.
So one day someone asks you to make a site with dynamic stuff inside which connects to a database.
You start writing, but because you didnt make any mistakes you didnt have anything to learn from (Making mistakes is the only way to learn).
So you start writing your script.
Lets say its a function?
--------------------------------
class DontBeGay {
var ImNotGay = "Dont be a noob"
function ThisISaFuNcTiOn() {
echo This is echoing nothing.
}
}
$text = new DontBeGay;
$text -> ThisISaFuNcTiOn;
$this -> ImNotGay;
----------------------------------
This script would NEVER work.
"var ImNotGay = "Dont be a noob"
; <-- needs a semi-colon.
"echo
"This is echoing nothing.
";" <--- Needs " and semi-colon.
"$text -> ThisISaFuNcTiOn
();" <--- Needs bracets.
"$
thistext -> ImNotGay;" <--- $this can only be used inside the class which the thing its being called to is in.
From a normal PHP coder you would get nearly all them errors corrected and it would place the right stuff to call the right stuff.
But coding on your own, not learning from your mistakes because you been using a PHP coder all your coding time, you wouldn't be able to know. Of course, looking over it you may see, but it takes time, more time than doing it by hand first, making mistakes, then learning from them.
