re: Dot notation vs Bracket notation VIEW POST

re: So, dot is preferred just for ease of use and nothing else?

It also looks like object usage in other C-like languages. It will be easier to read and write for people coming from C, C#, and Java.

EDIT: I guess that's still ease of use, but in a different way than mentioned in the post. As far as I know there is no time difference when the code is actually running so there is only really differences in ease.


Woo! Definitely an advantage 👍 will add that to my notes 😊

code of conduct - report abuse