Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
GavinMcG
on May 13, 2018
|
parent
|
context
|
favorite
| on:
Leveraging the type system to avoid mistakes
That's where my mind was headed as well. You'd still want variables for passing around instances (in a general sense; not specifically an OO sense) but everything else could be defined on the type. Sort of a types-as-classes approach.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: