Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kemayo
78 days ago
|
parent
|
context
|
favorite
| on:
Temporal: The 9-year journey to fix time in JavaSc...
> Developers would often write helper functions that accidently mutated the original Date object in place when they intended to return a new one
It's weird that they picked example code that is extremely
non
-accidentally doing this.
Griffinsauce
77 days ago
[–]
An example that is hard to follow defeats the point. It's just showing what pattern is possible and you can
imagine
the abstraction layers and indirection that would make it happen accidentally.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It's weird that they picked example code that is extremely non-accidentally doing this.