DEV Community

Cover image for Hello world v2
Duc Ng
Duc Ng

Posted on

Hello world v2

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.

Top comments (0)