←back to thread

Parse, don't validate (2019)

(lexi-lambda.github.io)
398 points declanhaigh | 1 comments | | HN request time: 0.212s | source
1. cratermoon ◴[] No.35056629[source]
Currently working on a project with some inexperienced developers where I was brought on to consult. Lots of shotgun parsing. Stringly-typed code everywhere.Even the dates and timestamps are pass around as strings, resulting in code to go back and forth between proper time types and strings all over the place.