Hacker News new | ask | show | jobs
by cyral 1862 days ago
#1 is awesome! I love the new record syntax for DTOs but I also like using named properties so that the ordering isn’t messed up as they are expanded (but also ensures that every property is filled out, unlike the class initializer syntax). This will be great for enforcing it!