Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Jul. 7th 2017

Let's Build A Forum with Laravel and TDD: Don't Forget to Scan Your Files

Episode 58 Run Time 8:02

Download

An important part of your coding workflow involves file scanning. Yes, your code works. Yes, the tests pass. But, even so, take a third pass and scan all relevant files. Does anything jump out at you? Are there any small tweaks that might add more clarity? Should that variable be inlined? Can we reduce the number of queries over here?

View the source code for this episode on GitHub.