← All questionsToo earlyArchitecture and design
How should I split, name and couple my classes and modules?
You are not the only one. Asked 13 times since June 2026, 4 of them in the last 4 weeks.
Times asked per week
9 Sept – 1 Dec
1Week of 9 SeptTimes asked11Week of 16 SeptTimes asked12Week of 23 SeptTimes asked2Week of 30 SeptTimes asked01Week of 7 OctTimes asked1Week of 14 OctTimes asked0Week of 21 OctTimes asked0Week of 28 OctTimes asked0Week of 4 NovTimes asked01Week of 11 NovTimes asked1Week of 18 NovTimes asked03Week of 25 NovTimes asked3
Week of 9 SeptWeek of 25 Nov
Coloured columns are the last 4 weeks.
What people asked
Each line is our one-sentence summary. The link opens the original discussion.
- What are the main lessons learned from building a complex multi-platform open-source DAW, particularly around choosing boundaries between Rust, C++, and C code and supporting multiple output targets?Open thread →
- What factors should be weighed when deciding whether to duplicate a small piece of logic in two parts of an internal tool or extract it into a shared module, and when does duplication become the worse choice?Open thread →
- What are the practical signs that a single module of nearly a thousand lines should be split into smaller modules rather than kept as one file?Open thread →
Show 8 more
- When designing an application top-down, how do you know when to stop decomposing the abstraction and instead add an API call that you will need to look up?Open thread →
- Why should a style panel in a UI builder need to know which components support breakpoint objects?Open thread →
- How can a Rust embedded IoT data pipeline with many decorator-style micro traits and over-abstracted structs be diagnosed and simplified?Open thread →
- When should delegation be used instead of inheritance in application development, for example for application lifecycle and event handling?Open thread →
- Should persistence entities and domain models have the same class name, such as PendingCase, or should the persistence entity get a suffix?Open thread →
- Why does a linked list addFirst method test size == 0 directly while addLast uses isEmpty(), and which form is preferable from an object-oriented design perspective?Open thread →
- How can validation logic be kept in one place across a React frontend, a Java backend and a database regex table in a white-label payment gateway with dynamic configuration parameters?Open thread →
- Does a load_data interface that fills a caller-supplied map to avoid copying introduce tight coupling, or should it return a map that the caller transforms?Open thread →
Where it is asked
- Stack Exchange8
- Hacker News3
- A private community2
Private messages are counted, never shown. That is why you can read 11 of them.