Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
Moderate
Description
We have a large incidence of excessively complex methods.
Problems with excessively long and complex methods:
- makes the code much harder to maintain
- reduce community ability to step in and provide easy fixes
- increases the cognitive effort to read code by quickly exhausting the limits of a human short term memory
- reduce the JIT compiler ability to optimize code by inlining because the generated code is larger than 325 bytes.
- lead to poor reuse and duplication of code
We should start by breaking down this complex code and, in the future, apply proper design to it.
The components catalog, tooling and dsl are specifically bad for this.
Attachments
Issue Links
- blocks
-
CAMEL-19056 Evaluate implementing a fluent context builder
- Open
- links to