[keyword] structured array

Drupal8 still makes massive use of "by convention" structured arrays

The bad news is that Drupal8 still makes massive use of "by convention" structured arrays rather than full object-oriented encapsulation. It's still extremely Write Everything Twice (WET) (because "we enjoy typing") w.r.t. repetition of array keys, not DRY like proper OO code.

The good news is that this means that a version of OOE = Object Oriented Examples = One Of Each for Drupal8 may be welcomed by real OO advocates.

Subscribe to RSS - structured array