DEV Community

Cover image for Hello world v2
Duc Ng
Duc Ng

Posted on

2 1

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.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay