News for hackers. Stuff that matters.
Re:Ruby 3x3: Matz, Koichi, and Tenderlove on the Future of R... by mmahemoff on Friday November 11, 2016 @09:34AM (#12930913)
I'm not sure Ruby is ideal for exploring OO concepts, as fine a language as it is. Missing, for example, are: inheritance of class attributes/methods, constraints on overriding methods (e.g. declaring as abstract or un-overridable/final), dynamic attributes.

Thankfully it's a very flexible and forgiving language, so there are third-party libraries (e.g. Hashie, ActiveSupport's Concern) to accomplish these kinds of things, but the core language doesn't offer them.

There are no comments on this comment yet.