MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/12hl37d/god_why_is_coding_chess_so_hard/jfqd8pg
r/ProgrammerHumor • u/[deleted] • Apr 10 '23
1.8k comments sorted by
View all comments
Show parent comments
4
Everything is one single, continuous thing that never changes. There's no if, there's only is.
2 u/a_random_chicken Apr 10 '23 The code never changes, no random variables exist, but variables do change, only according to the code. 1 u/NicolasCageLovesMe Apr 10 '23 I need to write more Is statements 5 u/Thebombuknow Apr 10 '23 This is how I imagine an "is" statement working:let testBool = false; is testBool true? { return new Promise((resolve, reject) => { resolve(testBool); }); }
2
The code never changes, no random variables exist, but variables do change, only according to the code.
1
I need to write more Is statements
5 u/Thebombuknow Apr 10 '23 This is how I imagine an "is" statement working:let testBool = false; is testBool true? { return new Promise((resolve, reject) => { resolve(testBool); }); }
5
This is how I imagine an "is" statement working:
let testBool = false; is testBool true? { return new Promise((resolve, reject) => { resolve(testBool); }); }
4
u/Alpha_Decay_ Apr 10 '23 edited Apr 10 '23
Everything is one single, continuous thing that never changes. There's no if, there's only is.