NW5/Kamran-Nikkhah/JavaScript-Core-1-Coursework-Week3 - #146
Conversation
|
Thanks for your JS week 3 pull request. All your mandatory tests pass - TDD is a great way to write code. Gives confidence. Just some minor details really about comments. So remember if there is a comment Also take care with indentation. Again it helps others reading and understanding your code. One technical point in 3-financial-times.js - how robust is the function One last thing - in your B-while-loop exercise the evenNumbers function works with strings. Well that seems OK - we need to output a string. But often you will hear about separation of concerns. Think about working with numbers to build an array of even numbers. That's one concern - a pure calculation. Then think about how to display the output. That is a second concern. If you change how you want the output you don't need to change the pure calculation. It's an important design skill. Thanks again though for your work here. Steve |
No description provided.