in reply to Re^6: The future of Perl?
in thread The future of Perl?
As Lao Tzu might have said: The API that exposes inner workings is not the true API.
Users of the queue shouldn't need to know that there's an array inside that holds the items, yet the Moo(se) examples all expose this at API level.The real point of the Ruby example is to show that in Ruby (also Python and Java) you aren't compelled to
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: The future of Perl? (encapsulation)
by tye (Sage) on Dec 16, 2014 at 05:58 UTC | |
|
Re^8: The future of Perl?
by Your Mother (Archbishop) on Dec 15, 2014 at 22:55 UTC | |
by Arunbear (Prior) on Dec 16, 2014 at 18:25 UTC |