Skip to content
  • Mark Olesen's avatar
    Simplify checking of container (List/HashTable, strings) sizes · 95dcb6de
    Mark Olesen authored
    - can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
      'XX.size() <= 0' or for simpler coding.
      It also has the same number of characters as '!XX.size()' and /might/ be
      more readable
    
    - many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
      when a simple 'XX.size()' suffices
    95dcb6de