#perl - Tue 27 Mar 2007 between 20:08 and 02:36



Turtle_Headanyone know how to save my emacs crap?
I got some functions I defined?
hobbsTurtle_Head: there is no common lisp in emacs.
Randalis this #emacs?
j__thats i mean for Collections
Randalam I on the wrong channel?
Turtle_HeadI have common lisp running on linux and emacs and slime
;)
Randal your book is overwhelming
jagermanRandal: Isn't it obvious?
RandalAhh - the resident troll. hello troll.
Turtle_HeadI needed to like throw ice water on myself to keep from suicide
Randalplease stop changing nicks
phroggyj__: I'm pretty sure none of us have any idea what you're talking about. I don't even know what UML is.
RandalUML - a buzzword to create another training industry
jagermanTurtle_Head: If you wonder about teachers asking questions of students, you've never met a good teacher.
Turtle_HeadRandal elie quigley boon or bain?
Limbic_RegionWhen dealing with multiple inheritence and manually walking the inheritence chain to init objects - is there a standard way of controlling the walking?
j__well, im gonna try with array of objects :)
Limbic_Regioner - s/standard way of controlling the walking/standard way of controlling the order of walking/
buuLimbic_Region: Doesn't C3 do something similar?
Limbic_Regionnot really
sorry, was cleaning my glasses
C3 is used to determine which method/sub to call when you allow multi-method dispatch
what I am asking is different
so obviously I need to explain better
first background - which I assume you know but I need to put out there just to make sure we are speaking the same language
j__ty 4 helpin*
Limbic_Regionin p5, unlike other languages, if your object doesn't have a constructor - it walks your inheritence chain left most first until it finds one
then it calls
if you want each ancestor to be able to initialize parts of your object, you need to handle that yourself
typically done by having each class have a _init method which first calls _init on it's parents
this all works great
I want to walk every ancestor calling _init but want to specify the order too
I can do it by controlling @ISA
but that seems very fragile
I am wondering if there is some other adopted convention to handle this in perl
perl 5 that is
ximikosrrg3
BinGOsTUMBLEWEED.

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 113 

IrcArchive