Why Nostr? What is Njump?
2024-11-17 14:55:34

matejcerny on Nostr: F# 9 introduces auto-generated "is" properties for "enums", enabling checks like ...

F# 9 introduces auto-generated "is" properties for "enums", enabling checks like .isPhone or .isEmail. While convenient, consider minimizing boolean usage in your code. Boolean logic is error-prone and difficult to read and maintain. Always use proper domain types (On/Off, Valid/Invalid, ...) together with pattern matching for improved readability and type safety. #fsharp #boolean #cleancode
https://youtu.be/2Q9GRPxqCAk
Author Public Key
npub17hplt9lh2n6nf4rmp03tntlzvwy5andd843eg57y40p37sxm9s3slvyx66