Repository navigation
|
Method chaining is the design pattern of returning mat.add_component("h-1", 0.6667).add_component("o-16" 0.333)This can lead to compact code, that sometimes can be more readable. It has also been criticized as a "train wreck", and I see it in Java often. My rule of thumb is: if Java does it; beware. Is this worth doing @tjlaboss? |
Answered by
tjlaboss
Jul 9, 2025
Replies: 1 comment
|
No. |
0 replies
Answer selected by
MicahGale
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No.