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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’