DON'T <HelloWorld /> WITHOUT IT.

# Static values used in the program.
.section .rodata
   hello:     .string "Hello World!!\n"  # Static, global, read-only string.
   lenHello:  .int 15                    # sizeof(hello)
# Program code
.section .text
.globl _start
.type _start, @function
_start:                  # Simple function to print 'Hello World!!' to the screen.
   movl  $hello, %esi    # Push our string address to first parameter.
   movl  lenHello, %edx  # Set the length of message to print.
   movl  $1, %eax        # __NR_write
   movl  $1, %edi        # stdout
   syscall               # Call the system to write to screen.
   movl  $60, %eax       # __NR_sysexit
   xorl  %edi, %edi      # Return code 0
   syscall               # Exit the program with success.
#include <stdio.h>

void hello(const char *name)
{
	printf("Hello %s!!\n", name);
}

int main(int argc, const char *const *argv)
{
	hello("World");

	return 0;
}
#include <string>
#include <iostream>

using namespace std;

void hello(const string &name)
{
	cout << "Hello " << name << "!!" << endl;
}

int main(int argc, const char *const *argv)
{
	hello("World");

	return 0;
}
package main

import (
	"fmt"
)

func helloWorld(name string) string {
	m := "Hello " + name
	return m
}

func main() {
	fmt.Println(helloWorld("World"))
}
import java.util.function.Consumer;

public class HelloWorld {

    public static void main(String[] args){
        final Consumer<String> hello = name -> System.out.println("Hello " + name + "!!");
        hello.accept("World");
    }
}
const Hello = ({ name, ...rest }) => (
  <div {...rest}>
    {`Hello ${name}`}
  </div>
);

const HelloWorld = props => <Hello {...props} name="World" />;

const App = () => <HelloWorld />;

ReactDOM.render(<App />, document.getElementById('main'));
fun main(args: Array<String>) = println("Hello ${args[0]}")
''' Hello World '''

def hello_world(name):
    ''' Return string of Hello + name '''
    msg = "Hello {0}!".format(name)
    return msg

if __name__ == '__main__':
    print hello_world("World")
fn main() {
    hello_world("World")
}

fn hello_world(name: &str) -> () {
   println!("Hello {}!!", name)
}
import Foundation

func hello(_ name: String) -> String {
  let m = "Hello \(name)!"
  return m
}

print(hello("World"))

FEATURED REPOS

iguazu

An asynchronous data flow solution for React/Redux applications.

nodes

GraphQL for the JVM: An Introduction to Nodes.

FEATURED ARTICLES

Understand how to run Dockerized applications as non-root and why it is important.

Two interns recap their summer experience at American Express.

Learn about our new open-source Redux data-loading library Iguazu

Learn how the new JavaScript rest and spread syntax can simplify your code and reduce visual clutter.

When coding, it's important to avoid distractions and learn to stay focused.

Interfacing with a GraphQL API from Java can be more difficult than it has to be. Learn how easy it can be to query against GraphQL from any JVM language using a new client library named Nodes.

Clean code is a consistent style of programming that makes your code easier to write, read, and maintain. Discover how to make your React code cleaner using easy-to-follow examples.

In React, Render Callbacks are a powerful alternative to Higher-Order Components (HOCs). Learn why you should avoid using one of the most popular implementations, Function as Child Components, and discover better solutions like Render Props and Component Injection.