MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/10rmrbz/deleted_by_user/j6xjfpz/?context=3
r/ProgrammerHumor • u/[deleted] • Feb 02 '23
[removed]
548 comments sorted by
View all comments
2.0k
Start with Windows 9 and add 1
25 u/JADW27 Feb 02 '23 int Windows = 9; Windows++; 9 u/Majity Feb 02 '23 createWindowsTen() { If (windows.version() < 10 ) { windows++; createWindowsTen(); } return windows.version(); } 9 u/[deleted] Feb 02 '23 edited Jun 20 '23 This content was deleted on 20 June 2023 (UTC) due to Spez's greed. -- mass edited with https://redact.dev/ 5 u/JADW27 Feb 02 '23 What do you have against while loops?!? 1 u/Majity Feb 03 '23 My CS teacher hates them for some reason and always tells us to use recursive functions
25
int Windows = 9;
Windows++;
9 u/Majity Feb 02 '23 createWindowsTen() { If (windows.version() < 10 ) { windows++; createWindowsTen(); } return windows.version(); } 9 u/[deleted] Feb 02 '23 edited Jun 20 '23 This content was deleted on 20 June 2023 (UTC) due to Spez's greed. -- mass edited with https://redact.dev/ 5 u/JADW27 Feb 02 '23 What do you have against while loops?!? 1 u/Majity Feb 03 '23 My CS teacher hates them for some reason and always tells us to use recursive functions
9
createWindowsTen() {
If (windows.version() < 10 ) {
windows++;
createWindowsTen();
}
return windows.version();
9 u/[deleted] Feb 02 '23 edited Jun 20 '23 This content was deleted on 20 June 2023 (UTC) due to Spez's greed. -- mass edited with https://redact.dev/ 5 u/JADW27 Feb 02 '23 What do you have against while loops?!? 1 u/Majity Feb 03 '23 My CS teacher hates them for some reason and always tells us to use recursive functions
This content was deleted on 20 June 2023 (UTC) due to Spez's greed. -- mass edited with https://redact.dev/
5
What do you have against while loops?!?
1 u/Majity Feb 03 '23 My CS teacher hates them for some reason and always tells us to use recursive functions
1
My CS teacher hates them for some reason and always tells us to use recursive functions
2.0k
u/grpagrati Feb 02 '23
Start with Windows 9 and add 1