From Esolang
(Redirected from Hello Plus Plus)
Jump to navigation Jump to search

Hello++ or Hello Plus Plus is an improvement to the Hello programming language, created by Propeng on Sunday, the 14th of March, 2010 at about 6 PM GMT.

Hello++ will print out "Hello World" whenever it encounters 'h' or 'H'. It ignores all other characters silently.


Unlike the original Hello, it is possible to produce a Quine using Hello++.

 Hello World


There is a Hello++ compiler in C# here.


And you can't forget Zayne's interpreter. It's an improved version of his Hello interpreter

 i = input("Enter Command: ") 
 if i != 'h':
 	if i != 'H':
 	if i == 'H': 
 		print("Hello World")
 	print("Hello World")

And also, you can't forget User:A's interpreter. It is written in C:

#include <stdio.h>
int main()
     char i;
     if(i=='h'||i=='H')printf("Hello World");
     return 0;

Also, modified Python interpreter:

if i=='h' or i=='H':
   print("Hello World")

User:Cortex's interpreter written in ProcessingJS:

var hello = function(x) {
    for(var i = 0; i < x.length; i++) {
        if (x.charAt(i) === "h" || x.charAt(i) === "H") {
            println("Hello World");

Oh, here's a codegolfed Python 3 interpreter by Spexty (49 bytes):

if i=='h'or i=='H':print('Hello World')

Here's the same thing for Python 2, except now you have to put quotes around the input (47 bytes):

if i=='h'or i=='H':print'Hello World'

Again Python 2, but this time you don't have to put quotes around the input (51 bytes):

if i=='h'or i=='H':print'Hello World'

Here's a shorter one for Python 3 by User:Pythonshelldebugwindow (38 bytes):

if input()in 'Hh':print('Hello World')

See Also