Skip to content

LordUbuntu/hello3000

Repository files navigation

hello3000

A collection of roughly 3000 ways to say hello.

Description

Hello 3000 is a repository containing thousands of examples of the hello world program written in various programming languages. This repository is the consequence of a dream. This repository is an exploration of languages, maybe it's art? I don't know.

It's purpose is to be a reference guide to io in the many programming languages that exist. For now that goal is restricted to the universal beginner program "Hello World!", but maybe in the future some additional programs like truth machine will be included.

My main reason for creating this repository was to give myself a simple way to start and maintain a habit of programming and learning, even by just this tiny bit, every single day. So that even on busy days or days where I feel down, I can do just a little bit of coding to keep the ball rolling. A journey of a thousand miles starts with a single step. While the programs are trivial, it does make a good reference to compare between different languages due to the program's uniformity.

I hope you enjoy this miniscule repo!

Program Structure

Each "Hello World!" program follows the same pattern:

  • take a user input
  • assign that to the variable "name"
  • print "Hello, [name]!" to the output

Or in pseudocode:

function main
  var name = input
  print "Hello, {name}!"
end

main

Contributing

If there is a language you would like to see represented that isn't currently present, consider contributing to this project by submitting a PR (Pull Request) with your language.

To do that...

  1. Fork this repo (and give it a ⭐ if you would like to)
  2. Create a file called hello in your language (eg: hello.py)
  3. Create a PR with the title Hello [your language] (eg: Hello Python)
  • Make sure to give a description
  1. I'll merge it in at most 3 days

subject to the following limitations:

  • The contribution must be in a novel language (a language that is not already in the repository)
  • The contribution must follow the same formula/structure (read input and assign to variable name, write output "Hello [name]!")
  • The program should be able to take input and print output on it's own (HTML/XML/MD won't be allowed)
  • The program should be contained in a main function and that function called, if it can be done in the language!
    • The input should not include a text prompt like "what is your name?"

Contributions which do not meet the above requirementes will not be accepted.

If enough people contribute frequently enough, I will create a github action for this process. I doubt that will happen though >_>

Languages