Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 16, 2022 12:18 am GMT

Hello, World!

This is my first blog so I thought I should start this blog by writing Hello, World! just like we do with the programming.

Hello, World!

The first known Hello, World! program was written by Brian Kernighan and Dennis Ritchie, the creators of the C programming language, in 1972.

Hello, World! programs have been written in almost every programming language imaginable. As the first program that many people learn, it is generally simple and straightforward. However, some Hello, World! programs can be quite complex and creative.

One of the earliest Hello, World! programs were written by Tim Berners-Lee, the creator of the World Wide Web. His program simply displayed the text "Hello, world!" on a web page.

Hello, World! programs have been used to demonstrate the power of new programming languages, to test new hardware or software, and even to make political statements. In 2014, the European Organization for Nuclear Research (CERN) released a Hello, World! program that was used to discover the Higgs boson, one of the most important particles in the universe.

Below are some of the implementations of programming language to print Hello, World!
alt text

C

#include <stdio.h>int main(){  printf("Hello, World!");  return 0;}

CPP

#include <iostream>int main(){  std::cout << "Hello, World!";  return 0;}

Javascript

console.log("Hello, World!");

Python

print("Hello, World!")

Java

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

Julia

println("Hello, World!")

C#

using System;namespace HelloWorld{    class Program    {        static void Main(string[] args)        {            Console.WriteLine("Hello, World!");        }    }}

*GoLang *

package mainimport "fmt"func main() {    fmt.Println("Hello, World!")}

Verilog

module HELLO_WORLD();   initial begin    $display("Hello World");    $finish;   endendmodule

Hello, World! programs will continue to be written as long as there are new programming languages to learn and new hardware to test. They will always be a part of the computer world, and will likely remain one of the most popular ways to learn a new programming language.

That's the end of this article! Hope you liked it!


Original Link: https://dev.to/dotaadarsh/hello-world-5ml

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To