Tagged articles
Classes
54 articles · Page 1 of 1
The article uses an iPhone design blueprint versus the actual phone to clarify that a Java class defines the shared structure and behavior, while each object is an independent instance that holds its own state and operates at runtime.
AnalogyClassesJava
0 likes · 4 min read

This article explains the fundamentals of object‑oriented programming in Java, covering objects, classes, inheritance, encapsulation, polymorphism, and packages with concrete examples that illustrate how real‑world concepts map to Java code and how objects interact through message passing.
ClassesEncapsulationInheritance
0 likes · 12 min read

The author reflects on years of overusing classes in Python, explains why simpler constructs like functions, dataclasses, dictionaries, and modules often yield clearer, more maintainable code, and outlines when class‑based design still makes sense.
Best PracticesClassesPython
0 likes · 7 min read

This article explains the core concepts of Python object‑oriented programming, covering class definitions, object creation, attributes, instance, class and static methods, inheritance, and polymorphism, and provides clear code examples for each topic.
ClassesInheritanceOOP
0 likes · 10 min read

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.
ClassesOOPPython
0 likes · 17 min read

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

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.
ClassesEncapsulationInheritance
0 likes · 8 min read

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

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.
ClassesOOPPHP
0 likes · 10 min read

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.
ClassesCompositionInheritance
0 likes · 9 min read

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.
ClassesInheritanceModules
0 likes · 8 min read

This comprehensive guide walks through Python's object‑oriented programming essentials, covering class definitions, attributes, common magic methods, inheritance, polymorphism, exception handling, as well as module and package creation and usage, complete with clear code examples for each concept.
ClassesException HandlingInheritance
0 likes · 12 min read

This article explains Python's core philosophy that every entity—whether a basic data type, function, class, module, or collection—is an object, illustrating each concept with clear code snippets and showing how to inspect types and attributes using type() and dir().
ClassesModulesPython
0 likes · 7 min read

This article explains Python encapsulation fundamentals—including classes, objects, attributes, methods, naming conventions for protected and private members, and practical getter/setter patterns—through clear code examples that demonstrate safe data handling and object-oriented design.
ClassesEncapsulationGetter/Setter
0 likes · 7 min read

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.
ClassesPythondata structures
0 likes · 21 min read

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

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.
Classesfundamentalsmethods
0 likes · 7 min read

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

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

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.
ClassesInheritanceOOP
0 likes · 9 min read

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.
ClassesEncapsulationInheritance
0 likes · 9 min read

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.
ClassesJavafinal keyword
0 likes · 3 min read

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.
ClassesGenericsTutorial
0 likes · 93 min read

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

This tutorial provides a comprehensive introduction to core Python concepts, covering numeric operations, string handling, built‑in functions, common data structures, class and object mechanics, as well as useful utilities such as iteration tools, file I/O and JSON serialization.
ClassesPythonTutorial
0 likes · 22 min read

This comprehensive guide walks you through essential Python concepts—from absolute values and numeral system conversions to string manipulation, function utilities, data structures, class mechanics, and handy built‑in tools—complete with clear code examples and explanations for each topic.
ClassesToolsbasics
0 likes · 29 min read

This article provides a comprehensive Python tutorial covering numeric operations, string manipulation, function definitions, data structures, class creation, object introspection, and useful built‑in tools, complete with clear code examples for each concept.
ClassesPythonTools
0 likes · 21 min read

This article compares six Python alternatives to traditional classes—plain classes, tuples, dictionaries, named tuples, attrs, dataclasses, and Pydantic—examining their syntax, validation capabilities, mutability, string representation, JSON (de)serialization, memory usage, and performance to help developers choose the most suitable data‑modeling approach.
ClassesPydanticPython
0 likes · 17 min read

This article introduces fundamental Python programming concepts by using everyday analogies, covering what code is, conditional statements, loops, variables, functions with parameters, modules, and classes, and provides clear example code snippets to illustrate each topic for beginners.
ClassesConditionalsLoops
0 likes · 15 min read

An in‑depth Python tutorial walks through the fundamentals of classes, covering creation, instance and class methods, protected and private members, core OOP features such as encapsulation, inheritance and polymorphism, as well as dynamic attribute handling with __slots__ and property decorators, illustrated with clear examples.
ClassesEncapsulationInheritance
0 likes · 8 min read

This tutorial explains the fundamentals of programming with Python, covering what code is, how to use conditional statements, loops, variables, function definitions, module imports, and the basics of classes and objects, illustrated with clear examples and code snippets.
ClassesModulesPython
0 likes · 16 min read

This article explains Python's class definition, the role of the __init__ constructor, special methods like __repr__, __str__, and __add__, how inheritance and abstract base classes work, and demonstrates using super() for method chaining, providing clear code examples throughout.
ClassesInheritanceOOP
0 likes · 8 min read

This article introduces fundamental object‑oriented concepts—including objects, classes, abstraction, interfaces, the three OOP pillars, class relationships, and UML class diagram basics—to build a solid foundation for future design‑pattern studies.
ClassesOOPUML
0 likes · 10 min read

This tutorial walks through Python fundamentals, covering primitive data types, operators, variables, collections, control structures, functions, classes, modules, and advanced features such as generators and decorators, all illustrated with clear code examples and explanations.
ClassesPythondata types
0 likes · 18 min read

This article explains the fundamentals of object‑oriented programming in Python, covering concepts such as encapsulation, inheritance, polymorphism, class definition, instance creation, special methods, garbage collection, and the differences between equality and identity, all illustrated with clear code examples and diagrams.
ClassesOOPPython
0 likes · 11 min read

This article introduces the fundamentals of object‑oriented programming in Python, contrasting procedural and OOP approaches, explaining classes, objects, their attributes and methods, and provides step‑by‑step code examples—including class definition, object creation, method invocation, and property manipulation—to help beginners grasp OOP concepts.
ClassesOOPObjects
0 likes · 10 min read

This tutorial walks through Python's core data types—including numeric, container, and string objects—demonstrates common operations and examples such as hexadecimal literals, list manipulation, 99 multiplication table, regex password checks, and shows how to define custom classes, attributes, methods, and properties for clean, object‑oriented code.
Classesdata typesprogramming fundamentals
0 likes · 12 min read

This article explains that in Python classes are objects, demonstrates how to assign, copy, and pass them, shows dynamic class creation with functions and the built‑in type, and introduces custom metaclasses for modifying class creation, concluding with practical ORM examples and advice on when to use metaclasses.
ClassesDynamic Class CreationOOP
0 likes · 10 min read

This guide walks Android engineers through adding Kotlin support to new or existing projects, explains Kotlin's variable declarations, null‑safety features, type inference, val/var usage, visibility modifiers, class inheritance, open/final semantics, and safe casting, providing concise code examples and practical tips.
AndroidClassesKotlin
0 likes · 25 min read

This article introduces Python's object‑oriented programming basics, explaining what classes and objects are, how to define attributes and methods, and demonstrates practical implementations of constructors, getters, setters, and the @property decorator with clear code examples.
ClassesGetters and SettersOOP
0 likes · 6 min read

This article introduces Java classes as object factories, demonstrates how to define and instantiate classes with fields and methods, explains the JVM architecture and memory areas, and explores garbage collection algorithms, providing code examples and conceptual analogies for beginners.
ClassesJVMJava
0 likes · 9 min read

This comprehensive guide explains the differences between procedural and object‑oriented programming in Python, introduces class creation, instance, class and static methods, inheritance, polymorphism, magic methods, and property decorators, and provides numerous runnable code examples to illustrate each concept.
ClassesInheritanceMagicMethods
0 likes · 23 min read

This tutorial introduces Scala fundamentals for Java developers, covering optional semicolons, object‑oriented concepts, identifier rules, reserved keywords, comments, whitespace handling, package definitions, import statements, and step‑by‑step examples of interactive and scripted Hello World programs.
ClassesIdentifiersObjects
0 likes · 12 min read


21CTOJan 29, 2019 · Fundamentals
This tutorial introduces Python 3 fundamentals—including primitive data types, operators, variables, collections, control structures, functions, classes, modules, and advanced features like generators and decorators—through concise explanations and runnable code examples that let readers quickly grasp the language's core concepts.
ClassesPythonTutorial
0 likes · 19 min read

This article introduces Python object‑oriented programming, covering classes, objects, attributes, methods, class vs. instance variables, class methods, private members, inheritance, and the use of super() with clear code examples.
ClassesInheritanceOOP
0 likes · 9 min read

This article explains the core concepts of object‑oriented programming for Java beginners, covering the relationship between classes and objects, the four OOP principles, comparisons with procedural design, memory layout, and includes practical code examples to illustrate how to model real‑world entities in software.
ClassesJavaOOP
0 likes · 12 min read


ITPUBMay 25, 2018 · Fundamentals
This tutorial explains programming fundamentals using everyday analogies, covering how code serves as a precise language for computers, the role of conditionals, loops, variables, functions, modules, and an introduction to classes, all illustrated with Python examples that model buying fruit under different scenarios.
ClassesConditionalsLoops
0 likes · 16 min read

This tutorial introduces the fundamentals of programming with Python, explaining what code is, how to use conditionals, loops, variables, functions, parameters, modules, and classes, and provides clear examples that illustrate each concept for beginners.
ClassesConditionalsLoops
0 likes · 15 min read

This article explains the core concepts of object‑oriented programming in Java, covering the relationship between classes and objects, the four OOP principles, comparisons with procedural programming, illustrative Gomoku game code, and how Java’s stack and heap memory model underpins references and object instantiation.
ClassesJavaOOP
0 likes · 11 min read


21CTOJan 14, 2018 · Fundamentals
This tutorial walks you through Python's for loops, iterating over lists and dictionaries, demonstrates key-value access, explores class definitions, constructors, getters, setters, and property decorators, and shows how to create and manipulate objects with clear code examples.
ClassesDictionariesLoops
0 likes · 8 min read

This article explains Java class fundamentals, including file naming rules, default member initialization, static loading order, inheritance mechanics, constructor behavior, super usage, and provides typical interview code examples with detailed output analysis.
ClassesInheritanceInitialization
0 likes · 12 min read

This article introduces Python's object‑oriented programming fundamentals, covering class definitions, class and instance variables, the __init__ constructor, the role of self, inheritance, method overriding, built‑in class attributes, garbage collection, and private members, complemented by illustrative code snippets.
ClassesInheritanceOOP
0 likes · 9 min read

This guide uses a house‑building analogy and vivid illustrations to demystify Python classes, objects, variable assignment, and object identity, helping beginners grasp object‑oriented fundamentals and avoid common misconceptions.
ClassesObjectsPython
0 likes · 5 min read

This article explains how key ES6 features—arrow functions, array methods, destructuring, enhanced object literals, classes, and block‑scoped variables—can streamline WeChat Mini Program development, improve code readability, and increase development efficiency.
Array MethodsArrow FunctionsClasses
0 likes · 8 min read
