COIS 1010H Lecture Notes - Lecture 6: Software Development Process, Procedural Programming, Spaghetti Code

17 views4 pages

Document Summary

A long time ago, programs were written as one large set of instructions that sent control to different parts of the program as needed to perform actions in the proper order: results in spaghetti code. Used to be tedious and required a lot of labour. Procedural programming: easier to find errors and bugs, more organize, easier to change the code, collaboration. Just have to write something once instead of multiple times. Variables: named memory locations that are defined for a program: used to store the current value of data items used in the program. Object-oriented programming (oop): programs consist of a collection of objects that contain data and methods to be used with that data: most popular programming style on the market. Class: a template which define a collection of data and actions on that data. Attributes: data about the data of an object.

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