Tag

Classes

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Mar 25, 2025 · Fundamentals

Master Python Classes: From Basics to Advanced OOP Techniques

This comprehensive guide explains what Python classes are, why to create custom ones, and covers class design aspects such as methods, attributes, inheritance, data validation, static and class methods, read‑only properties, and practical code examples for each concept.

ClassesOOPTutorial
0 likes · 17 min read
Master Python Classes: From Basics to Advanced OOP Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Mar 5, 2025 · Fundamentals

Understanding Python Classes: Definitions, Attributes, Methods, Inheritance, and Advanced Features

This article provides a comprehensive guide to Python's class mechanism, covering basic class definition and instantiation, attributes, methods, constructors, special methods like __str__, inheritance, polymorphism, class and static methods, private members, and property decorators, each illustrated with clear code examples and practical usage scenarios.

ClassesEncapsulationdecorators
0 likes · 9 min read
Understanding Python Classes: Definitions, Attributes, Methods, Inheritance, and Advanced Features
php中文网 Courses
php中文网 Courses
Feb 26, 2025 · Backend Development

Object-Oriented Programming in PHP: Core Concepts and Advanced Features

This article introduces PHP's object-oriented programming paradigm, covering fundamental concepts such as classes, objects, properties, methods, the four OOP principles, advanced features like constructors, destructors, static members, magic methods, and best practices for building modular and maintainable backend applications.

Backend DevelopmentClassesEncapsulation
0 likes · 8 min read
Object-Oriented Programming in PHP: Core Concepts and Advanced Features
php中文网 Courses
php中文网 Courses
Feb 17, 2025 · Frontend Development

Comprehensive TypeScript Course Outline: Basics to Advanced Topics

This course provides a concise yet thorough introduction to TypeScript, covering installation, VSCode setup, data types, enums, unions, type inference, classes, inheritance, generics, modules, and more, guiding learners step‑by‑step through foundational and advanced concepts for effective TypeScript development.

ClassesCourseFrontend Development
0 likes · 2 min read
Comprehensive TypeScript Course Outline: Basics to Advanced Topics
php中文网 Courses
php中文网 Courses
Jan 21, 2025 · Backend Development

Understanding PHP Classes: Concepts, Benefits, and Practical Examples

This article introduces PHP classes as object blueprints, explains why they improve code organization, reusability, maintainability, and security, and provides concrete PHP 8.4 examples such as Product, ShoppingCart, User, Order, and best‑practice guidelines like SRP, encapsulation, and type safety.

Backend DevelopmentClassesOOP
0 likes · 10 min read
Understanding PHP Classes: Concepts, Benefits, and Practical Examples
Code Mala Tang
Code Mala Tang
Jan 21, 2025 · Fundamentals

Master Python Classes: Inheritance, Composition, and Advanced OOP Techniques

This guide explores Python class fundamentals, covering inheritance versus composition, the use of super(), distinctions among instance, class, and static methods, dataclasses, the __dict__ attribute, name mangling, @property, dynamic class creation with type(), and __slots__ for attribute control.

ClassesOOPcomposition
0 likes · 9 min read
Master Python Classes: Inheritance, Composition, and Advanced OOP Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Jan 19, 2025 · Fundamentals

Understanding Classes and Objects in Python: Definitions, Instantiation, Attributes, Methods, Inheritance, Polymorphism, and Encapsulation

This article introduces Python's object‑oriented programming fundamentals, explaining how to define classes, instantiate objects, differentiate class and instance attributes, and use various method types, followed by practical examples of inheritance, polymorphism, and encapsulation to build well‑structured, maintainable code.

ClassesEncapsulationOOP
0 likes · 7 min read
Understanding Classes and Objects in Python: Definitions, Instantiation, Attributes, Methods, Inheritance, Polymorphism, and Encapsulation
Test Development Learning Exchange
Test Development Learning Exchange
Jan 7, 2025 · Fundamentals

Understanding Classes and Objects in Python: Concepts, Inheritance, Special Methods, and Advanced Examples

This article introduces Python's class and object fundamentals, covering class definitions, instance and class variables, inheritance, special (dunder) methods, and advanced examples such as encapsulation, operator overloading, and the use of class and static methods, all illustrated with clear code snippets.

ClassesEncapsulationOOP
0 likes · 10 min read
Understanding Classes and Objects in Python: Concepts, Inheritance, Special Methods, and Advanced Examples
Test Development Learning Exchange
Test Development Learning Exchange
Oct 30, 2024 · Fundamentals

Understanding Python Modules, Packages, Classes, and Inheritance

This guide explains Python modules, packages, class definitions, object creation, inheritance, and polymorphism, providing clear examples and code snippets to illustrate how to organize code, import components, and apply object‑oriented principles in practice.

ClassesModulesinheritance
0 likes · 8 min read
Understanding Python Modules, Packages, Classes, and Inheritance
Python Programming Learning Circle
Python Programming Learning Circle
Apr 9, 2024 · Fundamentals

Comprehensive Python Basics: Numbers, Strings, Functions, Data Structures, Classes, and Tools

This article provides a thorough overview of essential Python concepts, covering numeric operations, string manipulation, function definitions, data structures, class and object usage, as well as useful built‑in tools and utilities, illustrated with clear code examples for each topic.

ClassesData StructuresFunctions
0 likes · 21 min read
Comprehensive Python Basics: Numbers, Strings, Functions, Data Structures, Classes, and Tools
DaTaobao Tech
DaTaobao Tech
Apr 1, 2024 · Fundamentals

Fundamentals of Modern C++: Types, Pointers, Functions, and Classes

The article offers a concise, modern C++ (C++11+) tutorial covering fundamental built‑in types, variable declaration with auto and uniform initialization, pointer and array handling, function definitions, overloading, templates, class design—including constructors, move semantics, inheritance, virtual functions—and essential standard‑library utilities such as smart pointers and std::function.

C++ClassesFunctions
0 likes · 48 min read
Fundamentals of Modern C++: Types, Pointers, Functions, and Classes
Test Development Learning Exchange
Test Development Learning Exchange
Mar 2, 2024 · Fundamentals

Understanding Python Packages, Classes, and Methods

This article explains the concept and structure of Python packages, demonstrates how to import modules and manage packages with pip, and provides a comprehensive overview of defining classes, their variables, special methods, and different types of methods such as instance, class, and static methods.

ClassesMethodsfundamentals
0 likes · 7 min read
Understanding Python Packages, Classes, and Methods
php中文网 Courses
php中文网 Courses
Jan 19, 2024 · Backend Development

Defining Classes and Using Constructor Property Promotion in PHP

This article explains how to define a PHP class with properties and methods, demonstrates traditional class syntax with a Bird example, and shows how PHP 8's constructor property promotion and default values simplify class definitions while improving readability and efficiency.

ClassesConstructor PromotionPHP
0 likes · 4 min read
Defining Classes and Using Constructor Property Promotion in PHP
php中文网 Courses
php中文网 Courses
Jan 12, 2024 · Backend Development

Defining Classes and Using Constructor Property Promotion in PHP

This article explains how to define a PHP class with properties and methods, demonstrates traditional class syntax, introduces PHP 8.0 constructor property promotion for more concise initialization, shows how to set default values, and outlines the benefits of using this feature.

ClassesPHPProperty Promotion
0 likes · 5 min read
Defining Classes and Using Constructor Property Promotion in PHP
Python Programming Learning Circle
Python Programming Learning Circle
Dec 29, 2023 · Fundamentals

Introduction to Object-Oriented Programming in Python

This article provides a comprehensive overview of Python's object‑oriented programming features, covering classes, class and instance variables, methods, inheritance, method overriding, built‑in class attributes, and garbage collection, supplemented with clear code examples and explanations.

ClassesGarbage CollectionOOP
0 likes · 9 min read
Introduction to Object-Oriented Programming in Python
php中文网 Courses
php中文网 Courses
Dec 13, 2023 · Fundamentals

Understanding Classes, Objects, and OOP Principles in PHP

This article introduces the core concepts of object‑oriented programming—classes, objects, abstraction, encapsulation, inheritance, and polymorphism—using clear explanations and practical PHP code examples that demonstrate class definitions, object instantiation, method calls, and inheritance hierarchies.

ClassesEncapsulationOOP
0 likes · 9 min read
Understanding Classes, Objects, and OOP Principles in PHP
Cognitive Technology Team
Cognitive Technology Team
Oct 6, 2023 · Fundamentals

Understanding the final Keyword in Java

The article explains Java's final keyword, detailing its three distinct uses—modifying variables, methods, and classes—while describing how final variables become immutable constants, final methods cannot be overridden, and final classes cannot be subclassed, illustrating each case with examples.

ClassesJavaMethods
0 likes · 3 min read
Understanding the final Keyword in Java
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 14, 2023 · Fundamentals

Comprehensive TypeScript Tutorial: Basics, Types, Interfaces, Classes, and Advanced Features

This extensive tutorial walks readers through TypeScript fundamentals, covering installation, basic and advanced type annotations, functions, interfaces, classes, generics, type compatibility, and utility types, providing clear code examples and practical guidance for developers.

ClassesTutorialgenerics
0 likes · 93 min read
Comprehensive TypeScript Tutorial: Basics, Types, Interfaces, Classes, and Advanced Features
php中文网 Courses
php中文网 Courses
Jul 9, 2023 · Backend Development

Readonly Classes in PHP 8.2: Purpose, Benefits, and Example

This article explains PHP 8.2’s readonly classes, describing their purpose, advantages such as maintainability, security and performance, and provides a complete code example that demonstrates defining a class with readonly properties and the resulting behavior when attempting modifications.

BackendClassesCode Example
0 likes · 4 min read
Readonly Classes in PHP 8.2: Purpose, Benefits, and Example