How to become a proficient python programmer-becoming a Python master

Source: Internet
Author: User

http://blog.csdn.net/pipisorry/article/details/44801859how to become a proficient(skilled) python programmer How to become a python master

Spoiler:this post is primarily gonna was an excerpt(excerpt) of my bookmarks collection. That's because more intelligent men than me has already written great articles on the topic of what to become a great Pyth On programmer.

I'll focus on four primary topics:functional programming, performance, testing and code guidelines. When those four aspectsmerge(merged) in one programmer, he or she'll gaingreatness(great) n O matter.

functional-programming functional programming

Writing code in an imperative (necessary) style has become the De standard. Imperative programs consist of statements that describe change of state. While this might sometimes is a performant the coding, it sometimes isn ' t (for example for sake Ofcomplexity (complex) ) –also, it Probably is not the Mostintuitive (intuitive) when compared With programming.

If you don ' t know what I'm talking about, that ' s great. Here is some starter articles to get your mind running. Butbeware(beware), it's a little like the red pill
–once you tasted functional programming and you don ' t want to go back.

    • Http://www.amk.ca/python/writing/functional
    • Http://www.secnetix.de/olli/Python/lambda_functions.hawk
    • http://docs.python.org/howto(Basic knowledge)/functional.html
Performance Performance

There's so much talk going in about how inefficient(inefficient) these ' scripting languages ' (Python, Ruby, ...) Is, that's it's easy-to-forget that very often it's the algorithm chosen by the programmer then leads to horrible runtime Behaviour.

Those articles is a great place-to-get a feel for the ins and outs of Python's runtime behaviour, so can get your hig H performing application writting in a language so isconcise(concise) and fun to write. And if your manager asks about Python's performance, don ' t forget to mention so the second largest search engine in the World was run by python–namely Youtube (Seepython quotes).

    • Http://jaynes.colorado.edu/PythonIdioms.html
    • Http://wiki.python.org/moin/PythonSpeed/PerformanceTips
Testing Test

Testing is probably one of the most misjudged topics in computer science these days. Some programmers really got it andemphasize(emphasis) TDD (Test driven development) and it's successor BDD (Beha Viour Driven Development) whereever possible. Others simply don ' t feel it yet and think it ' s a waste of time. Well, I ' m gonna is, Guy and the you:if you haven ' t started out in TDD/BDD yet, you had missed out greatly!

It's not on introducing a technology to replace that release management Automaton (Automaton) in your company that mindlessly Clicks through the application once in a while, it's about giving you a tool to deeply understand your own problem domain –to reallyconquer (Conquer) , Manipulate (manipulation) and twist it the-the-you want and need it To IS. If you haven ' t yet, give it a shot. These articles would give you someimpulses (Impulse) :

    • http://www.oreillynet.com/lpt/a/5463
    • http://www.oreillynet.com/lpt/a/5584
    • Http://wiki.cacr.caltech.edu/danse/index.php/Unit_testing_and_Integration_testing
    • Http://docs.python.org/library/unittest.html
Code Guidelines Coding Specification

Not all code is created equal. Some can is read and changed by any great the programmer out there. But some can is only read and is sometimes changed by the original Author–and that maybe only a couple of hours He or she wrote it. Why was that? Because of missing test coverage (see above) and the lack of proper usage of coding guidelines.

These articles establish an absolute minimum to adhere(insisted) to. When you follow these, you'll write more consise and beautiful code. As a side effect it'll be more readable andadaptable(FIT) by you or anyone else.

    • http://www.python.org/dev/peps/pep-0008/
    • Http://www.fantascienza.net/leonardo/ar/python_best_practices.html

from:http://blog.csdn.net/pipisorry/article/details/44801859

ref:http://blog.dispatched.ch/2011/06/12/how-to-become-a-proficient-python-programmer/

Starterlearningpython/ n001.md

How to become a proficient python programmer-becoming a Python master

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.