You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Biro has three whole comparison operators. THREE!!! I dont like this kind of bloat from a language that claims to be "Don't complicate things." Frankly this just disgusts me. Biro-Lang... more like Bro-This-Is-Trash-Lang
Solution
Just have one comparison operator <=>, which in of it self is sufficient for all comparison needs. Daddy Turing would be very proud.
Examples
a = 5 and b = 5, a <=> b would return 0.
a = 6 and b=5.999999999, a <=> b would return 1.
a = 723.68349 and b = 723.6835, a <=> b would return -1
The text was updated successfully, but these errors were encountered:
This will complicate the things because biro doesn't have NOT operator.
So if we want to check if a is less than b then we will have to write: is (1 <=> ((a <=> b) <=> -1) and ((a <=> b) <=> -1) <=> -1) ?
Why complicate things????
Motivation
Biro has three whole comparison operators. THREE!!! I dont like this kind of bloat from a language that claims to be "Don't complicate things." Frankly this just disgusts me. Biro-Lang... more like Bro-This-Is-Trash-Lang
Solution
Just have one comparison operator
<=>
, which in of it self is sufficient for all comparison needs. Daddy Turing would be very proud.Examples
a = 5
andb = 5
,a <=> b
would return0
.a = 6
andb=5.999999999
,a <=> b
would return1
.a = 723.68349
andb = 723.6835
,a <=> b
would return-1
The text was updated successfully, but these errors were encountered: