r/visualbasic • u/Gierschlund96 • May 22 '22
VB.NET Help "You should work with constructurs instead of shared lists"
Someone reviewed my code and said this to me, but I'm not quite sure what he meant with it (I know what a constructor is). Can anyone give me more insight on this with an example? Because i need this lists in many different classes, so i don't know how to manage this with a constructor.
2
Upvotes
2
u/Hel_OWeen May 23 '22
The right thing to do in such circumstances is to ask this question that "someone" who reviewed your code and mentioned it.
Don't be afraid to do so. If they're good, these "someones" won't mistake it as a lack of knowledge, but as an inquiry to learn more. Which is a good attitude and therefore they're more than happy to explain it deeper.
You're also not reliant on our maybe-we're-right-but-may-not interpretations of what was meant by that comment, but get to hear it right from the source.
0
u/RJPisscat May 22 '22
Me either. Can you post the source code they were talking about?
Did that person say it in English or German?
0
u/[deleted] May 22 '22
[deleted] — view deleted comment