How do you really feel @davestewart ? </sarcasm>
Seriously.. if this is your biggest gripe about laravel, maybe you need to heed your own advice and spend more time with you wife / kids /et al..
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
What is it with the Laravel source code comments!?
This whole sequentially-ended, 3-line comment thing just blows my mind (and not in the good way):
The Laravel documentation (as helpful as it is) somehow manages to miss out key portions of functionality, and the API guide is entirely superfluous when one can hyperlink through the source code anyway. It's in this very source code that I expect to find meaningful information from the developers that helps me ascend Laravel's steep learning curve, and demystify the significant amount of magic and hidden wiring that makes up the framework.
When I get to a bit of code and am forced to read self-indulgent fluff like the following, it's Face Palm Central at chez Stewart:
public function delete($id = null)
{
// If an ID is passed to the method, we will set the where clause to check
// the ID to allow developers to simply and quickly remove a single row
// from their database without manually specifying the where clauses.
if ( ! is_null($id)) $this->where('id', '=', $id);
$sql = $this->grammar->compileDelete($this);
return $this->connection->delete($sql, $this->getBindings());
}
Learning Laravel is a huge commitment, albeit with reciprocal benefits. But please, for the love of all things logical, kill the creative commenting, and put the time saved into proper explanations, complete documentation... or more time with your wife / kids / girlfriend / boyfriend / hobbies.
Cheers.
Please or to participate in this conversation.