Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lecture materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
generic software skills
lecture materials
Commits
9ed11eec
Commit
9ed11eec
authored
1 year ago
by
Lukas Kluft
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-typos' into 'main'
Fix typos See merge request
!49
parents
98d6f234
5ad2d057
No related branches found
No related tags found
1 merge request
!49
Fix typos
Pipeline
#65308
passed
1 year ago
Stage: test
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lectures/programming-paradigms/slides.qmd
+4
-4
4 additions, 4 deletions
lectures/programming-paradigms/slides.qmd
with
4 additions
and
4 deletions
lectures/programming-paradigms/slides.qmd
+
4
−
4
View file @
9ed11eec
...
@@ -322,7 +322,7 @@ book.get_page_count()
...
@@ -322,7 +322,7 @@ book.get_page_count()
## OOP Key Concepts {.leftalign}
## OOP Key Concepts {.leftalign}
* Inherit
e
nce
* Inherit
a
nce
* Encapsulation
* Encapsulation
* Abstraction
* Abstraction
* Polymorphism
* Polymorphism
...
@@ -764,7 +764,7 @@ Works for any numeric types!
...
@@ -764,7 +764,7 @@ Works for any numeric types!
::::
::::
## Dynamic polymorphism with inherit
e
nce
## Dynamic polymorphism with inherit
a
nce
:::{.info .small}
:::{.info .small}
Also called **subtyping polymorphism**.
Also called **subtyping polymorphism**.
...
@@ -823,7 +823,7 @@ eBook->print_type(); // prints "eBook"
...
@@ -823,7 +823,7 @@ eBook->print_type(); // prints "eBook"
:::
:::
## Dynamic polymorphism without inherit
e
nce
## Dynamic polymorphism without inherit
a
nce
:::{.info .small}
:::{.info .small}
Straight-forward in dynamically-typed languages (e.g. Python)
Straight-forward in dynamically-typed languages (e.g. Python)
...
@@ -1128,4 +1128,4 @@ def convert_wind_from_uv_to_magnitude_and_direction(ds):
...
@@ -1128,4 +1128,4 @@ def convert_wind_from_uv_to_magnitude_and_direction(ds):
mag=(ds["u"]**2 + ds["v"]**2)**.5,
mag=(ds["u"]**2 + ds["v"]**2)**.5,
dir=np.arctan2(ds["v"], ds["u"])
dir=np.arctan2(ds["v"], ds["u"])
).drop_vars(["u", "v"])
).drop_vars(["u", "v"])
```
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment