418
34

megabool

1d 10h ago by lemmy.blahaj.zone/u/not_IO in programmer_humor@programming.dev from lemmy.blahaj.zone

Yes, no, maybe, I don't know, can you repeat the question?

You're not the boss of me, now!

I'm curious of what that means, but that link put me through five captchas in a row and I ran out of patience.

Youtube is giving you captchas? Ouch.

It's a Monty Python sketch. Here it is in text form.

Thanks! I'm on a VPN using graphene, so that's probably why YouTube doesn't like me.

Missing the truth nuke

And DAMN_LIE

FAKE_NEWS (true but I don't like it)

I also propose a new binary operator CARES_ABOUT_YOUR_FEELINGS

MEGABULL ,

and megabool::Statistics

BIG_IF_TRUE

DOUBLE_PLUS_UNTRUE

May I introduce the VHDL STD library where you can set an output to "don't care":

Wikipedia IEEE-1164

As an embedded electronics engineer discovering VHDL was a blast and a mindfuck!

Don't worry, VHDL is still a mindfuck sometimes even after being an FPGA engineer for years (mostly only using VHDL). It's such a cool language, and I am glad you discovered and are enjoying it!

its just what most people what vall illegal state or impossible?

I prefer the classic Bool:

enum Bool 
{ 
    True, 
    False, 
    FileNotFound 
};

Ah yes, the three genders.

If this classic isn't linked from that Wikipedia article (I never checked) it really should be. Like the "static cling" image, evnen encyclopedias need to know when to step out of formal style. 🤭

PANTS_ON_FIRE,

Needs more emojis.

👍 = true

👎 = false
🫳 = maybe
🤌 = Italian false

While working on some client code, my coworker and I came across a case statement that said something like

if myBoolean == TRUE
then blah
else if myBoolean == FALSE
then blah blah
else if myBoolean is null
then blah blah blah

Ever since we've always laughed at the "trinary bit".

I'd have gone with "truthy" and "falsy", but I like the cut of the jib all the same

Damn JavaScript

I'm confused as to the use of double true.

I've been running a query adding TRUE entries to other TRUE entries, but I just get TRUE as result.

OK and NOT_OK

This is just reinvention of Łukasiewicz multi-valued logic

missing this_tbh

Quantum computer booleans. True/False/Everything in between.