Skip to content

Instantly share code, notes, and snippets.

@ernado-x
Created March 9, 2024 11:46
Show Gist options
  • Save ernado-x/f70b93b1c97a8c65dd38c69d3f587714 to your computer and use it in GitHub Desktop.
Save ernado-x/f70b93b1c97a8c65dd38c69d3f587714 to your computer and use it in GitHub Desktop.
Poem
class Poem
{
public async Task Execute()
{
House house = new House();
CherryOrchard orchard = new CherryOrchard(house);
Beetles beetles = new Beetles();
Plowmen plowmen = new Plowmen();
orchard.NearHouse();
beetles.HumOver(orchard);
plowmen.GoWithPlows();
SingingGirls girls = new SingingGirls();
List<Mother> mothers = new List<Mother>();
Family family = new Family();
girls.Walk();
await mothers.Dinner();
family.HaveSupperNear(house);
Daughter daughter = new Daughter();
Mother mother = mothers.ElementAt(0);
EveningStar star = new EveningStar();
star.Rises();
daughter.ServeSupper();
mother.AttemptToTeach(daughter);
Nightingale nightingale = new Nightingale();
SmallChildren children = new SmallChildren();
nightingale.InterruptTeaching();
mother.LaysNear(children, house);
mother.IsOwn(children);
mother.FallsAsleep();
all.Quite();
nightingale.KeepsSinging();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment