C# : AddJoin question #186
Answered
by
AngusJohnson
philstopford
asked this question in
Q&A
-
I'm not sure whether this was intended or not, but AddJoin constructs a Joiner without assigning it to anything, and seemingly without utilizing it :
Is this intended? |
Beta Was this translation helpful? Give feedback.
Answered by
AngusJohnson
Sep 5, 2022
Replies: 1 comment
-
It actually assigns itself to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
philstopford
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It actually assigns itself to
_joinerList
.Sometimes (often) I write code that seems neat at the time but later realise is confusing.
And I think this is an example 😕.
Anyhow, it does work, but I can see why you're confused.
I'll probably fix this so it'll be easier to understand.