Are barrier reefs alike to fringing reefs?