Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JS grades example #1

Merged
merged 2 commits into from
Sep 22, 2020
Merged

Add JS grades example #1

merged 2 commits into from
Sep 22, 2020

Conversation

rgomezcasas
Copy link
Member

No description provided.

@rgomezcasas rgomezcasas self-assigned this Sep 21, 2020
@rgomezcasas rgomezcasas changed the title Js example Add JS grades example Sep 21, 2020
@rgomezcasas rgomezcasas force-pushed the js-example branch 2 times, most recently from 2124ed7 to 119697b Compare September 21, 2020 15:41
Copy link
Member

@JavierCane JavierCane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to maintain consistency, we should follow the same folder naming structure as with the Java example (java-student_grades-01_base_example), that is: %language%-%project_name%-%iteration_number%_%iteration_name%

let hasToIncreaseOneExtraPoint = false;

for (let [year, teachers] of Object.entries(this.allYearsTeachers)) {
if (!(this.yearToCalculate != year)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it's intentional, but I see some comparisons use the strict operator, while others don't. I think most people are used to always stick to the strict comparison, but not a big issue anyway!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one of the smells 😊🤘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants