DEV Community

Discussion on: ✔||🤢 Commit or Vomit | Switch(true)

edave64 profile image
edave64

I personally like to drop the braces IF the condition is small and the statement ends control flow and logically can't have anything after, like return, throw, continue, break, etc.