@GolfNovemberUniform @nixCraft don´t get it. wouldn´t a boolean be sufficient for this case?
Top-level
@GolfNovemberUniform @nixCraft don´t get it. wouldn´t a boolean be sufficient for this case? 13 comments
@RDogPinK @GolfNovemberUniform @nixCraft Not only sufficient, but perfect. int32 is most definitely not. @RDogPinK @GolfNovemberUniform @nixCraft In type theory you could say that it's value is true or "bottom" if it is executed symbolically rather than physically. @RDogPinK @GolfNovemberUniform @nixCraft I mean depending on if you’re writing old C. They didn’t have bools, just Ints. Bools were specified by the stdbool.h IIRC much later in time @EndlessMason @GolfNovemberUniform @nixCraft yeah, but the function says "computer_on", not retrieve status ;) @RDogPinK @EndlessMason @RDogPinK @nixCraft A hybernated computer is not an operational computer. And what does thermal throttling have to do with it? @GolfNovemberUniform If I have those same 4 cores but they're running at 50% of their usual clock speed to prevent over heating the computer is also half on. @GolfNovemberUniform Like one might expect from a water tap, or a dimmer lamp except with computers you know... The kind of thing one might represent in a int32? @RDogPinK @GolfNovemberUniform @nixCraft Consistency with other BeOS API's was probably more important than considering it strictly in isolation. It was a syscall, so using the standard "return an int" idiom probably made the most sense in context. |
@RDogPinK @nixCraft I think so. I edited my comment. I don't like wasted memory.