AC
AnkiCollab
AnkiCollab
Sign in
Explore Decks
Helpful
Join Discord
Download Add-on
Documentation
Support Us
Notes in
Level 3: Level 3.1 Functions
To Subscribe, use this Key
wyoming-fruit-floor-speaker-alpha-wyoming
Status
Last Update
Fields
Published
05/03/2024
When you have more code than you actually need. Often caused by Duplication.
Published
05/03/2024
When you copy/paste sections of the same code rather than creating a single function. Bad Practice.
Published
05/03/2024
A piece of code that you define and separate out from the rest, and call into use as needed.
Published
05/03/2024
Keyword used to define a new Function before you use it.
Published
05/03/2024
Returns a value back to the code that called the function.
Published
05/03/2024
A section of the computer's memory. Similar to a note pad.
Published
05/03/2024
A section of the Stack - similar to a sheet of paper on a note pad.
Published
05/03/2024
Its stack frames and local variables are thrown away.
Published
05/03/2024
When a variable's value can't be seen by some code (because it's on a different stack frame)
Published
05/03/2024
The context in which a variable is in effect.
Published
05/03/2024
A variable that is accessable in every scope i.e. anywhere in the program.
Published
05/03/2024
A variable that is only accessable from the function or block in which it is declared.
Published
05/03/2024
By placing them between parentheses.
Status
Last Update
Fields