Skip to content

Commit c142d54

Browse files
committed
add a definition of encapsulation
1 parent 0b15ba6 commit c142d54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/encapsulation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Encapsulation
2-
2+
Encapsulation in software development refers to isolating a piece of software and its dependencies from the external environment so that it can function, be reused, or moved independently.
3+
It can happen at different levels — within code (e.g., functions, classes, or modules), within environments (e.g., virtual environments, containers), or even at the system level (e.g., portable workflows and data management).
34

45
:::{discussion} Types of encapsulation
56
Let's say you want to move a code from one system to another. What are the things that can go wrong?

0 commit comments

Comments
 (0)