Pedagogy of JavaScript

Pedagogy of JavaScript
0.0 0

#1

To the Editor: I think it is more helpful to the site author for fixing this problem if the comment is in the JavaScript section, rather than General. I don’t know if this problem is generally an issue for the other sections. It is in the JavaScript one.

This is a great site but:

Why does it always seem to try to introduce some function, code, concept that has little to do with the particular exercise? Can’t you just make it simple, so that the basic concept is crystal clear??

Why introduce Math.floor in this example??? It causes a new student to be confused and have to spend time looking this up and somehow figure out its relevance.

Another example:

Re: compound assignment:

Why not put the code ANSWER, instead of telling us the result of the addition of the assignment variable and the number added to it. That doesn’t help explaining the concept.

var a = 11;
var b = 9;
var c = 3;

// Only modify code below this line

/*a = a - 6;
b = b - 15;
c = c - 1;
*/

a -= 6;
b -= 15;
c -= 1;

The answer give for the hint , which is NOT HELPFUL. Where is the logic in this “hint?”

a should equal 5
b should equal -6
c should equal 2

Just sayin’.

5 % 2 = 1 because
Math.floor(5 / 2) = 2 (Quotient)
2 * 2 = 4
5 - 4 = 1 (Remainder)


#2

Its because it pushes you to search and learn new things that later you will discover are very useful


#3

There always going to be difficulties with curricula, particularly with one built by a disparate group of volunteers. In this case, it’s the language used to explain concepts rather than the code.

I’d suggest contributing to FCC. That can just mean raising an issue relating to problems you’ve had, starting a discussion there with concrete, specific suggestions regarding how think it could be improved - make a case for it! I know, as a developer, when I’ve written learning materials it is extremely easy to fall into the trap of a. giving people info you assume, from personal experience, they need (when they may not), and b. being unclear and skating over things you think are simple and obvious.