LEAP 71 | PicoGK.org Blog
By now, we should be comfortable with the fundamental building blocks we use to create functionality in C#. We have to identify the logical elements that make up our App. This is often simpler for engineering applications, as we are dealing with actual physical objects. In more abstract logical problems, you can sometimes get lost trying to figure out what constitutes a class. At this point, I want to emphasize one important way of thinking which is essential for proper object-oriented programming: Traditionally you would look at an operation that needs to be performed on some data, and treat the data as a passive entity. In a way, you think “I need to move the car to this position, so I will write a function to move the car from A to B, and pass the car as a parameter.” The car, in this way of thinking, is just passive, and all the work is done by applying some process to it “from the outside”. In object-oriented programming, you keep the functionality close to the object itself. So,
LEAP 71 | PicoGK.org Blog LEAP 71 PicoGK.org /coding for engineers Table of contents Inheritance By now, we should be comfortable with the fundamental building blocks we use to create functionality in C#. We have to identify the logical elements that make up our App. This is often simpler for engineering applications, as we are dealing with actual physical objects. In more abstract logical problems, you can sometimes get lost trying to figure out what constitutes a class . At this point, I want to emphasize one important way of thinking which is essential for proper object-oriented programming
Explore this link on the map →saved by
related reading
- LEAP 71 | PicoGK.org Blogpicogk.org
- LEAP 71 | PicoGK.org Blogpicogk.org
- LEAP 71 | PicoGK.org Blogpicogk.org
- how I think when I think about programming - alice mazalicemaz.com
- 14. Polymorphism - CS2030S Programming Methodology IInus-cs2030s.github.io
- The Law of Leaky Abstractions – Joel on Softwarejoelonsoftware.com
- Object-oriented programming - Learn web development | MDNdeveloper.mozilla.org
- Favoring Composition Over Inheritance In Java With Examples - GeeksforGeeksgeeksforgeeks.org
- 17. Abstract Class - CS2030S Programming Methodology IInus-cs2030s.github.io
- CS106B Object-Oriented Programmingweb.stanford.edu
- 9. Classes — Python 3.14.6 documentationdocs.python.org
- class - Why do Python classes inherit object? - Stack Overflowstackoverflow.com