Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-02 Thread Max D
Thank you guys for all your feedback! It's a big surprise for me that so many people love PHP for this style of referring. Sure, I am out of the pack. I am stuck to PHP due to my activity type and mostly write a lot of code no one reads except me. I have found my own way to deal with it. Mostly P

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Arvids Godjuks
On Fri, 1 May 2020 at 16:45, Max D wrote: > Greetings, Internals! > > This is my first try to input the proposal, please don't be strict ) > > All the years with PHP I hate writing classes. The need to prefix EVERY > property and method use looks horrible and writes horrible. So, the > proposal:

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Thomas Hruska
On 5/1/2020 7:44 AM, Max D wrote: Greetings, Internals! I'm not going to implement this, hoping someone will volunteer if the reaction is positive. Also I have some more proposals I will post if this one goes nice. With best regards, MaxD https://www.youtube.com/watch?v=6lonH_lAv8Q -- Thomas

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Max D
Forgot to add. As for me, poor developers experience is that I am forced to write the same 6-symbols prefix with 1 or 2 Shift-keystrokes 20-30 times per one code page - without alternatives. With best regards, MaxD пт, 1 трав. 2020 о 18:02 Ben Ramsey пише: > > On May 1, 2020, at 09:44, Max D

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Max D
Thank you for the replies! Take note, that this directive is optional, so it will be used by programmers that would like this coding style. Of course, it will make code reading more challenging. But, from the other side, code will look more clean and human like, making understanding the logic easi

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Larry Garfield
On Fri, May 1, 2020, at 10:02 AM, Ben Ramsey wrote: > > On May 1, 2020, at 09:44, Max D wrote: > > > > Greetings, Internals! > > > > This is my first try to input the proposal, please don't be strict ) > > > > All the years with PHP I hate writing classes. The need to prefix EVERY > > property

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Ben Ramsey
> On May 1, 2020, at 09:44, Max D wrote: > > Greetings, Internals! > > This is my first try to input the proposal, please don't be strict ) > > All the years with PHP I hate writing classes. The need to prefix EVERY > property and method use looks horrible and writes horrible. So, the > proposa

[PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Max D
Greetings, Internals! This is my first try to input the proposal, please don't be strict ) All the years with PHP I hate writing classes. The need to prefix EVERY property and method use looks horrible and writes horrible. So, the proposal: Lets introduce directive declare(simple_classes=1); Th