Java to Python 1st Edition

Python is much like Java and at times even looks simpler. But Python is just as powerful as Java. If Java is the hea ...

Posted by northpark · on 2018-09-18

Python is much like Java and at times even looks simpler. But Python is just as powerful as Java. If Java is the heavy metal of computer programming, then Python is the jazz that opens doors of freedom in software development. Both Java and Python are object-oriented programming languages. Both support Java’s famous features such as encapsulation, inheritance and polymorphism. Both can be used to develop desktop and web-based applications. Both are multi-platform and run on all major platforms such as Linux, MS Windows, and Mac OS. Both support graphical user interface development. Of course, there are also differences between Java and Python. For example, Java programs must be compiled, but in Python you have a choice of compiling your programs into stand-alone applications or running them as interpreted scripts or programs launched by a command from the Command Prompt. There are many other similarities and differences between these two languages, and those similaries make it a lot easier than you might think to learn Python, if you already know Java. While learning Python myself, I realized how fast and easy it was to understand and pick up Python’s syntax when I started converting Java’s programming problems into Python. I had already known Java and worked with it professionally for some time, but I found myself having to learn Python fast to advance in my career. It motivated me to find a way to harness my existing knowing to speed up the process of learning a new language. This book is essentially a systematic presentation of the learning process I documented in learning Python using knowledge of Java. For the engineer who is already proficient in Java, it would be a waste of time to study a Python textbook that begins with the basic concept of object-oriented programming, since the concept of OOP software development is identical in all languages. The differences from one language to another are in their syntax. Syntax is best learned by using examples of the programming language that the engineer already knows. That’s exactly is the learning model of this book. This book is for those who are already comfortable with developing using Java programming language and therefore assumes knowledge of Java. Designed for Java engineers who want to learn Python, this book walks you through the differences between Java 8 and Python 2.7 syntax using examples from both languages. Specifically, the book will demonstrate how to perform the same procedures in Java and Python. For each procedure, the class names, method names, and variable names are kept consistent between Java and Python examples. This way you can see clearly the differences in syntax between the two languages. Using this approach, you will be up to speed with Python in no time.0

Edition: 1st Edition
ISBN: 1537362089
Posted on: 2/5/2017
Format: Pdf
Page Count: 200 Pages
Author: Igor Vishnevskiy,:

链接: 文件大小:14.6 K