American Express Engineering

# 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

react-albus

React Albus is a React component library for building declarative multi-step flows (also known as Wizards).

jest-image-snapshot

Jest matcher that performs image comparisons and behaves just like Jest snapshots do! Very useful for browser visual comparison testing.

FEATURED BLOG POSTS


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 a better solution called Component Injection.


For critical platforms, high availability is a top priority. Learn strategies for reducing complexity and thus increasing availability by eliminating or reducing database dependency.