In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "Is it appropriate for Xiaobai to learn Python without programming foundation". In daily operation, I believe many people have doubts about whether Xiaobai learning Python without programming foundation is appropriate. Xiaobian consulted all kinds of materials and sorted out simple and easy operation methods. I hope to help you answer the question of "Is Xiaobai learning Python appropriate without programming foundation"! Next, please follow the small series to learn together!
Since Python is so easy to learn, does learning Python reduce your programming ability?
As a code farmer doing scientific calculations, here must answer! No!
First, let's define what programming ability is. I think it should include two parts at the same time: the ability to write code, and the ability to design algorithms and data structures.
If you want to learn Python well, you can join an organization, so that it is more convenient for everyone to learn, but also to communicate and share information together, recommend a learning organization for you to learn. If you have difficulty learning or want to obtain Python information, please add Python learning Q group 629440234, learn from each other and share learning materials with each other.
From the fourth grade of elementary school to learn QBasic, to learn Pascal and C in middle school, undergraduate course out of control, dry C++, Java at the same time get Obj-C, before graduate school quickly mastered Python, recently learned Swift, used so many languages only feeling is a high-level language except for the distinction is object-oriented or procedural, the rest of what is not much different, it is a language only. With QB can also write a balanced tree, C does not have STL, then to use the function to write it again, it will not be too complicated.
Python is an interpreted language, and it is also a language with considerable syntactic freedom, which means that most errors in writing programs are only prompted when your program runs to an error statement, which is so different from other compiled languages that when you write something not too small in Python, you must have a very clear concept, a grasp of the language, and a grasp of the program flow.
Any variable in Python is designed to be an object pointer, so that programmers must understand how the interpreter works. From this point of view, Python is very helpful in establishing programming concepts and understanding how programs work. Compared to brainless Debug-Watch, careful thinking and the ability to accurately analyze the operation of the code are more conducive to writing excellent code and training code skills.
As for the exercise of algorithm ability, it has nothing to do with the language itself. The biggest advantage of Python compared with C++ generation is that you don't need to worry about problems such as variable application when programming, and you can realize what you want more smoothly. I like to use Python to verify algorithms and ideas, because it is easy to learn, understand algorithms, and even design new algorithms. When you have thought enough, implement it quickly, and then try more. Python, a time-saving programming language, is therefore a great tool for improving algorithmic power.
In general, both the ability to write code and the ability to design algorithms rely on more writing and more thinking. Python reduces programming power by reducing your chances of writing and thinking.
Older programmers may feel that Python has a large number of modules, and a lot of code does not have to be written by themselves, reducing the opportunity to write complex content. In fact, whether a program is good or bad is not determined by handwriting or pinching a balance tree. In the face of C++ with STL, do you still have to write fast in order to arrange an array? In high school I could memorize the Splay tree and write a Splay tree with Pascal typing 400 in 10 minutes, but so what? Writing code ten thousand times by heart does not improve programming ability, or even write more.
On the contrary, now that others have built wheels for you to use, on the one hand, you can achieve your goals faster, you can write more different programs in the same time, on the other hand, you can modify the wheels according to your own needs. If you are confident, it is not a problem to transform a wheel into a helicopter propeller. Python gives more room for creativity, which is not inconsistent with writing more.
If you have to say Python's problem, it's execution efficiency. However, the efficiency was not two or three orders of magnitude lower. Efficiency was not the most important issue when it came to prototyping and thought validation. Prototype verification, there is the value of continuing to develop, affect the efficiency of the part written in another language compiled like it! Python is like sketching and sketching, perhaps not as good as oil painting, and ultimately can not hang up the frame to open the exhibition, but it must be a powerful tool to exercise the foundation.
To understand that programming is not a brick-moving job, do not think of yourself as an artist, at least when you are a craftsman, not a coolie.
At this point, the study of "Is it appropriate for Xiaobai to learn Python without programming foundation" is over, hoping to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.