Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,158,475 members, 7,836,876 topics. Date: Wednesday, 22 May 2024 at 01:56 PM

Hello, World! - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Hello, World! (703 Views)

0x00. C - Hello, World Full Solution | 200% Explained / Hello World In 15 Programming Languages / Printing Hello World Without Semi-colon In Java (2) (3) (4)

(1) (Reply)

Hello, World! by Johnnyoungster(m): 4:43pm On Apr 09, 2020
WHAT EXACTLY DOES “HELLO WORLD” MEANS?

The coding language “Hello World” can be seen everywhere in the programming world i.e frameworks, learning platforms, modules, Web and mobile applications, themes, Websites, WordPress (what inspired this post), etc. What actually does it do? What is the importance and how can you use it in the coding world. If you are curious or you just starting to learn the program then this post is sure for you.

“Hello, World!” is a computer program that outputs or displays “Hello, World!” to the user. This is the absolute basic of any language. This language is very simple and easy to write a program, it is often used to illustrate syntax and working of a programming language.

For example, if you are building an application. You spend a few hours setting up routes, controllers, models, views, logic, a database, and many of the other odds and ends you need. You check one of your pages, and CRAP, an error message. You look over your code, make some adjustments, check stack overflow, google a bit. No luck. After hours of searching over your code, you find that you forgot something super simple, like writing vars instead of var in a javascript variable. How frustrating that can be? And what does this have to do with hello world?


To get your coding right you have to make sure all your routes, controllers, and views were correctly linked together BEFORE you start writing the bulk of your code. For example, if the first thing made was a ‘get’ index route, have it render a simple view that says “Hello world.” Does your browser display the time-test programming greeting? If yes, great! Now on to coding. If not, you might have just saved yourself several hours of chasing bugs. It is much easier to isolate a problem when there isn’t a lot of code there. If instead, you worked another hour before testing to make sure everything was hooked up correctly, there is so much more code you have to look through to find where the bug is.

This does not only apply to ruby-on-rails development but any type of programming. Are you building a game in C++? Say hello to make sure you are compiling the correct files or folders. Are you adding an internal HTML link to another page? Make sure you can click the link and make sure the world is greeted. Are you making a new react app? Make sure to say hi to see if babel is working correctly.

Saying hello to the world can save you hours of time and frustration. The best part is that it takes little to no extra time or work. So, the next time you are making a new app or website, make sure to say hello!

This technique has helped a lot of programmers solve their problems quicker, as it helped you? Leave a comment below!!

Read More on: http://tecrila.com/2020/04/09/hello-world/

(1) (Reply)

Wordpress Developer Needed / . / Why Will NL Take The Food Cooked By Chefs To Front Page, But Never Tech Projects

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.