News for hackers. Stuff that matters.
Re:Parse, Don't Validate (2019) by jakelazaroff on Tuesday March 07, 2023 @08:51AM (#35055288)
There are concepts like filtering that let you operate on booleans without branching:

   const published = posts.filter(post => !post.draft);

There are no comments on this comment yet.