Coder Social home page Coder Social logo

js-reference-types's People

Contributors

jcornmanhomonoff avatar jrhorn424 avatar micfin avatar payne-chris-r avatar raq929 avatar realweeks avatar srhoulam avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

js-reference-types's Issues

Poor solution line 34-40

  1. The for-statement syntax is new to students, and they are using it wrong in their diagnostic.
  2. The existence of both uniqueWords and keys seems completely redundant. Unless there is a mistake, and they are meant to be used differently?
// The keys pulled out into a list
let uniqueWords = [];

let keys = [];
let k = 0;
for (keys[k++] in uniqueWordsAsKeys); //jshint ignore:line

uniqueWords = keys;

Only name functions in expressions that require recursion.

I believe that was our conclusion in a long discussion issue somewhere, but I don't remember where.

So, change that in this repo, e.g.

-const fullName = function fullName(given, family, east) {
+const fullName = function (given, family, east) {
   if (east) {
     return `${family} ${given}`;
   else {
     return `${given} ${family}`;
   }
 };

Change args to params

example when talking about args:

let three = function three(arg1, arg2, arg3){....

change these to params

Typo

// 3. Write a function that returns the count of words in a string.
- // Provid the *option* to count unique words instead of total words.
+ // Provide the *option* to count unique words instead of total words.

Question 3 of lib/lab.js is ambiguously worded.

Question:
// 3. Write a function that returns the count of words in a string.
// Provid the option to count unique words instead of total words.

The option part of question three says to count UNIQUE words instead of total words. That leads me to believe the amount of words that only appear once, so the count for a string of 'this a this' would be 1 as 'a' appears only once. Better phrasing for what is actually intended would be a count of all words not including repeating words, so the count of 'this a this' would be 2, as 'this' repeats twice and 'a' appears once.

(lib/collections.js has a similar ambiguity, which might be worth fixing as well)

Motivate naming

Array and Associative Array in fundamentals.

List and Dictionary in lesson (the conceptual model, not the specific implementation - Array and Object).

Feedback from a student during 1-on-1.

Adjust learning objectives

Create and invoke functions with argument-dependent return values should probably just be Create and invoke functions.

Argument-dependent return values are not covered, or I'm confused about what argument-dependent means. @gaand care to discuss?

Use standard-js

Use standard-js. Not sure if the scripts and grunt files are standardized, but the README definitely isn't.

nayana's thoughts on PVD delivery

  • under reference types header, confusing and distracting to students to see constructor functions mentioned and not really told what they do and are.

  • under the demo:arguments and return values section, we lost a good amount of time because an arrow function was randomly shown but not explained in the lesson plan. If at this point, we're just trying to show them how to properly make a basic function, we don't need to distract them with arrow functions. It was also unclear to us as instructors why it was there. where we supposed to teach that? Ultimately, I stepped in for a few minutes to talk to them high level about what an arrow function is because they were already going down the rabbit hole, but it was a bit disruptive.

Corrected readme regression from 27eaa499807c0267d6328e79e2cbe33b6d99784d

Match parentheses:

 ### Function information

--   [Function](https://en.wikipedia.org/wiki/Function_(mathematics)
+-   [Function](https://en.wikipedia.org/wiki/Function_(mathematics))
 -   [Subroutine](https://en.wikipedia.org/wiki/Subroutine)
 -   [Variable shadowing](http://en.wikipedia.org/wiki/Variable_shadowing)
--   [Parameter](https://en.wikipedia.org/wiki/Parameter_(computer_programming)
+-   [Parameter](https://en.wikipedia.org/wiki/Parameter_(computer_programming))

 ### Collection information

--   [List](https://en.wikipedia.org/wiki/List_(abstract_data_type)
+-   [List](https://en.wikipedia.org/wiki/List_(abstract_data_type))
 -   [Array](https://en.wikipedia.org/wiki/Array_data_structure)
 -   [Dictionary](https://en.wikipedia.org/wiki/Associative_array)
 -   [Hash](https://en.wikipedia.org/wiki/Hash_table)

Fork and clone hyperlink confusing people

People are confused by the hyperlink pointing to the 'meta' repo during the 'Fork and clone' this repository, and are forking and cloning the 'meta' repo instead of the THIS repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.