.net - Why is GUID attribute needed in the first place? -


what necessity guid attribute? why don't let compiler handle automatically?!

if compiler handled automatically, you'd end 1 of 2 situations.

  • a new guid every time compiled - since guids supposed published, fail.

  • collisions - if guid same every time, based on (say) hash of name, multiple projects end using same guid different purposes.

the existing approach - explicit guid gives developers power control these required.


Comments

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -