Writing a program that writes itself
Recursion is one of those concepts in programming which have always been incredibly fascinating to me. What do you mean that I can call the function from the function itself?Well, there is a class of programs that bring the whole idea of recursion to a completely different level, which is programs that are able to replicate themselves. These programs, named Quines, produce a copy of their own source code as their only output.
Writing a program that writes itself #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper