DEV Community

Discussion on: Learn by Doing: Practice PHP OOP (level 2)

Collapse
 
ericchapman profile image
Eric The Coder

Hi, yes the reason is to introduce the concept one piece at time. The typed property will come soon in a futur challenge

Collapse
 
kralik12 profile image
Michal Král

Thanks for your answer. IMO this is wrong approach - typed properties/arguments are core feature of the PHP now and when you are trying to teach someone to code you should teach them all the features. If nothing else, static types prevent a lot of bugs

Thread Thread
 
catwhocode profile image
Cat who code

Michal, he said "will come soon", isn't that clear ?