Python
You're viewing a free preview. Sign in free to read every tool guide.
Why a class, when a function already works? Most of what you've written so far — functions acting on plain variables — is enough for the vast majority of DevOps scripts. A class earns its place when you have state that…
Classes & Objects: Just Enough OOP
Sign in free to read this guide, along with the rest of the DevOps Tools library.
Sign in free