I've been working as iOS developer for more than 4 years and I've done some other platforms and practised .net. A few days ago I had an argument about who must generate identifier for a newly created entity - client or server?
There is a client-server app, and client sends create request with 'name', 'description' and other stuff. But server-side guy says that I also have to generate GUID and send it over in this entity.
I don't see a big problem in generating GUID but I am just not sure it's right to put that responsibility on a client side.
Any thoughts? Maybe pros and cons?