[Discussion]Does using python amount to cheating?
i`d like to know your opinion on whether using python and hence its builtin functions like sort(),len() etc amounts to taking "short cuts" in the learning process.
suppose i am working on string matching algorithms,and since i already know how to implement len() etc,i choose to use builtin,but when do you think it crosses the line? the python code for the problem is around 20 lines whereas a native c code takes around 150-180 lines.
argument for using python would be 1.there is no need to reinvent the wheel.
would like your opinion
EDIT:this has nothing to do with course material/college
7 comments · 42% upvoted · other discussions
Part of being an excellent developer, I've been told, is knowing how to do things efficiently, and which tools are the best to use in each situation. I can't imagine a supervisor being happy that it took you 3 days to program something, whereas your co-worker did it in an hour because he knew which "tools" to use (and didn't re-invent the wheel).
When learning (be it college, personal learning, etc) I prefer to understand things as in-depth as possible. Knowing the functions is excellent; knowing exactly how they work? Even better. As an example: Knowing how to use data structures is great. Knowing when to use them, why you're using them, and what they are doing is even better.