Blaine Garrett
Software Engineer and Artist
What you mean by the below phrase?
you might assume they behave in the same way, but that's not quite the case
They are a totally different thing, and each is used in different ways.
I guess I did not get the last section Dot notation - identifiers before variables what you wanted to say. That's why I can't puzzle what you mean.
James Williams, Good one James! Very crisp and neat way of explaining..
Over the period.. I've got used to the brackets.. Felt it like fail-safe :)
Good article.
It might be worth mentioning Symbols are also allowed. I've only run into them as object keys in some Google cloud libs. The only reason I like them (conceptually) is that they're harder to manually re-create when constants should be used since each instance is unique. I believe this is their explicit reason for existing.