def _true_hamming_distance(a: str, b: str) -> int:
    """
    Calculate classic hamming distance
    """
    distance = 0
    for i in range(len(a)):
        if a[i] != b[i]:
            distance += 1
    return distance