Once upon a time, in a land so fine,
where analysis happened all the time,
lived a happy little class family.
Yes, it was in the land of OO, where lines
and boxes and use case scenarios
frolic playfully in the street and all
the happy classes live together with
minimal coupling and high cohesion.
Twas dusk one night at the coding class house,
where lived a family whose existence was due
to an assignment from a programming class.
Twas the RPN family of who
members were Susie Stack, sibling Quentin Queue,
RPNEval and Driver Class too.
Daddy Driver Class tucked them into bed
along with the state from their objects, he said.
Scary stories of high coupling he read,
but he assured them that all those bugs were long dead.
Those bugs were before we had UML,
now we have OO and life is just swell.
With those words he bid them all a good night,
he bid them sweet dreams and turned off the light.
He thought to himself, as he went to his room,
Their state is encapsulated, all that
talk from functional programmers, of doom
and despair from state was lame and old hat.
He had it all taken care of, put in each class,
the lambda and OO schools had reached an impasse.
But all through the night he had quite a fright,
unspeakable horrors passing through his mind's sight.
He dreamt of a kraken, no, just a huge squid,
that just stood and stared as he wondered what it did.
It's cavernous eyes peered deep into his soul,
this must be a prank, just a functional troll.
But there its singular figure remained,
on the UML of his soul it was firmly engrained.
Its tentacles were just lines, his face a mere shape,
But the diagram of his family it threatened to reshape.
Rebellion against father, but just in his dream,
for RPNEval was drinking from the forbidden stream.
That ethereal stream that is called I/O,
whose state at runtime, nobody knows.
The paternal class cursed in frustration, no fear he could quell,
he thought he had had it all planned out so well.
But his model was naive, much too simple to be good,
he hadn't modeled the state of the whole program like he should.
But now complexity, and inter-dependency too,
clamored around his program, like the monkeys at a zoo.
Now there is a moral to this story, something just for you,
model all the state in your program, or this too you will rue.
