There are only two genders:
if and else
These are mental disorders:
switch: case: break;
match() { '' => '' };
Conversation
Notices
-
Embed this notice
SuperDicq (superdicq@minidisc.tokyo)'s status on Monday, 27-Jan-2025 17:52:49 JST SuperDicq
-
Embed this notice
SuperDicq (superdicq@minidisc.tokyo)'s status on Monday, 27-Jan-2025 17:57:22 JST SuperDicq
"but in some scenarios a switch case might be one cpu cycle faster"
I don't care, this is PHP, not assembly. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Monday, 27-Jan-2025 17:57:23 JST snacks
@SuperDicq dictionary with function pointers as value -
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Monday, 27-Jan-2025 18:17:08 JST 翠星石
@snacks @SuperDicq That's called GCIDE; https://gnu.org/software/gcide -
Embed this notice
Bitals (bitals@fediverse.bitals.xyz)'s status on Monday, 27-Jan-2025 20:01:30 JST Bitals
@snacks @SuperDicq
Openai api call "you are an if statement. Choose 1 value to return based on the input. Do not hallucinate. The return value must be spelled out in a vocaloid voice."In conversation permalink snacks likes this. -
Embed this notice
SuperDicq (superdicq@minidisc.tokyo)'s status on Monday, 27-Jan-2025 22:33:29 JST SuperDicq
Ternary operators are mental disorders too
In conversation permalink
-
Embed this notice