- http://peopledevelopmentmagazine.com/2016/05/28/leadership-effectiveness/ - All about reading energy
- http://peopledevelopmentmagazine.com/2013/10/10/cornerstone-authentic-leadership - All about listening
- http://peopledevelopmentmagazine.com/2016/04/03/mindset-shifts-better-leader/ - Mindset Shift - Owning feelings
- https://www.entrepreneur.com/article/276800?utm_source=Latest&utm_medium=site&utm_campaign=iScroll - Employee grwoth
- http://www.theexecutivecoachingblog.com/2015/12/01/the-value-of-working-on-your-values/ - how to make decisions with opposing pairs
- http://www.theexecutivecoachingblog.com/2014/10/14/a-matter-of-scope/ - staying on track with differnet levels of vision.
- http://seapointcenter.com/dimensions-of-trust/ - bulilding trust
- http://leadchangegroup.com/stop-trying-to-grow-influence-grow-this-instead/ - influence vs capacity
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Unit\Westeros\Territory; | |
use Westeros\Territory\Factory as TerritoryFactory; | |
use PHPUnit\Framework\TestCase; | |
use Westeros\Territory as TerritoryOfWesteros; | |
class FactoryTest extends TestCase | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Unit\Westeros\Territory; | |
use Westeros\Territory\Factory as TerritoryFactory; | |
use PHPUnit\Framework\TestCase; | |
use Westeros\Territory as TerritoryOfWesteros; | |
class FactoryTest extends TestCase | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Unit\Westeros\Territory; | |
use Westeros\Territory\Factory as TerritoryFactory; | |
use PHPUnit\Framework\TestCase; | |
class FactoryTest extends TestCase | |
{ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!in_array($territoryName, self::$knownTerritories)) { | |
throw new InvalidArgumentException('Unknown Territory'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Unit\Westeros\Territory; | |
use Westeros\Territory\Factory as TerritoryFactory; | |
use PHPUnit\Framework\TestCase; | |
use Westeros\Family; | |
use Westeros\Person; | |
use Westeros\Sword; | |
use Westeros\Territory as TerritoryOfWesteros; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Westeros\Territory; | |
use Westeros\Family; | |
use Westeros\Person; | |
use Westeros\Sword; | |
use Westeros\Territory as TerritoryOfWesteros; | |
use InvalidArgumentException; |