命名半开区间的端点

Naming the endpoints of an half open interval

int myRand(int min, int max) {
    ...
}

是否有更好的参数名称可以清楚地表明 max 是排他性的,而不是包容性的。 IE。该函数生成范围 [min, max)? lowerupper 怎么样?

我会使用 [min, highest) 和 (lowest, max)。