which one are you?
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Saturday, 21-Oct-2023 02:19:52 JST nixCraft 🐧 -
twelve_floating_hands (twelve_floating_hands@mastodon.social)'s status on Saturday, 21-Oct-2023 02:34:37 JST twelve_floating_hands Neither, you savage!
if (bool) {
foo();
} -
Freevolt (freevolt24@mastodon.social)'s status on Saturday, 21-Oct-2023 02:55:05 JST Freevolt @nixCraft who the hell is bold enough to name a bool variable as bool
-
Zeriah (zeriah_b@mastodon.social)'s status on Saturday, 21-Oct-2023 03:17:31 JST Zeriah bar = bool ? foo() : null;
It's not a perfect solution, but it's a solution. Also decent if foo() has a return value.
-
Serpent7776 (serpent7776@mastodon.social)'s status on Saturday, 21-Oct-2023 03:22:08 JST Serpent7776 @nixCraft bool foo ()
because: -
beefsack (beefsack@mastodon.social)'s status on Saturday, 21-Oct-2023 12:43:14 JST beefsack @nixCraft the 2nd version is what the 20-something does when they have learned enough to be dangerous, but haven't yet learned the importance of readability and maintainability.
-