Now i’m coding calculator project for this course. Actually, I already coded one before. To be honest, it is a little bit boring for me to write another one.
There is a better and faster way to do this - to use libraries. In my previous calculator, I used bignumber.js library to handle with counting problems caused the way computers work. I know there is libraries (math.js, for example) that provide you opportunity to use a better version of eval and not to write it yourself. Is it honest to use tools like that?
Is this allowed, in general?
Yes, I believe you can use whatever you want to implement these projects. I don’t think there are any restrictions. Here are the instructions:
This seems to recommend certain libraries/frameworks but the last sentence says you can use them at your own risk.
Thank you very much for your response.
I hope this is true that I can do it. And I also hope that it doesn’t violates Academic Honesty Pledge (and I believe it doesn’t) because I admire freeСodeСamp and I don’t wanna be a bad guy. By the way, they recommend to use marked library for markdown previewer project. I believe, math library is even less risky than this one because it does not interact with the DOM.
Using a library is not a violation of the academic honesty policy. Otherwise, you wouldn’t be able to use jQuery, react, or any of the other libraries that FCC recommends you use What is a violation is finding code online and copying it and using it like it was your own creation. As long as you don’t do that you are fine.
The marked library is very common for parsing Markdown and so they are just giving you a hint as to how to do this since you aren’t going to parse it yourself.
Does that mean if I copy code snippet from stackoverflow, for example, and don’t point to a person write this code, I violate honesty policy?
If you copy a snippet from stackoverflow then yes, you should at the least acknowledge that in a comment above the code along with the URL to the thread you copied it from. But to be honest, the whopping majority of your code should be your own, so this shouldn’t happen too much.