Some teams require that every TODO comment in a codebase gets logged in the bug tracker. Others automatically delete any “stale” TODO that has been in the codebase for over a year. Don’t do it!
PHP
★ How to easily access private properties and methods in PHP
Sometimes you need to access a private property or method on an object that isn’t yours. Maybe you’re writing a test and need to assert some internal state. Maybe you’re building a package that needs Read more…