Ad
  • Default User Avatar

    Couldn't agree more! Best practice is about maintainability not clever looking solutions which are not necessarily more efficient (from most I have seen they are usually awful for performance)

  • Custom User Avatar

    Should this be considered best practice? I understand it being upvoted as clever, but as for best practice I think that some other answers are far more readable and appropriate for a codebase.