News for hackers. Stuff that matters.
Re:Rails is not written in Ruby by WallowingInShit on Saturday February 05, 2022 @10:36AM (#30222079)
has_my_thing(some_array) can be encapsulated too, using modules. For example, in elixir you have functions like List.to_string(some_list) and Map.values(some_map). This way, you get encapsulation and don't have to have a class.

There are no comments on this comment yet.