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)