Class Notes (835,107)
Canada (508,933)
Langara College (1,809)
CPSC 1045 (27)
Lecture

FUNCTIONS.docx

3 Pages
102 Views
Unlock Document

Department
Computer Science
Course
CPSC 1045
Professor
C.Clevinson
Semester
Fall

Description
CSPC FUNCTIONS 1. Functions offer the ability to break a program into smaller codes to programmers. Furthermore, each code implements a specific piece of functionality. 2. According to “WC3 JavaScript Functions”, you can think of functions as if it as if you are on top of a built-in core because you are creating new commands that are more expressive and more understandable in the writing of your application. 3. The reasons why you should use functions are because it is the building blocks that allow you to structure your code for better understanding of its purpose. Moreover, you could also reuse the functions you’ve written to avoid repetitive writing in different places in the code. To add on why you should use functions, it will make your program way easier to write and test if your code was broken up into
More Less

Related notes for CPSC 1045

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit