Code Monkey home page Code Monkey logo

gtl's People

Contributors

php-coder avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gtl's Issues

As a Rust user I can create "Hello World" application

As a Rust user I can create "Hello World" application:

fn main() {
    println!("Hello World!");
}

I should be able to create such an application with the following steps:

  • #4 create function main
  • #5 print line with message "Hello World!" in the method main

Write code to file

Let's introduce -f <file> option that will write output code into this file. If this option isn't specified. program should print code to stdout.

This is a subtask for #4

Read code from file

When -f option is specified program should read code from provided file otherwise it should assume that file is empty.

This is a subtask for #4

As a Java user I can create "Hello World" application

As a Java user I can create "Hello World" application:

class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

I should be able to create such an application with the following steps:

  • create class HelloWorld
  • create method main in the class HelloWorld
  • add public keyword to the method main in the class HelloWorld
  • add static keyword to the method main in the class HelloWorld
  • add parameter args of type String[] to the method main in the class HelloWorld
  • print line with message "Hello World!" in the method main

As a Golang user I can create "Hello World" application

As a Golang user I can create "Hello World" application:

package main

import "fmt"

func main() {
    fmt.Println("Hello World!")
}
  • create package main
  • create method main in the package main
  • print line with message "Hello World" in the method main

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.