Major
advantages of scripting languages
- Easy to learn and
use
- Allows the addition of dynamic and interactive activities to web pages
- Allows complex
tasks to be performed in relatively few steps
- It allows users & programmers to create and interpret in many text editors.
Image source: Google
First of all, we discuss disadvantages in python and then advantages...
Disadvantages of Python
We know that Python code is executed line by line because Python uses interpreter, it results in slow execution.
- Weak in Mobile Computing and Browsers
While it serves as an excellent server-side language, Python is much rarely seen on the client side.
Python is dynamically typed. It means that you don’t need to declare the type of variable while writing the code. While this is easy during coding, it can raise run time errors.
- Underdeveloped Database Access Layers
Compared to more widely used technologies like JDBC (Java DataBase Connectivity) and ODBC (Open DataBase Connectivity), Python’s database access layers are a bit underdeveloped. Consequently, it is less often applied to huge enterprises.
Advantages of Python
- Easy learning and Support Available
Python offers excellent readability and simple-to-learn syntax which helps beginners. Additionally, the wide base of users and active developers has resulted in the internet to encourage development.
- Presence of Third Party Module
The Python Package
Index (PyPI) contains numerous third-party modules that make Python capable of
interacting with most of the other languages and platforms.
It is a high-level language. When you write programs in python, you don’t need to remember the system architecture, nor do we need to manage the memory, this makes it more programmer friendly.
- Extensive Support Libraries
Python provides a large
standard library which includes areas like internet protocols, string
operations, web services tools and operating system interfaces.
- Open Source and Community Development
Python language is
developed under an OSI-approved open source license, which makes it free to use
and distribute, including for commercial purposes.
Python has built-in
list and dictionary data structures which can be used to construct fast runtime
data structures.
Python has a clean
object-oriented design. Python is considered a viable option for building complex
multi-protocol network applications.
Python is dynamically typed, this means that
the type for a value is decided at runtime, not while writing code. So, you
don’t need to specify the type of data while declaring it.
If you have written a Python code for windows
machine. If you want to run on a Mac, you don’t need to change to it for the
same. You can take one code & run it on any machines. This makes Python a
portable language.
Python can be extended to other languages. You
can write some of your code in languages such as C++ or C, this comes in handy
especially in projects.
Python supports both procedure-oriented &
object-oriented programming is one of the key python features. Functions help
us with code reusability, classes, & objects.
- Official Download website provided below
No comments:
Post a Comment