标签:poi beat like guess ref flat hose and you
Why thinking in Java?
Java means a lot for computer science.
And it gives a best practice in project.
Thinking in Java can make you coding with better understanding the program.
More stability, less error.
Thinking in Java, is not the famous book, instead, is a thinking of programming.
Why not writing in Java?
Verbose.
Java is a static type programming language.
You have to consider many types, this is acceptable, but you have to write many type codes, which makes coding takes more and more time.
At this point, efficiency is more valuable for a tester.
I always need to realize more function in less time.
So I choose to writing in Python.
I like python, this is not the first time I said.
What I like most is simple and freedom
.
Great truths are always simple.
The funny thing is, by import this
, you can read the ‘The Zen of Python‘:
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren‘t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you‘re Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it‘s a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let‘s do more of those!
The third row said, Simple is better than complex.
Use python, you can coding in any way you like.
Python affords many magic.
And also, freedom is one of these magic.
Nobody do not like freedom.
But, if you want to write high quality program.
You have to thinking in Java.
Thinking in Java, Writing in Python.
版权申明:本文为博主原创文章,转载请保留原文链接及作者。
Thinking in Java & Writing in Python
标签:poi beat like guess ref flat hose and you
原文地址:https://www.cnblogs.com/df888/p/12636245.html