“Turn All Your Enums Into Bytes Now!” | Code Cop #014
Summary
This episode of Code Cop debunks questionable advice from social media regarding C# enums. The main theme is the misuse of converting enums to tiny integers or bytes, seemingly for database optimization in SQL Server. The speaker argues this advice is irredeemable and a bad practice, particularly when not properly contextualized for database structures. The practical takeaway is to be highly critical of such optimization suggestions, especially those that oversimplify complex topics like data types and database design.