CSCI 1120 Lecture Notes - Lecture 33: Abstract And Concrete, Pseudocode

75 views1 pages
Verified Note

Document Summary

Why looking at different programming languages is useful. So we do not confuse syntax for two languages. So we learn the underlying logic of programming. Different languages are using the same semantics with slightly different syntax. So we can look at different parts of different languages, such as objects. It makes sense to regard related data as attributes to a conceptual object. Object oriented programming languages let you extend objects. Consider we are making an rpg, where we would like to make two characters. It is easily to make two individual characters each with a name, hp, items, inventory or whatever you would like. But consider if you would like n amount of characters. It is not good to copy and paste more code means more mistakes and more tedious testing. We can declare every property as an array or a list, or any kind of linear container.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents