Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
RX14
on May 10, 2018
|
parent
|
context
|
favorite
| on:
The Logical Disaster of Null
Flow typing is where the type of a variable changes based on control flow.
Consider:
x : Int32 | String if x.is_a? Int32 # typeof(x) == Int32 else # typeof(x) == String end
AnimalMuppet
on May 10, 2018
[–]
Thanks!
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Consider: