Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ux266478
1 day ago
|
parent
|
context
|
favorite
| on:
Nimony (Nim 3.0) Design Principles
Both of these things respectively are just pattern matches and monads, just not user-definable ones.
xigoi
23 minutes ago
[–]
On the other hand, it’s more ergonomic and readable because you don’t need to declare a new name.
if name != nil: echo name
versus
case name of Some(unwrappedName): echo unwrappedName
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: