News for hackers. Stuff that matters.
Re:State of Clojure 2020 by bcrosby95 on Friday February 21, 2020 @01:53AM (#22381393)
Makes me think a bit of Python's "ask for forgiveness not permission".

I have a few problems with "validate then do something if its valid". On top of what that article mentions, there are concurrency issues (e.g. checking to see if a file exists, then if it does, open it... oops, race condition), and general ergonomics (if I always have to do something before I do something else, there should be a function call that effectively does both).

There are no comments on this comment yet.