Why python is not difficult 😬? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why python is not difficult 😬?

tell what ever u like

16th Mar 2018, 6:15 PM
NKCM
NKCM - avatar
5 Answers
+ 12
!difficult == easy //can be true sometimes //se what your friends think about python https://www.sololearn.com/Discuss/1146983/?ref=app
16th Mar 2018, 6:24 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 2
@Jan Markus 🍓 , this man speaks the truth
16th Mar 2018, 8:16 PM
voja
voja - avatar
+ 1
@Jan: ditch those modules, and try to use simplicity wherever you can. I just spent several hours battling with the “Counter” module, and I just gave up and wrote one loop instead. I was trying to do text analysis (regarding word count and their occurrence). Just wasted my time instead.
16th Mar 2018, 11:33 PM
DianaTheAlien
DianaTheAlien - avatar
0
Do not get me wrong: I do not say that you do not need modules at all, and that you should never use them. Sometimes they actually can work better than without using them, and of course, sometimes it is impossible to do what you want without them (take math and datetime, for example). Sometimes, if you need your code to be fast as can, and modules can help you in achieving this, use them. But, when there is no need to use the module, and you can use another method instead, use it, i do not think you shall use modules whenever you can, without good reason. Because there are so many modules, not everyone can be familiar with all the modules there are. While everyone is familiar with loops, functions, and other Python stuff. Think of someone who might need to analyze your code someday, do not make you code look like a nightmare. So, that is my humble opinion.
17th Mar 2018, 6:38 AM
DianaTheAlien
DianaTheAlien - avatar
- 1
I've got a different opinion about Python. The language itself is slim and easy to learn. For many tasks you can use modules - or you write an own solution. If you need Pi you'll find it in the math-module or you define a float. If you need an array you may use numpy or you may interlace lists.
16th Mar 2018, 9:34 PM
Sebastian Keßler
Sebastian Keßler - avatar