I have a bit of FMO with the Javascript/Typescript...
# water-cooler
z
I have a bit of FMO with the Javascript/Typescript debate at the moment Maybe CFML should redefine boolean as yes/no/maybe?
🎯 1
r
Can we add “yes-ish” and “no-ish”, “it depends”, and “some people say…” to the list of possible valid values the different engines might return?
👍 2
z
"works on my machine" and "worked with cf8"
🙃 1
😅 3
s
We should just take a cue from the Magic 8 ball and update the cf docs for boolean with this table:
👍 2
e
Coldfusion Should support all of the following modifiers,: Yes, No, Maybe, Sometimes, AsIf, YesNo, YeahKnow, WTF, NoWay, NoFkingWay, Idunno, Perhaps, NotRightNow, TryAgainLater, BringCash, BringBeer, NetflixNchill, BUggerOff, yeahBabyYeah, ShallWeShagNoworShagNOwandLater, OHHellNo, TalkToTheHand, BringMeAShurbery,
🪴 1
c
I suppose "BringMeAShurbery" is affirmative, as they were if fact brought a shrubbery... but just one.
g
And if they didn't, then an AI entity would dispatch Knights of yore to bite off your kneecaps?