PL - Scoping & modulariteit

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/4

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:59 AM on 5/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

5 Terms

1
New cards

Lexical scope Scope bepaald door waar de code staat (statisch). De meest voorkomende vorm.

2
New cards

Dynamic scope Scope bepaald door de call-stack op runtime. Zeldzaam.

3
New cards

Module / namespace Code-organisatie in losse eenheden. In Rust via mod.

4
New cards

Visibility / access control Toegangsregels zoals pub

private

5
New cards

Closure Een functie samen met de variabelen uit zijn omsluitende scope.