Re: [VOTE] Alternative typehinting syntax for accessors
Am 22.01.2013 09:07, schrieb Nikita Popov:
It's not just about the lines of code. It's about having a more readable
and more intuitive syntax. Am I the only one who thinks that "public $date
{ get; set(DateTime $date); }" looks pretty ugly/unclear compared to
"public DateTime $date;"?
FWIW: I agree;) If accessors get through, I'd rather have this alternate syntax. The other looks like a typo. I don't get to vote though...
Thread (11 messages)