Hello World

Python is an object oriented language with can be used in both scripting and non scripting contexts. Python has clean and easy syntax that makes it easy to read. In this article, we will understand python language from scratch through examples. We will often compare Python programming features/syntax with some popular languages like C/C++. Also, we will be using Linux command line for all the examples.

This is a new series. We’ll be publishing several articles on Python on an on-going basis.
(more…)

Classes and objects are fundamental concepts of object oriented languages. To learn an object oriented language such as C++, you should have a sound knowledge of classes and objects.

This tutorial explains concept of object and classes using an hello world example program.

This is the 1st article in our on-going new series on C++ programming.
(more…)

6 Expect Script Examples to Expect the Unexpected (With Hello World)

by Balakrishnan Mariyappan on October 12, 2010

Expect scripting language is used to feed input automatically to an interactive program. It is easy to learn compared to other scripting languages. Using expect script sysadmins and developers can automate redundant tasks easily. It works by expecting specific strings, and sending or responding strings accordingly.

Following three expect commands are used when automating any interactive processes.

  • send – to send the strings to the process
  • expect – wait for the specific string from the process
  • spawn – to start the command

(more…)

Question: I would like to understand the basics of how to write and execute Forth program on Linux OS. Can you explain it with a simple example?

Answer: If you’ve never heard about Forth program, read about it in Wikipedia first. In this article, let us review very quickly how to write a basic Hello World Forth program, and run forth program on Linux or Unix OS.
(more…)

Question: I would like to understand the basics of how to write and execute Erlang program on Linux OS. Can you explain it with a simple example?

Answer: In this article, let us review very quickly how to write a basic Hello World Erlang program, Compile and execute erlang program on Linux or Unix OS.

If you are new to Erlang programming language, read this erlang programming page on wikipedia.
(more…)

Question: I would like to understand the basics of how to write and execute Tcl program on UNIX / Linux OS. Can you explain it with a simple example?

Answer: In this article, let us review very quickly how to write a basic Hello World Tcl program and execute tcl program on Linux or Unix OS.
(more…)

Question: I would like to understand the basics of how to write and execute Haskell program on Linux OS. Can you explain it with a simple example?

Answer: In this article, let us review very quickly how to write a basic Hello World Haskell program and execute haskell program on Linux or Unix OS.

Also, refer to Haskell article on wikipedia to learn about this programming language.
(more…)

Question: I would like to understand the basics of how to write and execute Cobol program on Linux OS. Can you explain it with a simple example?

Answer: In this article, let us review very quickly how to write a basic Hello World Cobol program and execute cobol program on Linux or Unix OS.

(more…)