DEV Community


Discussion on: Dot notation vs Bracket notation

baso53 profile image
Sebastijan Grabar

While I agree with you on the part which one you should use, I don't like how you said 3 times in the article - "Always use the dot notation". It wasn't explained why, just that you should "follow a popular style guide". That could lead to a wrong path down the road, doing something just because it's popular.

samanthaming profile image
Samantha Ming Author

Fair point! I definitely could have dive more into it. Thanks for the feedback đź‘Ť

Forem Open with the Forem app