Post History
Sandbox
Reverse your quine [released]
#6: Post edited
Reverse your quine [released]
# Challenge Write a program that prints its reversed self. For example, if your code is ``` foo() ``` Then it'll output: ``` )(oof ``` Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189): > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either. > > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`. # Further Rules - [Function answers aren't allowed.](https://codegolf.codidact.com/comments/thread/4513#comment-13643) - This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!
#5: Post edited
Reverse your quine
- Reverse your quine [released]
- Write a program that prints its reversed self. For example, if your code is
- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
- # Further Rules
- - [Function answers aren't allowed.](https://codegolf.codidact.com/comments/thread/4513#comment-13643)
- This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins![]()
- # Challenge
- Write a program that prints its reversed self. For example, if your code is
- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
- # Further Rules
- - [Function answers aren't allowed.](https://codegolf.codidact.com/comments/thread/4513#comment-13643)
- - This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!
#4: Post edited
Reverse your quine
- Write a program that prints its reversed self. For example, if your code is
- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
- # Further Rules
- - [Function answers aren't allowed.](https://codegolf.codidact.com/comments/thread/4513#comment-13643)
- - This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!
<sup>Putting this on the sandbox to figure if this is a good idea.</sup>
- Write a program that prints its reversed self. For example, if your code is
- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
- # Further Rules
- - [Function answers aren't allowed.](https://codegolf.codidact.com/comments/thread/4513#comment-13643)
- - This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!
- []()
#3: Post edited
- Write a program that prints its reversed self. For example, if your code is
- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!- <sup>Putting this on the sandbox to figure if this is a good idea.</sup>
- Write a program that prints its reversed self. For example, if your code is
- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
- # Further Rules
- - [Function answers aren't allowed.](https://codegolf.codidact.com/comments/thread/4513#comment-13643)
- - This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!
- <sup>Putting this on the sandbox to figure if this is a good idea.</sup>
#2: Post edited
Reverse your quine
Write a program that prints its reversed self. For example, if you have a code of:- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
- This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!
- <sup>Putting this on the sandbox to figure if this is a good idea.</sup>
- Write a program that prints its reversed self. For example, if your code is
- ```
- foo()
- ```
- Then it'll output:
- ```
- )(oof
- ```
- Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189):
- > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
- >
- > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`.
- This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins!
- <sup>Putting this on the sandbox to figure if this is a good idea.</sup>
#1: Initial revision
Reverse your quine
Write a program that prints its reversed self. For example, if you have a code of: ``` foo() ``` Then it'll output: ``` )(oof ``` Make sure that the quine is a valid one, as defined [here](https://codegolf.codidact.com/posts/279189): > No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either. > > Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program `1`. This is <a class="badge is-tag">code-golf</a>, so the shortest program in each language wins! <sup>Putting this on the sandbox to figure if this is a good idea.</sup>