Skip to main content
8 events
when toggle format what by license comment
Mar 27, 2021 at 0:00 history tweeted twitter.com/StackSoftEng/status/1375598496192024584
Aug 14, 2018 at 20:01 answer added Caleb timeline score: -1
Aug 14, 2018 at 19:37 comment added Caleb A more formal definition of suck would help. What, other than "sucks," is actually wrong with your current implementation? Why would your proposed solution suck?
Nov 4, 2015 at 22:00 comment added Kasey Speakman Note that it's not necessary to use ref just to change an object's properties. Objects are passed by reference in C# anyway. The only thing extra that ref allows you to do is assign a entirely different Employee to the passed-in Employee. f.ex. public void MyMethod(ref Employee employee) { employee = new Employee(...); }
Nov 4, 2015 at 16:50 comment added Orvel That's interesting and sounds like a good solution. I have to revisit those damn patterns.
Nov 4, 2015 at 14:58 comment added Dan Pichelman I'm not sure if I follow you correctly, but it sounds like you may be thinking of using the Visitor Pattern. What do you think?
Nov 4, 2015 at 14:10 review First posts
Nov 4, 2015 at 17:53
Nov 4, 2015 at 14:07 history asked Orvel CC BY-SA 3.0