1. Go "#(1 2) asOrderedCollection" 2. In the right pane, type "firstIndex" and Go again
Either nothing happens or another pane opens on nil. "firstIndex" stays in red, showing that it's not recognized.
Is this limitation on purpose?
----- Cheers, Sean -- View this message in context: http://forum.world.st/GT-Inspector-Inst-Vars-Not-Bound-tp4818610.html Sent from the Moose mailing list archive at Nabble.com.
The object playground only binds self.
Indeed, binding all instance variables is an option. However, we also considered injecting other kinds of ready initialized objects. For example, one possibility would be to bind "view -> RTView new" or other similar utilities.
We did not yet find the right balance, so this is why at the moment, we only have self to leave a bit of room for playing around. I hope that's Ok.
Cheers, Doru
On Thu, Apr 9, 2015 at 5:00 PM, Sean P. DeNigris sean@clipperadams.com wrote:
- Go "#(1 2) asOrderedCollection"
- In the right pane, type "firstIndex" and Go again
Either nothing happens or another pane opens on nil. "firstIndex" stays in red, showing that it's not recognized.
Is this limitation on purpose?
Cheers, Sean -- View this message in context: http://forum.world.st/GT-Inspector-Inst-Vars-Not-Bound-tp4818610.html Sent from the Moose mailing list archive at Nabble.com. _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Sorry I can't remember the details, but I've had a few occasions where I wanted to send a #message to an instance variable and have the result show in the next pane. It seems cumbersome to have to select the instance variable first, then send the #message the self.
Also (not that I've hit this yet) - what if you want to send a message to an instance variable with another instance variable as a parameter?
cheers -ben
On Fri, Apr 10, 2015 at 4:29 PM, Tudor Girba tudor@tudorgirba.com wrote:
The object playground only binds self.
Indeed, binding all instance variables is an option. However, we also considered injecting other kinds of ready initialized objects. For example, one possibility would be to bind "view -> RTView new" or other similar utilities.
We did not yet find the right balance, so this is why at the moment, we only have self to leave a bit of room for playing around. I hope that's Ok.
Cheers, Doru
On Thu, Apr 9, 2015 at 5:00 PM, Sean P. DeNigris sean@clipperadams.com wrote:
- Go "#(1 2) asOrderedCollection"
- In the right pane, type "firstIndex" and Go again
Either nothing happens or another pane opens on nil. "firstIndex" stays in red, showing that it's not recognized.
Is this limitation on purpose?
Cheers, Sean -- View this message in context: http://forum.world.st/GT-Inspector-Inst-Vars-Not-Bound-tp4818610.html Sent from the Moose mailing list archive at Nabble.com. _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow"
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi,
On Fri, Apr 10, 2015 at 3:46 PM, Ben Coman btc@openinworld.com wrote:
Sorry I can't remember the details, but I've had a few occasions where I wanted to send a #message to an instance variable and have the result show in the next pane. It seems cumbersome to have to select the instance variable first, then send the #message the self.
Also (not that I've hit this yet) - what if you want to send a message to
an instance variable with another instance variable as a parameter?
Then you should refactor your code to make it used its own state :).
Joke aside, as I mentioned before, I agree that it is a valid use case. But, it's not the only one. We just need a bit more time to explore these facets.
Cheers, Doru
cheers -ben
On Fri, Apr 10, 2015 at 4:29 PM, Tudor Girba tudor@tudorgirba.com wrote:
The object playground only binds self.
Indeed, binding all instance variables is an option. However, we also considered injecting other kinds of ready initialized objects. For example, one possibility would be to bind "view -> RTView new" or other similar utilities.
We did not yet find the right balance, so this is why at the moment, we only have self to leave a bit of room for playing around. I hope that's Ok.
Cheers, Doru
On Thu, Apr 9, 2015 at 5:00 PM, Sean P. DeNigris sean@clipperadams.com wrote:
- Go "#(1 2) asOrderedCollection"
- In the right pane, type "firstIndex" and Go again
Either nothing happens or another pane opens on nil. "firstIndex" stays in red, showing that it's not recognized.
Is this limitation on purpose?
Cheers, Sean -- View this message in context: http://forum.world.st/GT-Inspector-Inst-Vars-Not-Bound-tp4818610.html Sent from the Moose mailing list archive at Nabble.com. _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow"
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Tudor Girba-2 wrote
We... leave a bit of room for playing around. I hope that's Ok.
Sure! I will happily suffer a bit today if it helps us invent a powerful new future tomorrow... or maybe next week ;)
----- Cheers, Sean -- View this message in context: http://forum.world.st/GT-Inspector-Inst-Vars-Not-Bound-tp4818610p4818957.htm... Sent from the Moose mailing list archive at Nabble.com.