Jenk wrote:... I just don't get why people have to know everything before they have even tried running it.
Code: Select all
#: rm -rf /Moderator: General Moderators
Jenk wrote:... I just don't get why people have to know everything before they have even tried running it.
Code: Select all
#: rm -rf /VladSun wrote:Jenk wrote:... I just don't get why people have to know everything before they have even tried running it.![]()
Code: Select all
#: rm -rf /
Code: Select all
# rm -rfi /Because, some people are of the school of thought, where failing to plan is planning to fail?Or you could just run the app, and see which members are missing by information from the error message. I just don't get why people have to know everything before they have even tried running it.
Code: Select all
function createPerson($first_name, $last_name, $age)What error are you talking about?your tests would catch the error long before you deploy.
The one I spoke of that you quoted.PCSpectra wrote:What error are you talking about?your tests would catch the error long before you deploy.
Code: Select all
abstract class A{
function getValue(){ return $this->value; }
}
class B extends A {}
class C extends A {}Code: Select all
some_method($a, $b)
{
$t = $a->getValue('test');
}
some_method(new B(), new C()); // See the error?