Hacker News new | past | comments | ask | show | jobs | submit login

Quines almost always have exactly the same structure:

- Header (code)

- Data blob (string variable) that encodes the header and footer

- Footer (code)

Since the data blob is a variable, the header/footer simply decode the data blob and write out the decoded header, original blob, and decoded footer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: