Python Tools for Scientists by Lee Vaughan

Python Tools for Scientists by Lee Vaughan

Author:Lee Vaughan
Language: eng
Format: epub
Publisher: No Starch Press
Published: 2023-04-15T00:00:00+00:00


When to Use OOP

OOP is easier to appreciate when you’re writing large, complex programs because it helps you to structure your code into smaller parts that are easier to understand. It also reduces code duplication and makes code easier to maintain, update, and reuse. As a result, most commercial software is now built using OOP.

Because Python is an object-oriented programming language, you’ve already been using objects and methods defined by other people. But unlike languages such as Java, Python doesn’t force you to use OOP for your own programs. It provides ways to encapsulate and separate abstraction layers using other approaches such as procedural or functional programming.

Having this choice is important. If you implement OOP in small programs, most of them will feel overengineered. To quote computer scientist Joe Armstrong, “The problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana, but what you got was a gorilla holding the banana and the entire jungle!”

As a scientist or engineer, you can get a lot done without OOP, but that doesn’t mean you should ignore it. OOP makes it easy to simulate many objects at a time, such as a flock of birds or a cluster of galaxies. It’s also important when things that are manipulated, like a GUI button or window, must persist for a long time in the computer’s memory. And because most of the scientific packages you’ll encounter are built using OOP, you’ll want more than a passing familiarity with the paradigm.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
Serverless ETL and Analytics with AWS Glue by Vishal Pathak Subramanya Vajiraya Noritaka Sekiyama Tomohiro Tanaka Albert Quiroga Ishan Gaur(1054)
The SQL Workshop by Frank Solomon(401)
Graph Data Processing with Cypher by Ravindranatha Anthapu(377)
Open Source Projects - Beyond Code by John Mertic(373)
The AI Product Manager's Handbook by Irene Bratsis(355)
Data Literacy in Practice by Angelika Klidas Kevin Hanegan(354)
Developing Robust Date and Time Oriented Applications in Oracle Cloud by Michal Kvet(350)
Applied Machine Learning and High-Performance Computing on AWS by Mani Khanuja | Farooq Sabir | Shreyas Subramanian | Trenton Potgieter(345)
Graph Data Modeling in Python by Gary Hutson and Matt Jackson(267)
The Essentials of Computer Organization and Architecture, Sixth Edition by Linda Null(240)
Python QuickStart Guide by Oliver Robert;(178)
Let Us Python Solutions - 5th Edition by Kanetkar Yashavant;Kanetkar Aditya; & Aditya Kanetkar(134)
Research and Technical Writing for Science and Engineering by Meikang Qiu & Han Qiu & Yi Zeng(128)
R for Data Analysis in easy steps 2nd Edition by Mike McGrath(89)
IT Essentials Companion Guide v8 by Cisco Networking Academy(84)
Software Requirements Essentials: Core Practices for Successful Business Analysis (for True EPUB) by Karl Wiegers & Candase Hokanson(75)
Continuous Integration (CI) and Continuous Delivery (CD) by Henry van Merode(75)
Python Tools for Scientists by Lee Vaughan(74)
Distributional Reinforcement Learning by Marc G. Bellemare;Will Dabney;Mark Rowland;(73)
GitHub for Dummies by Guthals Sarah;(71)