Object Oriented Programming Analysis

Improved Essays
Object-oriented programming has opened the possibility that software components can be constructed and re-used with more credibility. Software developers can create software objects that model real-world objects, and then create variables and methods that constitute the object they are developing. Programming utilizing real-world like objects makes the development process easier and more relatable for the individual or team overall by making it easier to understand how objects are interconnected with one another. The end goal of the program becomes clearer to visualize as the interconnection of objects begins to form a unified system of parts that form a product. This is referred to as encapsulation. Object-oriented programming has also opened up the notion of more flexible software that is able to adapt dynamically to the needs of the application at run-time. This is because making one change in an object-oriented programming language can affect the program globally rather than having to make many changes to affect a program globally like with C. Let us compare and contrast two different object-oriented languages, C# and C++ (Craig, 2007).
C# is a fairly advanced object-oriented programming language developed by Microsoft, which first made its appearance in 2000 that was based on C++ syntax. Anders Hejlsberg led the development of C#. C# was first labeled Microsoft’s solution to Java because it was developed in a response to the popularity of Java, but as time elapsed and as the two languages grew farther and farther apart from each other that stigma decreased. The sharp symbol represents a ligature of four “+” symbols implying that the language is an increment of C++. C# is designed to use the tools in the .NET Framework efficiently, which is also a series of products and technologies also developed by Microsoft. The .NET Framework is integrated as part of the Microsoft Windows operating system. This framework was created to be an easy-to-use programming solution to many programming needs such as web application development, database connectivity, network communications, user interface components, and numeric algorithms. The .NET Framework contains numerous methods of its class library, which programmers can use in addition to their own code to create robust applications (Sharp, 2013). C++ is a programming language which evolved from C, hence the unary increment operator “++” to model that it is an evolution of C. The language was designed by Bjarne Stroustrup at Bell Laboratories in the early 1980s. From the early 1980s through the early 1990s, several C++ compilers were available, but the C++ language was evolving in slightly different ways between different compilers and as a result C++ programs were not always portable from one compiler to another. In the early 1990s, a joint committee of the American National Standard Institution (ANSI) and International Standard Organization (ISO) was established to standardize the syntax of C++. ANSI/ISO C++ language standards were approved in 1998, thus establishing the standard C++ syntax that we follow today. Over the following years the committee continued to meet to further standardize the C++ syntax as programming evolved, and in 2010 the second standard of C++ was approved. This new standard introduces the data type long long to handle large integers, auto declaration of variables using initialization statements, enhancing the functionality of for loops to effectively work with array and containers, and new algorithms (Malik, 2013). C# and C++ are more different than they are similar, but the main similarities include both languages being developed by Microsoft and basic syntax. Basic programming principles (i.e. looping, decision making, arrays, functions, etc.) remain prevalent between both languages. C# does not
…show more content…
Everything in C# is an object. C# also has its own memory management called a garbage collector, very much like Java which the language was originally modelled after. Therefore destructors are not necessary in C#, while they are necessary in C++ to avoid memory leaks. Both languages also utilize different libraries, as C# mainly utilizes the .NET Framework. This makes sense for the C# language as it was developed with the intent on using the .NET framework efficiently. As a result of this, C# is utilized more commonly for web-development over C++. C++ utilizes more libraries in common with the libraries that C utilizes, and as a result is backwards compatible with C. C# however, is not backwards compatible with C (Gaudioso,

Related Documents

  • Improved Essays

    Nt1330 Unit 2 Assignment

    • 505 Words
    • 3 Pages

    It worked very well due to the input of information from the manual about what procedural step needed to be taken in order for the application to have its functionality in its correctness. The encapsulation aspect of the process given help to create the application all together in the procedural aspect and it help to generate the code formation of what will be happening in the process of Java application structure as it is seen and/ or made by…

    • 505 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    The Inheritance of Tools is based about a family and a hammer that has been passed down through generations. A father taught his son how to hammer, his son taught his son, and his son taught his daughter. Sadly, in the story the father dies one morning due to his heart quitting. Tools are very important in this story because you need them to build any type of building. While researching the author Scott Russell Sanders, I found he was born in Memphis, Tennessee.…

    • 203 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    The orders process and troop leading procedures are two ideals that are closely related in the realm of leadership. The troop leading procedures are an eight step process in which an individual utilizes to create definitive timelines, organized training modules and mission planning by visualizing, describing and directing. Its counter-part, the operations process’ central idea is described as “commanders, supported by their staffs, use the operations process to drive the conceptual and detailed planning necessary to understand, visualize, and describe their operational environment; make and articulate decisions; and direct, lead, and assess military operations (ADP 5-0.”) The relationship between the operations process and troop leading procedures…

    • 1019 Words
    • 4 Pages
    Improved Essays
  • Superior Essays

    The desire and attempt to improve software engineering process continues today. Pressman describes this event, “virtually every major software engineering organization has attempted to “make software engineering happen.” … Their practices are hit-and-miss, and their process is…

    • 1561 Words
    • 7 Pages
    Superior Essays
  • Great Essays

    Unlike many of those who enter into Computer Science programs in college I have only recently, in the last couple of years, started programming. During my senior year of high school a friend of mine and myself started playing around with C++ for fun during a vocational networking class accomplishing very little and not getting any desired results. At that time I had no clue that a couple short years later I would have a deeper understanding of proper programming methodologies and an understanding of a variety of languages to meet specific needs. It is often that you will see, or at least I have seen, when speaking to others programmers, that programmers believe that their language of choice is the language that will solve every problem that…

    • 1828 Words
    • 8 Pages
    Great Essays
  • Improved Essays

    Analysis Of Two Kinds

    • 735 Words
    • 3 Pages

    “Two Kinds” is a story based on a mother and daughter, and how they had their own opinions on how the daughter should be. The mother wanted the best for her daughter, but she also wanted her daughter become something she wasn’t, a child prodigy. The daughter tried to please her mother but in the end she just wanted to be herself, to stick to her own mindset, not her mother's. She tried everything in beginning that her mother wanted her to do, but later grew out of trying to please her mom because she believed it to be unrealistic. She knew she just wasn’t the child that could become a prodigy, at least she didn’t believe that she could be.…

    • 735 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Understanding protected class and the considerations and implications that this class of employees has on business is vital to embrace diversity in the workplace. Many laws have been established to ensure that all individuals have the same opportunities to compete and be successful. This essay will define protected class, compare and contrast Affirmative Action law against Title VII of the Civil Rights Act of 1964 and the Age Discrimination in Employment Act of 1967. Additionally, the relationship between deservingness and attitudes toward social provision to groups and the relationship to Affirmative Action policy (Wilkins & Wenger, 2014) will be discussed. The protected class is defined as those individuals whose minority status is based on race, color, religion, national origin, age, gender, sexual orientation, disability, or veteran status (Siegel, 2004).…

    • 759 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    “71 percent of those who have been bullied said it has happened at least once a week.” according to “Bullying and Children and Youth with Disabilities and Special Health Needs” There is a problem with bullying, especially bullying kids just because of their disabilities. There has been many things tired to cut out bullying in general. Such as counselling, consequences, and there is a program called Everybody Counts. This paper will cover problems of bullying, solutions, and what could possibly go wrong.…

    • 763 Words
    • 4 Pages
    Improved Essays
  • Great Essays

    Change is Coming Ready or not, “change is a comin,” and has already arrived at the dismay of many parents and educators. Americans are unhappy with the education system in the United States, and the government is trying to find a solution. The United States has been spending money on educational reform and American students still rank low in math and science to other developed countries. The latest idea to be implemented is the Common Core State Standards Initiative, which is supposed to strength our educational system. Many of the states have accepted the Common Core State Standards, but they have not been popular with teachers, parents, or students.…

    • 1940 Words
    • 8 Pages
    Great Essays
  • Superior Essays

    MMAO Program Analysis

    • 1087 Words
    • 5 Pages

    I am writing in regards to the proposed assessor educational changes. I feel that I am qualified to comment because I have current graduate level formal eduction experience to base my opinions and may have more experience with the MMAO program than anyone else. I am currently completing my master degree in management and have twice been a candidate in the MMAO program. Unfortunately, I have not successfully passed the MMAO class.…

    • 1087 Words
    • 5 Pages
    Superior Essays
  • Improved Essays

    Part 1 Different data types and their uses - The different data types that is available for creating or developing a program on software. An example of programming software would be Microsoft Visual Studio. With this software, many data types are used which can drive an event. -…

    • 841 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Importance Of MIS

    • 969 Words
    • 4 Pages

    The five-component model can be used to do a business process automatically. This can be done when people do a particular task by following a procedure, and move it so that the computer hardware runs following the rules from the software. It can also be used to evaluate the scope of new systems by using a set of standards that has to be met, or can also be by determining its strengths, weaknesses, opportunities, threats. Every information system involves a person, and thus it is the most important component; however, the usefulness of the information gathered is limited by the quality of a person’s thinking – it depends on how the information will be…

    • 969 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Analyze one of your most important relationships. Begin by identifying the individual and briefly describing the relationship. Then use the principles in the chapters to analyze this relationship. One of my most important relationship is with my boyfriend. Our relationship consists of many aspects including emotional, physical, and spiritual.…

    • 707 Words
    • 3 Pages
    Improved Essays
  • Superior Essays

    One of the most prolific disadvantages is that programs using this paradigm are slower mostly due to the greater size of the code. However in recent times the improvements in computers speed and proformance have made restrictions about size and speed inconsequential. HOW IS OBJECT ORIENTATION USED IN THE…

    • 1119 Words
    • 5 Pages
    Superior Essays
  • Great Essays

    Django Case Study

    • 1057 Words
    • 5 Pages

    Django is a free, open source web framework written in the Python programming language and used by millions of programmers every year. Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Its popularity is due to its friendliness to both beginners and advanced programmers. Django makes it easier to build better web apps quickly and with less code. Django is robust enough to be used by the largest websites in the world.…

    • 1057 Words
    • 5 Pages
    Great Essays