Replies: 4 comments 1 reply
-
I think that perhaps we shouldn't teach these actively, in accordance with our functional programming paradigm, as they are all array mutators. @illicitonion @ChrisOwen101 what do you think? |
Beta Was this translation helpful? Give feedback.
-
I believe trainees still need to hear about these methods as they should understand what array mutation is. At most workplaces (code bases) they will encounter these methods. |
Beta Was this translation helpful? Give feedback.
-
They will encounter them, for sure, but I think it's a mistake to load them up with syntax at this point. I don't think they should be part of the core lesson. They are not forbidden knowledge, but I don't think we should focus on them or put them in the core content. |
Beta Was this translation helpful? Give feedback.
-
I think it's fairly important that we teach at least My thinking is:
I think that side effects are an important concept for our trainees to understand - if we can find a really good way of teaching them without array mutability I guess we could do that instead, but arrays seem like a really natural place to be teaching this... |
Beta Was this translation helpful? Give feedback.
-
Which module(s) and week(s) does this change effect?
Module(s): JS-1
Week(s): 3
What is the work that needs to be done?
The Array methods section of the lesson doesn't cover
push
,pop
,shift
andunshift
methods. The slides attached to the lesson include these, therefore I assume that they should be part of the lesson, but those teachers who don't teach from slides can easily forget about them.Why is this work important to do?
These are possibly the most commonly used array methods, it is important that the students hear about them in class.
Beta Was this translation helpful? Give feedback.
All reactions