This process is analogous to constructing roads. Unfortunately, some design decisions turn out to be sub-optimal. It’s not surprising to find language designers discovering new approaches and solutions to old problems. The needs and requirements that users have of a software language change over time. And this was the key to building a rapidly expanding community in diverse areas of computing that welcomed newcomers. These Zen of Python principles were adopted by core language designers in addition to ordinary Python programmers. In sharp contrast, Perl’s motto is “There is more than one way to do it.” This approach helped to build Perl’s reputation as a language which is fun to use, albeit hellish to maintain later. If the implementation is easy to explain, it may be a good idea.If the implementation is hard to explain, it’s a bad idea.There should be one - and preferably only one –obvious way to do it. ![]() ![]() The Zen of Python is readily available in any Python interpreter by invoking the “import this” command. Programs are compiled by computers, but people need to understand and interpret the intentions of the program’s author. One of the keys to its success is Python’s approach and understanding that computers just execute - people build. ![]() There’s always something that propels a language community to grow, and Python seems to have that X-Factor. Startups do not use it, and companies that have built their systems in Perl often have trouble finding new developers. Perl has a rich ecosystem that includes a renown CPAN libary. From database abstraction layer or API to some rarely used payment gateway - “there’s an app for that!” the most common answer we hear is “because of its rich ecosystem.” Indeed, Python is famous for its ease of installation and diversity of third-party packages in addition to its “batteries included” approach. When we ask others, “Why did you chose Python for this job?” …. And the secret to its popularity is its philosophy. Python is used for system administration, testing automation, GUIs, game scripting, web development, and data science. And it is the 4th most mentioned language by the TIOBE index today ( up two points since last summer ). It is a general purpose language fit for different kinds of tasks, not a one-trick web pony like PHP was. Type following command in python interpreter and all rules will be printed in console.Python is a dynamic interpreted language that has gained a lot of traction in the past 12 years, even though it is actually 26 years old.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |