From 3d358802b854056d6af923a590adfcd481d9b173 Mon Sep 17 00:00:00 2001 From: dliu22 <44652413+dliu22@users.noreply.github.com> Date: Mon, 15 Apr 2019 05:44:54 -0400 Subject: [PATCH] added some words (#33822) "the" removal of comma --- guide/english/kotlin/hello-world/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/kotlin/hello-world/index.md b/guide/english/kotlin/hello-world/index.md index 860bf35524..90c72896db 100644 --- a/guide/english/kotlin/hello-world/index.md +++ b/guide/english/kotlin/hello-world/index.md @@ -4,7 +4,7 @@ title: Hello World in Kotlin A Hello World program is a very simple program that outputs the string "Hello World!". It is often used to show the basic syntax of a programming language. -In this tutorial we are going to analyse the syntax of a Hello World program written in Kotlin. +In this tutorial, we are going to analyse the syntax of a Hello World program written in Kotlin. If you still haven't installed Kotlin you should check this tutorial: https://guide.freecodecamp.org/kotlin @@ -45,7 +45,7 @@ Multi-line comment fun main(args : Array) {...} ``` -The main function is a mandatory function that tells the compiler where it should start executing our code. It takes an array of strings as parameter and returns the type Unit which corresponds to the type ```void``` in languages like Java. +The main function is a mandatory function that tells the compiler where it should start executing our code. It takes an array of strings as the parameter and returns the type Unit which corresponds to the type ```void``` in languages like Java. As we can see, functions are declared with the use of the keyword ```fun``` and its body should be written inside curly braces. Functions without a explicitly declared return type will return the type ```Unit```, therefore, the above code is equivalent to