← concepts · the commons
Boolean
7 moment(s) that assert this concept — showing 1–7 of 7
strong6 independent sources
↣ how this spread over time →RISC-V International · youtube · en
1A mask in vector processing is a boolean result from comparing two registers, represented as an integer that matches the semantic meaning and is stored in a regular register.
“we're not going to have as many vector eyes as I've had in the past separate mask registers right there when you compute a mask it's just a normal operation you compare two registers and what do you get out of it a boolean and we'll represent that boolean as an integer and that integer just matches the see semantics and that integer goes into another register”
spoken · 632s · 2017-12-09
Apple Developer · youtube
2An LED object in Swift provides intuitive properties like enabled and brightness with ergonomic types.
“the enabled property is a boolean, the brightness property is an integer.”
spoken · 473s · 2024-06-11
thoughtbot · youtube · en
3In this system, boolean values are represented as integers: true is defined as -1 and false as 0, based on bit masking in two's complement arithmetic.
“true is defined as minus one and false is zero which is totally not what anyone ever would expect”
spoken · 311s · 2015-05-20
Glamorous Toolkit · youtube · en-US
4A boolean object responds to a message #ifTrue:ifFalse to return one of two values based on its truth value
“we send that boolean object the message #ifTrue:ifFalse. If it's true, we get one string back, else the other.”
spoken · 287s · 2023-01-09
Brian Will · youtube · en-US
5A string is a sequence of text characters, and a boolean represents a true or false value used to express yes or no conditions.
“a string is a piece of text. It's a sequence of text characters, and a bullion is a value that's simply just true or false, which are used to represent all sorts of yesss and no pieces of data. Like for example, is it currently sunny outside? Yes or no? True or false? True or false?”
spoken · 90s · 2019-04-24
Brian Will · youtube · en-US
6An if statement evaluates a Boolean condition and executes a body of code if the condition is true, otherwise skips it.
“it first evaluates that condition. It looks at the Boolean variable and sees if it's true or false... if the condition is true, then the body of the if is executed, but otherwise if it's false, then the body is skipped over”
spoken · 420s · 2019-04-24
Strange Loop Conference · youtube · en-US
7The name 'isValid' in a method typically implies a Boolean return value, but when used in contexts where additional data (like an internal ID) is returned, it creates a misleading semantic association that confuses callers.
“isValid gives the idea that a Boolean will be returned. Often this is the case but sometimes we try to be smart...”
spoken · 177s · 2022-05-20