Level 21
The object operator -> is a PHP thing which is what Laravel is written in. The arrow operator -> exists in C/C++ too, it's used to access the members of the structure or the unions using pointers.
It just occurred to me this evening that it's annoying having to use two keystrokes each time when a "dot" would be perfectly sufficient. I use C# in My day job and the dot notation there seems more natural.
The object operator -> is a PHP thing which is what Laravel is written in. The arrow operator -> exists in C/C++ too, it's used to access the members of the structure or the unions using pointers.
Please or to participate in this conversation.