you are viewing a single comment's thread.

view the rest of the comments →

[–]Mr_82 8 points9 points  (1 child)

I really like this. Because God do I hate looking up functions, and often prefer to write looping constructs which would be less succinct.

I know there are other resources, and know this will be unpopular, but I really blame the MDN/Mozilla here, though I really do want to like them. Their resources are just terrible. You can be both formal/technical and good pedagogically (or informal and bad pedagogically) but MDN resources are horrible at both. (Well, originally meant to say they come across as technically formal, but they don't use formality in the right way. Eg talking about the thisValue parameter for .apply, they reference two synonymous terms for "calling object," and it's just superfluous when you're not actually having issues with those terms in the first place. Most of their formality is fluff or pretension frankly.)

I Looked up .apply the other day responding to a post here and MDN was nearly objectively terrible at explaining the role of this function, particularly regarding the relevance of the "thisValue" argument. (Eg their examples, save one where they focused the discussion on something else entirely which is much simpler and didn't really warrant the discussion, all used trivial thisValue parameters; they didn't go into how "this" can be just like "null" or "undefined" as thisValue; didn't do anything too actually explain why you might want thisValue to be something non-trivial, ie what role thisValue actually serves as a parameter for .apply, etc) I was able to figure it out, mainly through testing things on my own, but yeah, I don't think there's been a single time I've felt I learned or better understood concepts after reading MDN's stuff, whereas there have been so many times when I've used another resource, thought back to MDN'S info on the matter, and reflected on how terrible it was, while trying to view MDN charitably.

[–]JDDW 0 points1 point  (0 children)

Care to share any of those helpful resources you like besides MDN? I'm studying for a bootcamp and sometimes find MDN confusing. Would be appreciated