Cor icon indicating copy to clipboard operation
Cor copied to clipboard

Corinna - Bring Modern OO to the Core of Perl

Results 13 Cor issues
Sort by recently updated
recently updated
newest added

I'm trying to follow your LRU cache example. It's declared: ``` has $cache :handles(get) = Hash::Ordered->new; ``` and then the explanation says: ``` has $cache :handles(get) :builder; method _build_cache ()...

We've already talked lots on the contentious subject of whether subclasses can see fields of their parent class (#61, etc...). Lets ignore that for now and just stick to fields...

## Current state in Object::Pad First, a little background on the current state of `Object::Pad`. There are `ADJUST` blocks, and there are field-initialiser blocks. They behave in very different ways....

While respecting that by default, fields of classes are in some sense "private" to that particular class, it is nevertheless inevitable that special-purpose pieces of perl code will want to...

The RFC as it stands does not give enough clarity on the scoping nature of field names. In particular, all of the examples simply use unique `field ...` names at...

Feedback

In particular, it seems inevitable that certain bits of perl/XS/C code are going to want to interact with instances internally, and find out their fields and values of them. I...

This is undoubtedly incomplete, but the following items will be needed to be accomplished before we can get an RFC to P5P: - [x] ~~`:handles(@%*)`. The `:handles(*)` syntax allows all...

Generally speaking, objects should be opaque to the outside world. However, there are times that we need to know what we're working with. For example, [the debugger problem](https://github.com/Ovid/Cor/issues/30) means that...

I have an incomplete guide to porting Moo/se to Corinna: https://github.com/Ovid/Cor/wiki/Porting-from-Moose-or-Moo Please leave feedback here. Yes, it will eventually need to be several documents.

I mean, logically, I guess I can eval up an entire class in a BEGIN block or something ... but it'd be nice to be able to generate two or...

enhancement
Post-MVP