my.art = Context(my.history)

芸術指向プログラミング

introduce():

@AgeashiParrot
#africanGreyParrot

I = my = me = Mom.giveALifeTo('@AgeashiParrot')

Dad.give(me, HowToLive())

def live():
    print(my.favorite('subject')) # >> science
    I.study(['Education', 'Art', 'English']) # in my university
    I.win(Offer(Job('IT')))
    I.work()

live()

africanGreyParrot = Parrot(('smart', 'cute', 'grey body', 'red tail'))
power = FinancialPower(africanGreyParrot)
while not I.have(africanGreyParrot):
    if I.have(power):
        I.get(afrcanGreyParrot)
    else:
        I.work()

print(my.emotion) # coming soon

解説