r/ProgrammerHumor •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

615 comments sorted by

View all comments

Show parent comment

5

u/archpawn Jun 10 '23

I define the goal's wall as an external wall, and the goal as outside the maze.

11

u/Surface_Detail Jun 10 '23

You define a wall as external despite it being surrounded by the rest of the maze?

6

u/archpawn Jun 10 '23

A physicist, engineer, and mathematician are asked by a local farmer to build the smallest fence they possibly can to hold in all of his sheep.

The physicist builds a big fence and slowly reduces the size until he can't reduce the fence any longer.

The engineer measures each sheep, stacks them in a specific way, and then builds a fence around them.

The mathematician builds a small fence around himself, then defines himself to be outside the fence.

9

u/nonpondo Jun 10 '23

Aren't all walls surrounded by external mazes when you really think about it