Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anoncake
on Oct 6, 2019
|
parent
|
context
|
favorite
| on:
Learning Haskell is no harder than learning any ot...
It's not just excessive abstraction, separating Singleton and SingletonFactory can even reduce encapsulation since you can't make the Singleton constructor private.
reificator
on Oct 6, 2019
[–]
You can if it's in the same file.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: