re: Challenge: Write a program that never stops VIEW POST

TOP OF THREAD FULL DISCUSSION
re: This will crash once the stack is full but nice try. :)
 

Use a language that allows optimization of tail recursion then ¯_(ツ)_/¯

Us cool kids with our tail recursion could write in, for example, Common Lisp:

(defun loop-for-ever ()
  (loop-for-ever))
(loop-for-ever)
code of conduct - report abuse