A collection of one-line programs in various languages, performing various tasks. "One-Line" is for those languages that support it; the aim is to create a runnable file the shortest a language can allow (i.e. no using ; instead of a new line and "minifying" it to be one line).
Have some fun with coding every once in a while, and see how you can abuse the semantics of a language.
Anyone can contribute to this repo by opening a PR, your contribution will be open-source on Github. Don't know what to make? Try coding something that logs "Hello, world!" to the console!
Celebrate Hacktoberfest together with a diverse community of developers from around the world!
Fork this repository
Clone to desktop git clone https://github.com/your-username/one-line-wonders.git
Checkout a branch git checkout -b feature/branch-name
Make yourself known
Name: [YOUR NAME](Github Link) Place: Where are you from? Coding Experience: Which programming languages do you know? What projects have you/do you worked on? Email: name@example.com
Add your one-line program's files of the form [username]_[filename], i.e., wzhouwzhou_approximating_e.cc
. If a folder for your code's language does not exist, feel free to create it.
Commit and push git add .; git commit -m "commit message"; git push origin branch-name;
Create a new Pull Request from your fork
Wait for your PR to be reviewed!
Star this repository if you had fun :star::tada: