Skip to content

Commit

Permalink
πŸ“ Add Passing by reference article. (fix #18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieutu committed Aug 27, 2019
1 parent 1978667 commit a2d6285
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/blog/2019/passing-by-reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Passing a variable by reference
lang: en-EN
date: 2019-06-02 10:17
tags: [learning, basics]
hints: [value, immutable, mutable]
---
A simple visualisation of concept of passing a variable by reference:
<image-offline alt="Passing by reference" src="https://www.mathwarehouse.com/programming/images/pass-by-reference-vs-pass-by-value-animation.gif"/>

From a complete explanation of differences with passing by value:
<url-preview url="https://www.mathwarehouse.com/programming/passing-by-value-vs-by-reference-visual-explanation.php" />

0 comments on commit a2d6285

Please sign in to comment.