-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tonumber doesn't work on true
or false
#3112
Comments
Any example how useful it is? I'm not sure how common this conversion is, and I'm afraid using this tends to make query less readable. |
As it happens, I was just working on However, I am not sure the pros in this case outweigh the cons, partly because "tonumber" was mainly intended for I'm not trying to make a general case against polymorphism, but there is a general case to be made against increasing polymorphism - the point being that it raises issues about "backward compatibility" if broadly understood. |
How about making |
I've been managing to punch out of my weight in speeding things up by sneaking around the monster known to speeders-up of code as I suppose I could invent some BS about how mapping bools to bits is somehow important in LLMs, but I just won't do that for fashion. I figure it's cool and shouldn't make things worse for those who don't use it.
Stuff gets repurposed all the time, so "primarily intended" goes to a reverence for the past that would be a lot easier to justify if
I'm sure I could come up with some strained analogies that didn't apply to the case at hand if I really wanted to, but I don't do that because I don't see them as advancing a discussion, fun as doing that can be.
Serious question. Are there |
It should because arithmetic on booleans is often a clear way to get complicated things done.
The text was updated successfully, but these errors were encountered: