-
Notifications
You must be signed in to change notification settings - Fork 0
Issue #18: Invalid Names #18
Copy link
Copy link
Open
Description
Issue #18: Invalid Names
Type: Naming Violations
Files: Throughout codebase
Problematic Examples:
- Generic DbContext name:
public class MyDbContext // Doesn't reveal domain purpose- Non-descriptive variables:
var x = context.BlogPosts... // 'x' in queries- Inconsistent naming:
public string Text { get; set; } // In BlogComment
public string Title { get; set; } // In BlogPost - should be 'Content' for consistencySolution:
public class BlogDbContext : DbContext // Domain-specific
public var posts = context.BlogPosts... // Descriptive
public string Content { get; set; } // StandardizedReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels