The coding convention PEP8 is a standard Python convention,
As a result, it is better to become a standard standard even in development environments such as Git and editors such as VSC in the future.
This is the knowledge that every Python programmer who can make everyone happy should know.
Click here for Google search results
If Python follows the standard rules of PEP8 with the whole team and develops WEB sites etc.
It is easy to see and maintain even source code developed by teams or others.
As of November 2021, the operation of Python is slow, but it is speeded up by calling Rust on the server side, but including Python and a framework that supports 1 million accesses per second, AI libraries etc. Rust or in the future, if the vulnerability problem becomes as secure as Rust in V language, I sincerely hope that it will be a roadmap for rewriting Python functions and frameworks in V language.
Python is also excellent in terms of the merit that the AI source code is easy to write.
■ Python ( Japronto ) seems to have millions of accesses per second according to other benchmarks, which is the performance of C10K X 100.
https://github.com/squeaky-pl/japronto
and
Google Translate
https://translate.google.com/translate?hl=ja&sl=en&tl=ja&u=https%3A%2F%2Fgithub. com% 2Fsqueaky-pl% 2Fjapronto
server | setup | Number of requests per second |
---|---|---|
Tornado | nginx , four frontends | 8213 |
Tornado | One single-threaded frontend | 3353 |
Django | Apache / mod_wsgi | 2223 |
web.py | Apache / mod_wsgi | 2066 |
CherryPy | Standalone | 785 |
Japronto 1,000,000 cases per second
You can see that Japronto is great because it can be processed . However, as of October 2021, Python does not yet support true multi-core and multi-threading. In 2018, Java will be a very expensive paid version, and the version upgrade will be fierce, and companies will be able to provide a sense of unity in the source code even when developing as a team because problems such as memory leaks have been solved by supporting 10,000 simultaneous access of clients. It is a programming language that can maintain a certain quality of code, and unlike Node.js, Java, and GoLang, it does not have garbage collection, so Rust and VLang or Rust and VLang are mission-critical programming languages that do not slow down processing and slow down response. , I can recommend Python that looks like Python and the contents are modified with Rust to speed up. Of course, we also support asynchronous, multi-core, multi-threaded, and C10K problems. ■ Python (Django) ( Japronto ) □ Advantages It is highly reliable because it is also used by Google, Youtube, NASA, JAXA, etc. Free online learning is substantial and relatively easy to remember with Python alone . The visibility of the code is good. Even if it is developed by a team and developed by others, it is easy to create the same non-unique source code. It is easy to maintain because it is easy to read and understand the structure, whether you or someone else, even after a few years. There are quite a few books on Python alone on Amazon.
Online learning is available at PyQ, Paiza and Udemy.
If PEP8 is used by the entire team, development efficiency and maintainability are high.
https://www.google.com/search?q=Python%E3%80%80PEP8&sxsrf=AOaemvJdbGLO7bfa_Rh46TICt_YGk8xVCg%3A1635689133916&source=hp&ei=raJ-YZegNdf_-gSXz66oDA&iflsig=ALs-wAMAAAAAYX6wvVRPwZ-0WxkRyONTglh_Bka2MGzx&oq=Python%E3%80%80PEP8&gs_lcp=Cgdnd3Mtd2l6EAMyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDoHCCMQ6gIQJzoECCMQJzoLCAAQgAQQsQMQgwE6BwgAEIAEEAQ6CggAEIAEELEDEAQ6DQgAEIAEELEDEIMBEAQ6CAgAEIAEELEDOgUIIRCgAVDEGVjlP2CiQ2gCcAB4AIABZ4gB9AeSAQQxMS4xmAEAoAEBsAEK&sclient= gws-wiz & ved = 0ahUKEwjXqqbu6PTzAhXXv54KHZenC8UQ4dUDCAo & uact = 5
0 コメント:
コメントを投稿