My idea is to make signs ">" and "<" be transferrable as variables. The purpose of that is to make ">" and "<" comparisons be dependent on the variables that you have passed without extra if statements. So you can avoid stuff like that:

Example:

function bigger_or_smaller(number, biggerOrSmaller, threshold){

return number biggerOrSmaller threshold;

}

bigger_or_smaller(3, >, 6) // false (3 > 6)

bigger_or_smaller(3, <, 6) // true (3 < 6)

Also I would like to make signs revertable like booleans. For example:

!> equals <=

!< equals >=

!(>) equals <

!(<) equals >

Example:

function bigger_or_smaller(number, biggerOrSmaller, threshold){

return number biggerOrSmaller threshold;

}

let sign = >;

bigger_or_smaller(3, sign, 6); // false (3 > 6)

bigger_or_smaller(3, !sign, 6); // true (3 <= 6)

bigger_or_smaller(6, !sign, 6); // true (6 <= 6)

bigger_or_smaller(6, !(sign), 6); // false (6 < 6)