Skip to content

Task 4 - #20

Open
someykoku wants to merge 2 commits into
HackYourAssignment:mainfrom
someykoku:task-4
Open

someykoku wants to merge 2 commits into
HackYourAssignment:mainfrom
someykoku:task-4

Conversation

@someykoku

Copy link
Copy Markdown

No description provided.

@RHSebregts RHSebregts left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great work.

For the next assignments, please do all assignments in 1 PR. Even though it's good to split PR's out into manageable chunks of works, having to deal with 4 PR's is a lot of work as a reviewer.

Thank you for your work, and all the best for the rest of the course!

Best wishes,

Robbert-Jan

Comment thread task-4/cleanup.js
Comment on lines +38 to +41
return 13.12
+ 0.6215 * celsius
- 11.37 * Math.pow(windSpeed, 0.16)
+ 0.3965 * celsius * Math.pow(windSpeed, 0.16);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Interesting approach. I feel like it's always a bit error prone to have these calculations as the return. It's hard to tell what goes wrong when something does. This way of writing it down is interesting, and it does show what's happening clearly, but it seems a bit fragile and dependent on formatting.

Comment thread task-4/cleanup.js
Comment on lines +62 to +65
for (const city of cities) {
printWeatherReport(city, city.temperature, city.windSpeed);
printWindChill(city, city.temperature, city.windSpeed);
} No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

fun!

@RHSebregts RHSebregts added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed Review in progress labels Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants