loading...
Cover image for Hello world v2

Hello world v2

ngduc profile image Duc Ng ・1 min read

We know that "Hello world" is the simplest code example to demonstrate how to output a simple message in a programming language.

This "version 2" aims to cover more basic syntax.

It is a One-Page Code Example of:

  • String handling, length, spliting, template string.
  • Characters, char codes handling.
  • Array, array items accessing, looping.
  • Number, casting, basic math calculation.
  • Function, returning a value.
  • JSON, parsing.
  • From: http://b.link/hello-world-v2 (please keep this link)

In different Programming Languages

Python 3.7+

Javascript - In Progress

Typescript - In Progress

(Please open a PR to add for other languages here)

Github link

https://github.com/ngduc/syntax.codes/blob/master/docs/articles/hello-world-v2.mdx

Please comment with any idea or feedback. Thanks.

Posted on by:

ngduc profile

Duc Ng

@ngduc

JS enthusiast / 17y tinkering with screens & code.

Discussion

pic
Editor guide