DEV Community

Discussion on: Writing Clean Code

Collapse
 
gonedark profile image
Jason McCreary

As noted in the article, I don't believe in only one return. I admit there are trade-offs on both sides, in this case you are tracking $canView which carries it's own complexity.