Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tobyink/misc-farm
https://github.com/tobyink/misc-farm
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tobyink/misc-farm
- Owner: tobyink
- Created: 2013-11-15T22:13:17.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-28T11:00:53.000Z (almost 11 years ago)
- Last Synced: 2024-10-27T18:07:18.130Z (2 months ago)
- Language: Perl
- Size: 244 KB
- Stars: 3
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.pod
Awesome Lists containing this project
README
=head1 Examples of Horizontal Reuse
This is a set of examples to accompany L published on the
L.=head2 Implementations
=over
=item B<< java/InterfaceFarm.java >>
Java implementation using interfaces.
=item B<< java/DelegationFarm.java >>
Java implementation using interfaces plus the delegation pattern.
=item B<< ruby/mixin-farm.rb >>
Ruby implementation using mixins.
=item B<< ruby/traitor-farm.rb >>
Ruby implementation using L.
This doesn't actually seem to work on my machine.=item B<< php/trait-farm.php >>
PHP 5.4+ implementation using traits.
=item B<< perl5/moose-farm.pl >>
Perl 5 implementation using L.
=item B<< perl5/moo-farm.pl >>
Perl 5 implementation using L, a small OO framework that promises
"almost -- but not quite -- two thirds of Moose". It's almost
line-by-line identical to the Moose implementation.=item B<< perl5/tiny-farm.pl >>
Perl 5 implementation using minimalist libraries L and
L.=item B<< perl5/mop-farm.pl >>
Perl 5 implementation using L,
Steven Little's reimplementation of a subset of Moose, intended for
inclusion in the Perl core.=item B<< perl6/role-farm.pl6 >>
Perl 6 implementation using the language's native roles.
=item B<< python/abc-farm.py >>
Python example using multiple inheritance from abstract base classes.
=item B<< scala/TraitFarm.scala >>
Scala implementation using the language's native traits.
=item B<< javascript/joose-farm.js >>
Port of the Moose implementation to Javascript and the Joose library.
Works with Ubuntu's C<< /usr/bin/rhino >>; with minor adjustments will
work with most other implementations of Javascript.=back
=head2 Contributing
I'd appreciate contributions for any programming languages I've missed;
in particular any where this sort of thing can be done especially
elegantly.