Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Advait Gujar
DOI Link: https://doi.org/10.22214/ijraset.2023.56446
Certificate: View Certificate
In this paper, the author explores the characteristics and applications of C & Python programming languages across various industries, drawing insights from interviews with professionals. The study includes a comparative analysis of C and Python based on execution time, code readability, and length. C, favored for its speed and applicability in game development and embedded systems, has complexities such as large code size and lack of cross-platform support. In contrast, Python excels in artificial intelligence, machine learning, and web scraping due to its simplicity and extensive libraries. The article emphasizes the influence of programming communities on language popularity, noting Python\'s widespread adoption due to its concise syntax and strong community support. Industry experts concur on C\'s complexity and time-intensive nature but acknowledge its effectiveness. Python\'s ease of learning has made it the world\'s most widely used language, prompting non-coding sectors to encourage Python education.
I. INTRODUCTION
Computers only understand binary language i.e., 0’s and 1’s. For a computer to understand human written language, it must first be translated into a computer-understandable language first. There is a medium that translates human thoughts or language into machine/computer understandable language which is called a programming language. A programming language can be classified into mainly two types- (a) High-level language and (b) Low-level language.
In this paper, author will focus on C which comes under low-level language but is also considered the “mother” of many modern programming languages due to its influence on their development; and Python which is a high-level programming language. Python is very easy to understand, has a shorter syntax, dynamically typed i.e., one should not have to declare data types. Python is best suitable for a big feed data or a very complex data, it is very easy for Python to interpret complex code.
A. C : [1][2][3]
C is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972. It was mainly developed as a system programming language to write the UNIX operating system. It is a very popular language, despite being old. Most beginner programmers ask the question, “Why should we learn this old (C language) programming language?”. The answer to the question is rather very simple, i.e. as it is one of the oldest programming languages many later languages have borrowed the syntax/features directly or indirectly from C. So, if a person learns C programming first, it will help them to learn any modern programming language as well. Learning C helps to understand a lot of the underlying architecture of the operating system.
Applications of C
The development of system software and desktop applications is mostly accomplished via the use of C programming. Some of the examples of C programming languages are as follows.
B. Python [4][5][6][7]
Python is a popular programming language that was created by Guido van Rossum, and released in 1991. It is a dynamic, interpreted (bytecode-compiled) language. There are no type declarations of variables, parameters, functions, or methods in the source code. This makes the code short and flexible, and you lose the compile-time type checking of the source code. Python works on different platforms like Windows, Mac, Linux, Raspberry Pi, etc.
Applications of Python [7]
3. Data Science: Data science involves data collection, data sorting, data analysis, and data visualization. Some of the popular libraries for data analysis in python are TensorFlow, Pandas, and Socket learning.
4. Web Scraping: Web scraping is an automated process used to extract information from websites in an easier and faster way. The information is used by researchers, organizations, and analysts for a wide variety of tasks. Python has a wide range of features that make it suitable for web scraping some of them are:
5. Some of the other applications for Python are as follows:
C. Summarily the applications of C and Python programming language are as follows [1][4][7] :
II. STAGES IN SOFTWARE DEVELOPMENT
The stages are :
Out of the above stages only first three ie Input/Output, Data structures & Error Handling are discussed:
D. Industry Opinion
a. What are Programming/Coding Communities?
The coding community is a dedicated space for coders worldwide to collaborate on the same platform, discuss their problems and solutions, and announce the latest programming language and tool trends. Simply put, it is not compulsory but necessary for programmers of any level to join a coding community to enhance their level of programming as well as gain uplifting connections. There are not hundreds not thousands but millions of coding communities in the world. There are over a million communities dedicated to each programming language, such as Java, Python, C, C++, etc.
b. Why a Coder Should join a Coding Community?
Each developer community consists of thousands of programmers of various levels who post any issues and solutions for solving such problems.
So if you have any trouble with any errors or doubts regarding concepts you can reach out to these communities for help. Coding communities are the best place to connect with like-minded people and also express any doubts you might have regarding programming.
Beginner programmers frequently encounter many challenges and difficulties early in their programming careers. Even if Google is the most extensive resource for developers, becoming active in a coding community gives you more room to discuss your problems and makes finding relevant information to dispel your concerns easier.
Every coding community is filled with programmers of different levels. Therefore, your chances of finding mentors to help you on your software development path are good.
Additionally, you can interact with other developers in the community and work together on a project. Another compelling argument for why you should join a developer community is the networking opportunities that might develop simply through participating in them and interacting with people travelling similar paths.
2. Python Communities [13]
There are over 15 million developers in the Python community. Some of most prominent one are: -
3. C communities:
C and C++ have a wide range of communities like:
According to the survey [14], the size of the JavaScript programming language community is roughly 17.4 million software developers as of 2022, making it the most popular programming language in the world. Python is also a popular community for programmers, with 15.7 million developers.
Above are the number of communities for respective coding languages.
E. Discussion with Industry Experts [15]
The author has discussion with some industry experts primarily on following questions:
Mr. Prashant gave a brief insight into how Python and C programming languages are used in the industry. He commented on how the uses of Python and C change on the requirements of current projects.
Mr. Prashant said that as the world is going towards sustainability, and as Python uses more energy than its counterpart C, the use of C should be more if we have to conserve energy.
Industries use Python and Java, Python for its efficient libraries and readable codes, and Java for its outstanding use in web development. Python is highly preferred and used in Artificial Industry and Machine Learning products. The future of Python is in AI&ML, Data science, and in Quantum.
C on the other hand is mainly used in embedded software, Database drivers, and in the defence line of work. C is still a preferred language for students because of its complexity and logic-building ability. “So that’s why many institutions teach C programming as it builds logic of the student and does not teach Python as it is easy to use and handle.”
Mr. Prashant also quoted, “As the world is going toward LOW CODE – NO CODE it is very important to understand that the industry will try to prefer Python over C/C++ wherever possible.”
2. Dr. Preetam Tiwari, Cofounder and Director at IncubXperts, Consulting CTO at BFAC, Pune, India
Dr. Preetam Tiwari stated that the use of Python and C programming language depends on the current project the company is working on. For example, Dr. Preetam’s company prefers using C/C++ for web development. But as C also has limitations like C only works on Windows, they use Python on various occasions. Dr. Preetam also said “As Python has large community support and more options (it works on cross platforms) and as it also has more libraries compared to C, the industry adoption of Python gets easier.
3. Ashwani Kumar Rathod, CEO, IndoAI Technologies P Ltd, NOIDA, India
Mr. Ashwani Rathod had the following views on C and Python programming:
4. Neeraj Shetty, Consulting system Engineer, Juniper Networks, US
Mr. Neeraj Shetty expressed his following views on C and Python programming languages:
In this paper the author discussed what is C and Python programming languages and what are their applications in different industries as author talked to different professionals and what are their views on use of Python and C in the future. The author also did a comparative analysis of C and Python on the parameters; which are the time taken to execute a program, easy to read and understand the code, and lastly the length of the codes. C which is fast and static, and also preferable in game development and embedded systems has some disadvantages to it. It has complex syntax and structure, its code length is quite large and it does not support cross-platform. While Python is more efficient when used in artificial intelligence, machine learning, web scraping, etc. Python is the most popular programming language as it has one of the largest communities and has the most libraries. It has been seen that the programming languages which has the largest communities are the ones that are most popular and are widely used in the era. Python is popular these days due to its short syntax, and code length, and it’s easy to understand. The author also observed how programming communities are important in boosting the popularity of the programming language. And how useful the developer community is. It is seen that Python has a much larger developer community compared to C, which helps in its popularity and usage. The industry professionals gave many similar views on the use of Python and C in the IT industries. There were some conflicting points in the opinion but if there were none there would have been no reason for comparing C and Python in the first place. The people from the industry agreed to the fact that C is a much more complex and time-consuming programming language, but it also gives satisfactory results. On the other hand, Python is much easier to learn and less time-consuming. It is currently the most widely used programming language in the world. Many non-coding industries are trying to recruit professionals from the IT sector or are trying to encourage their employees to learn Python. But we never know what the future holds for the next technology.
[1] https://www.interviewbit.com/blog/applications-of-c-programming-language/ [2] https://www.simplilearn.com/tutorials/c-tutorial/use-of-c-language [3] https://github.com/topics/c-application [4] https://www.geeksforgeeks.org/top-10-python-applications-in-real-world/ [5] https://www.geeksforgeeks.org/top-10-python-applications-in-real-world/ [6] https://www.python.org/about/apps/ [7] https://www.interviewbit.com/blog/applications-of-python/ [8] C Programming Absolute Beginner\'s Guide by Perry and Miller https://usermanual.wiki/Pdf/CProgrammingAbsoluteBeginnersGuide3rdEditio.424140197.pdf [9] Data Structures and Algorithm Analysis in C by Mark A. Weiss https://mrajacse.files.wordpress.com/2012/08/data-structures-and-algorithm-analysis-in-c-mark-allen-weiss.pdf [10] Python Crash Course, 2nd Edition: A Hand: A Hands-On, Project-Based Introduction to Programming by Eric Matthes [11] Ramesh Kumar C (2019), A Comparison between Python and C++, Journal of Emerging Technologies and Innovative Research (JETIR), January 2019, Volume 6, Issue 1, www.jetir.org , (ISSN-2349-5162), JETIREQ06006 [12] https://dev.to/t/c [13] https://www.analyticsinsight.net/top-10-python-communities-everyone-should-join-in-2021/ [14] https://www.statista.com/statistics/1241923/worldwide-software-developer-programming-language-communities/ Interviews: [1] https://www.linkedin.com/in/prashant-bopardikar-b667b92/ ( https://ibm.com) [2] https://www.linkedin.com/in/dr-preetam-tiwari-44716bb/ ( https://incubxperts.com/) [3] https://www.linkedin.com/in/ashwanirathore/ (https://indoai.in/) [4] https://www.linkedin.com/in/neeraj-s-59566b43/
Copyright © 2023 Advait Gujar. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET56446
Publish Date : 2023-11-01
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here