Good question. I typically prefer using dot notation. The one advantage I can think of to use a hash is that you can search your code for ScrollList#scrollTo to find where this error was raised vs where the method is used, but a case-sensitive search would do the same.