-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
task tiny js world #172
task tiny js world #172
Conversation
This is an agreed resubmission of kottans/frontend-2019-p2p#196 (one of three listed in #174 ). @DaniaB24 please fix the code following the code as per DoD therein. Also fix empty line addition in your code editor once for all. You may find this helpful. |
Thank you for contributing to this repo! ❤️️ A Tiny JS World -- (pre-OOP) exercise check listLet's do some self-checks to fix most common issues and to make some improvements to the code while reviewers find some time to dedicate it to your submission. Go through the checklist below, fix code as appropriate and mark fulfilled requirements when you genuinely believe you are done. Please, feel free to ask questions here or seek for help in the Students' chat. Check-list - definition of done
Sincerely yours, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please carefully check the comments above
thank you a lot for the review! My bad, sorry:( |
this link led to pre-oop code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the comment below.
print(cat.species + ';' + cat.name + ';' + cat.hands + ';' + cat.gender + ';' + cat.legs + ';' + cat.saying); | ||
print(dog.species + ';' + dog.name + ';' + dog.hands + ';' + dog.gender + ';' + dog.legs + ';' + dog.saying); | ||
print(man.species + ';' + man.name + ';' + man.hands + ';' + man.gender + ';' + man.legs + ';' + man.saying); | ||
print(women.species + ';' + women.name + ';' + women.hands + ';' + women.gender + ';' + women.legs + ';' + women.saying); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its also pre-oop code , sorry:( I will change the link to the code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping me when you double-check everything.
I'd expect to read something like "Listed requirements are met, questions I had are asked, code is updated accordingly, links are updated".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think links are updated @OleksiyRudenko
Ping me when you double-check everything. I'd expect to read something like "Listed requirements are met, questions I had are asked, code is updated accordingly, links are updated".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still can see that there is no new line at the end of file:
Also there is a requirement which says:
- Code is DRY, which means that whenever you see a pattern in your code those should be eliminated as much as possible. Examples:
print(dog); print(cat); etc ...
should be refactored employingArray.forEach
as the least`${obj.legs}; ${obj.name}; etc...`
(yes, strings are also code) must be refactored employing appropriateArray
methods
Feel free asking questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still can see that there is no new line at the end of file:
Also there is a requirement which says:
Code is DRY, which means that whenever you see a pattern in your code those should be eliminated as much as possible. Examples:
print(dog); print(cat); etc ...
should be refactored employingArray.forEach
as the least`${obj.legs}; ${obj.name}; etc...`
(yes, strings are also code) must be refactored employing appropriateArray
methodsFeel free asking questions.
I honestly do not know why this happens, I will try to fix it tomorrow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still can see that there is no new line at the end of file:
Also there is a requirement which says:
Code is DRY, which means that whenever you see a pattern in your code those should be eliminated as much as possible. Examples:
print(dog); print(cat); etc ...
should be refactored employingArray.forEach
as the least`${obj.legs}; ${obj.name}; etc...`
(yes, strings are also code) must be refactored employing appropriateArray
methodsFeel free asking questions.
I think I did it))) review pls @OleksiyRudenko
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DaniaB24 great job done!
tiny-js-world
Demo |
Code base
Please, review.