Am 06.07.2017 um 08:13 schrieb Khawer.:
In all major programming languages we access object properties and methods
using dot(.).
C#:
Abc Abc = new Abc();
Abc.method();
Java:
Abc Abc = new Abc();
Abc.method();
JavaScript:
var apple = new function() {
this.name = "Test";
}
alert(apple.nam
06.07.2017 09:43 "Niklas Keller" napisał(a):
>
> Stephen Reay schrieb am Do., 6. Juli 2017,
09:04:
>
> >
> > > On 6 Jul 2017, at 13:13, Khawer . wrote:
> > >
> > > In all major programming languages we access object properties and
> > methods
> > > using dot(.).
> > >
> > > C#:
> > > Abc Abc = n
Stephen Reay schrieb am Do., 6. Juli 2017, 09:04:
>
> > On 6 Jul 2017, at 13:13, Khawer . wrote:
> >
> > In all major programming languages we access object properties and
> methods
> > using dot(.).
> >
> > C#:
> > Abc Abc = new Abc();
> > Abc.method();
> >
> > Java:
> > Abc Abc = new Abc();
>
> On 6 Jul 2017, at 13:13, Khawer . wrote:
>
> In all major programming languages we access object properties and methods
> using dot(.).
>
> C#:
> Abc Abc = new Abc();
> Abc.method();
>
> Java:
> Abc Abc = new Abc();
> Abc.method();
>
> JavaScript:
> var apple = new function() {
>this.na
What's the point?
Sorry for the snarky response, but it had to be done 😂
On 6 Jul 2017 8:13 AM, "Khawer ." wrote:
In all major programming languages we access object properties and methods
using dot(.).
C#:
Abc Abc = new Abc();
Abc.method();
Java:
Abc Abc = new Abc();
Abc.method();
JavaScrip
The dot is already the string concatenation operator. This would be a horrible
migration process. The PHP team is never going to upset the developer
experience that much for a purely cosmetic change.
Also, C and C++ use the -> symbol, two major languages.
Regards
On 6 Jul 2017, 08:13 +0200, Kh
In all major programming languages we access object properties and methods
using dot(.).
C#:
Abc Abc = new Abc();
Abc.method();
Java:
Abc Abc = new Abc();
Abc.method();
JavaScript:
var apple = new function() {
this.name = "Test";
}
alert(apple.name());
Why not to make PHP similar to these