Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
FreeFull
on March 12, 2020
|
parent
|
context
|
favorite
| on:
I Don't Use Classes
You can go with more of a Haskell/Rust style approach, where you declare a type, and then define operations using either plain functions, or using something kinda similar an interface (typeclasses in Haskell, traits in Rust).
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: