DEV Community

Cover image for When your code is as good at procrastinating as you are... 😅
Umair Iftikhar
Umair Iftikhar

Posted on

When your code is as good at procrastinating as you are... 😅

🤖 Why did the coder's computer keep falling asleep?

Because it kept running this code:

defmodule Procrastination do
  def avoid_work do
    IO.puts("Zzz... 🍕 😅")
    :timer.sleep(5000)
    avoid_work()
  end
end

Procrastination.avoid_work()
Enter fullscreen mode Exit fullscreen mode

Even the code prefers a snack and a nap over work! 😴🍕😂

Top comments (0)