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

Share logic in your React package with support for both custom Hooks and class components by using the Hydra pattern.

Discover techniques to transform the code review process into something that is enjoyable and productive.

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

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.

Standing up your app in a test environment before taking an image snapshot can be a struggle, especially if the app is driven by disparate data sources. Learn about a testing recipe we have adopted at American Express that uses jest-image-snapshot and Parrot to write image snapshot tests in a consistent and reliable way.

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.