From 077afe91c44fa1b9817655917a2cfc712ed4cdb8 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Sun, 1 Oct 2023 09:35:18 +0100 Subject: [PATCH] Remote pass-by-{value,reference} from what we don't teach We do now, since 67b23e3b :) --- content/guides/paradigm/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/guides/paradigm/index.md b/content/guides/paradigm/index.md index 6faee267a..286156627 100644 --- a/content/guides/paradigm/index.md +++ b/content/guides/paradigm/index.md @@ -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.