Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mannerheim
on March 3, 2021
|
parent
|
context
|
favorite
| on:
Rookie coding mistake prior to Gab hack came from ...
Sounds like a place where static types would have helped...
Not that one should rely entirely on them for these sorts of situations.
sph
on March 3, 2021
[–]
Static types don't help with string interpolation.
mannerheim
on March 3, 2021
|
parent
[–]
They help with ensuring you're not interpolating things that can be strings where you're only expecting numbers.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Not that one should rely entirely on them for these sorts of situations.