def remove_hidden(names):
    """Remove (in-place) all strings starting with a '.' in the given list."""

    i = 0
    while i < len(names):
        if names[i].startswith('.'):
            names.pop(i)
        else:
            i += 1
    return names