News for hackers. Stuff that matters.
Re:Javascript: call functions without using parentheses by dragonwriter on Wednesday September 19, 2018 @04:08PM (#18027295)
> As a non-Ruby programmer, this sounds like it makes it non-obvious whether you're calling a class' method or attribute.

“Attributes” in Ruby are just methods that do attribute-like things, so there is no ambiguity: it is always a method.

There are no comments on this comment yet.