An open API service indexing awesome lists of open source software.

https://github.com/siddhant-k-code/four-language-that-can-kill-themselves


https://github.com/siddhant-k-code/four-language-that-can-kill-themselves

cpp languages programming python ruby self-destroy self-destruct self-destruction shell-script

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Four-Language-that-can-kill-themselves

4 files, each with a different language. Each file will call the next file, and then commit die. Like this:

```
**main.cpp**
run main.py
kill itself

**main.py**
run main.rb
kill itself

etc.
```

Basically how this works is each file calls 2 shell commands, one to run the next file, and one to commit toaster bath. The bash command to commit skydiving without a parachute is `rm FILE_NAME` .

I also added brief comments on how the shell commands work in each language so you might learn something.

### You Can Try This On : https://repl.it/@SiddhantKcode/Self-Destrcution#main.cpp | *Hit* `Run`