Even in PHP (no named arguments): class Route { const RECURSIVE = true; const NON_RECURSIVE = false; public function __construct($pattern, $recursive = Route::NON_RECURSIVE) { // ... } } $route = new Route($pattern,…
I think, the problem is in all-or-nothing approach when discussing that topic. It's always "abstract pure SQL" vs "abstract pure ORM", but I think the solution is in reasonable compromise between them. First, it's…
Even in PHP (no named arguments): class Route { const RECURSIVE = true; const NON_RECURSIVE = false; public function __construct($pattern, $recursive = Route::NON_RECURSIVE) { // ... } } $route = new Route($pattern,…
I think, the problem is in all-or-nothing approach when discussing that topic. It's always "abstract pure SQL" vs "abstract pure ORM", but I think the solution is in reasonable compromise between them. First, it's…