Skip to content

Commit

Permalink
Merge pull request #310 from CodeYourFuture/remove-pass-by
Browse files Browse the repository at this point in the history
Remote pass-by-{value,reference} from what we don't teach
  • Loading branch information
Dedekind561 authored Oct 2, 2023
2 parents ae8580b + 077afe9 commit 028b62e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion content/guides/paradigm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ The following topics are largely unnecessary for writing code in the style we te
- JS classes and constructors
- The `this` keyword is famously unintuitive. React changed its API to avoid using this. Since JS classes tend not to be useful without the this keyword, we avoid them altogether.
- Mutability/immutability
- Passing by value vs reference

In general: while we cover basic language features like for loops, we quickly move on to higher order functions and encourage these over imperative strategies. We downplay strategies that mutate arrays, like push, and pop.

Expand Down

0 comments on commit 028b62e

Please sign in to comment.