@AlRey but what's worse a dead random person coming after you or you having to kill someone that you have a relationship with to save others. the appeal is watching the human becoming the animal.
I usually don't care about regular zombies where they're just normal-looking people with decaying skin; I'm more into stuff like the headcrab zombies where it's clear what's operating the whole thing
I've actually been wanting to add zombies into The Domain....thing is that they're actually being kept alive through fusion tech and were prototypes for the androids
I'm usually the one who's like "awww you're sick?? I must help! How'd this happen?? Are you really sick, or do you just want my attention? I'll help you either way hehe. Let me get a 24-pack of tissues"
As far as I know I can create a server using both TCPListener and Socket, so what is the difference between the two of them?
Socket
private Socket MainSock;
MainSock = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
MainSock.Bind(new IPEndPoint(IPAddress.Any, port))...
A co worker wants to store each incoming and outgoing network packet (we have around 500 - 800) in their own classes implementing an interface and a Handle() method, is this a good idea?
@AshKetchum That seems odd. Each network packet being its own class with its own reader and writer methods is a good idea. But handling packets is not the responsibility of the packet itself, something else handles it, so something else should be doing that logic.
I guess my Repo would have something like .WithOffice and .WithDepartment in a chainable pattern or something, but I don't know about "THE way" here either.
Could have an implicit operator from the EF queriable to a List or something, executing the query, so you just chain the filters.
I'm still not sure how to use automapper, so I just have my repo implement the interface from my core and return the domain object with a nextension method lol
so you project the queryable to the return type for the API, and the projection doesn't try to get all the linked properties so it's not trying to serialize a cycle.
@Squirrelkiller, but the analyzer can't expected to check every permutation of evaluations that came before. So at some point, we have to accept that a logically valid set of expressions will throw a warning... Also, I still don't get why string? is necessary.
Also I switched it around a bit to make the bug obvious, but generally that is a guard being called first in a method, so the rest of the method accepts the parameter as not null.
It actually also checks for requirements within domain logic
@Squirrelkiller we could probably go back and forth all day. It might be weird, but I can't see that as a bug. Especially when since.NET 2 IsNUllOrEmpty has been recommended and proven faster...
Yeah, and it's not going away from what I hear. It just does so many things weirdly... and even is called out in MS articles as what not to do with a query string, lol