Nowadays, there are numerous Programming Languages are becoming more general and all purpose, but these languages have their specialties and each language has its own advantages. Usually, programming languages can be classified into a few types. However, these languages support multiple programming style. Every year there are number of programming languages are implemented, but few languages are becoming very popular which may used by a professional programmer in their career.
A programming language is a notation designed to connect instructions to a machine or a computer. Programming languages are used to control the performance of the computer or machine. At present, computer programmer has many choices to choose the language. One must understand that every language has its limitations and the key is to choose a language depending upon your requirements.
Importance of Programming in the modern world
In the modern world everyone ha a smartphone in their hand which is due to the technology revolution. Since then the smartphone industry has grown a lot. So in modern day programming is necessary to make the people to follow a company and increase the competitive edge of a company by providing innovative technologies to people's hand.
Programming is definitely important, because thousands of professors, students and practitioners teaching, learning and practicing the discipline are enough testimony to the fact. Some of the more obvious reasons programming is important are
- To interact with machines and computers
- To harness the power of computing in all human endeavor
- To automate tasks
- To create intelligent machines
Nothing is possible without programming in current generation. From the fan to your mobile, everything is built-in programmed.
Types of Programming Languages
Java
Java is one of the most popular programming languages on the internet. Java is an open source language, which means it is available free-of-cost. It can be used for developing a stand-alone program as well as individual applets used in complex websites. It uses MVC (Model View Controller) model frameworks such as spring and struts. Java is used to build applications and platforms for a number of devices, including computers, laptops, gaming consoles, car navigation system, medical monitoring devices, parking meters, lottery terminals and smartphones. It is also a key language for networking, particularly for data centers that store and transfer web-based data.
Example:
class simple{
public static void main(String args[]){
system.out.println("Hello Java");
}
}
PHP
PHP means Hypertext preprocessor. PHP is one of the most generally used languages for web development. PHP is an HTML- embedded scripting languages and it is employed to form dynamic pages promptly. With the assistance of PHP, you can expand a web app very easily. PHP is directly fixed into an HTML source is rather than an external file. PHP controls lots of websites that are Wordpress, Digg and Facebook. It is a fast prototyping language and it is best for developing web-based applications that require maximum functionality with minimum code. It is suited for advertising apps, media, agency, small software business and startup business owners.
Example:
<?php
echo "Hello World!";
?>
Example:
<?php
echo "Hello World!";
?>
Python
Python is a dynamic language which means that the developer can write and run the code without needing a separate compiler for the purpose. It supports multiple programming paradigms such as object oriented programming, structured programming and even functional programming to a certain extent. It can be easily embedded into existing applications which require certain programming interfaces. It is extensively used as a scripting applications which require certain programming interface. It is extensively used as a scripting language. It is an excellent language for scientific, academic and research level applications that require a quick execution and accurate mathematical calculation.
Example:
script.py
# This program prints Hello, world!
print('Hello, world!')
Example:
script.py
# This program prints Hello, world!
print('Hello, world!')
Ruby
Ruby was developed by Yukihiro Mastsumoto as a programming language to offer a balance of functional programming along with imperative programming. It is a dynamic programming language and supports multiple programming paradigms such as functional, imperative and object oriented model. It is quite similar to Python and offers a programmer friendly interface for development. It is an object oriented language and has somewhat similar syntax like that of Python and Perl. It is an excellent choice for creative designs and small business software.
Example:
#!/usr/bin/ruby -w
puts "Hello, Ruby!";
Example:
#!/usr/bin/ruby -w
puts "Hello, Ruby!";
C
The C Programming language is a standardized programming language. It is one of the most broadly exercised programming languages. C is appreciated for its efficiency and is programming language known for writing system software. It is also used for writing applications. The language was shaped in order to easily compile by employing a simple compiler. It presents minimum possible run time support and supports cross-platform programming.
Example:
main()
{
Declaration part
Executable part
}
user-defined functions
{
statements
}
Example:
main()
{
Declaration part
Executable part
}
user-defined functions
{
statements
}
C++
C++ offers facilities for low-level memory manipulation. C++ is an intermediary level language with object oriented programming facets. It was initially designed to boost the C language. C++ influences chief software like Firefox, Adobe programs. Acknowledged to be the powerful language. C++ is used in very important operating systems, such as windows.
Example:
#include<stdio.h>
int main()
{
printf("Hello World\n");
return o;
}
Example:
#include<stdio.h>
int main()
{
printf("Hello World\n");
return o;
}
C#
C# is considered to be a multi-paradigm programming language. It includes imperative, functional, generic, object oriented programming disciplines. The language is enunciated C-sharp and C# is a general purpose language utilized to build up software for Microsoft and Windows platforms.
Example:
// Hello.cs
using system;
public class Hello
{
public static void main()
{
console.writeLine("Hello, world!");
}
}
No comments:
Post a Comment