Tag

class-design

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Aug 20, 2024 · Fundamentals

Using Single and Double Underscores in Python for Internal Methods, Attributes, and Special Dunder Methods

The article explains how to use single and double underscores in Python to define internal methods, attributes, and special dunder methods such as __init__, __str__, __bool__, __new__, __format__, __eq__, __del__, __copy__, and __deepcopy__, providing usage scenarios and code examples for each.

Backend DevelopmentDunder MethodsPython
0 likes · 8 min read
Using Single and Double Underscores in Python for Internal Methods, Attributes, and Special Dunder Methods
Selected Java Interview Questions
Selected Java Interview Questions
Dec 11, 2023 · Fundamentals

Clean Code Practices: Naming, Classes, Functions, and Testing

This article explains why clean code matters and provides practical guidelines on naming, class design, function design, and testing—including principles, refactoring examples, and tool recommendations—to help developers write more readable, maintainable, and robust Java code.

NamingTestingclass-design
0 likes · 15 min read
Clean Code Practices: Naming, Classes, Functions, and Testing
Python Programming Learning Circle
Python Programming Learning Circle
Jun 29, 2023 · Backend Development

Python Movie Ticket Booking System with Seat Selection and Film Selector

This tutorial walks through building a Python command‑line movie ticket reservation system, covering data structures for film information, seat‑booking class design, user interaction for selecting seats or the front‑most available seat, and a controller that ties the film selector and seat booking together.

Command LineTutorialclass-design
0 likes · 10 min read
Python Movie Ticket Booking System with Seat Selection and Film Selector
Architect's Guide
Architect's Guide
Feb 18, 2023 · Fundamentals

Why Long Classes Are Problematic and How to Refactor Them

The article explains the drawbacks of excessively long classes—poor readability, difficult extension, redundant code, and violated responsibilities—and provides step‑by‑step refactoring techniques using IntelliJ IDEA to extract methods, move members, and create new classes for cleaner, maintainable code.

IntelliJ IDEAclass-designcode refactoring
0 likes · 8 min read
Why Long Classes Are Problematic and How to Refactor Them
Architecture Digest
Architecture Digest
Sep 14, 2021 · Fundamentals

Why You Should Avoid Writing Thousand‑Line Classes and How to Refactor Them

The article explains the problems caused by overly long classes—poor readability, difficult extension, redundant code, and violated design principles—and provides a step‑by‑step guide using IntelliJ IDEA to extract redundant code, rename methods, move members, and split responsibilities into new classes for cleaner, maintainable software.

IDEAclass-designcode quality
0 likes · 8 min read
Why You Should Avoid Writing Thousand‑Line Classes and How to Refactor Them
Code Ape Tech Column
Code Ape Tech Column
Sep 11, 2021 · Fundamentals

Why Classes Should Not Be Too Long and How to Refactor Them

The article explains the drawbacks of overly long classes—poor readability, difficult extension, redundant code, and violation of the Single Responsibility Principle—and provides step‑by‑step refactoring techniques using IntelliJ IDEA such as extracting methods, moving members, and creating new classes.

IDEAclass-designcode refactoring
0 likes · 7 min read
Why Classes Should Not Be Too Long and How to Refactor Them
Java Captain
Java Captain
Aug 16, 2020 · Fundamentals

Why Classes Should Not Be Too Long and How to Refactor Overgrown Classes

The article explains why excessively long classes with many responsibilities hinder readability and extensibility, outlines the problems of redundant code and SRP violations, and provides practical refactoring techniques—such as extracting methods, moving members, and creating new classes—using IntelliJ IDEA.

IntelliJ IDEAclass-designcode quality
0 likes · 11 min read
Why Classes Should Not Be Too Long and How to Refactor Overgrown Classes