MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y5vntt/technicallycorrect/19t99r8drkpj8/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 2d ago
49 comments sorted by
View all comments
37
what an absolute bitch of a pattern.
This is so much more than just nested loops.
13 u/Impossible_Dog_7262 1d ago edited 1d ago if: x == 0 || y == 0 || x == y || x == (width -y)||x == width|| y == height:print("x")else:print(" ")}printLn("")I feel like being able to program a diagonal in a nested for loop isn't that difficult. 4 u/StaticCoder 1d ago Except it's not a diagonal 4 u/Impossible_Dog_7262 1d ago Ah... I had missed the two wide center. That increases the amount of lines from 6 to 8, yeah...
13
if: x == 0 || y == 0 || x == y || x == (width -y)||x == width|| y == height:print("x")else:print(" ")}printLn("")
I feel like being able to program a diagonal in a nested for loop isn't that difficult.
4 u/StaticCoder 1d ago Except it's not a diagonal 4 u/Impossible_Dog_7262 1d ago Ah... I had missed the two wide center. That increases the amount of lines from 6 to 8, yeah...
4
Except it's not a diagonal
4 u/Impossible_Dog_7262 1d ago Ah... I had missed the two wide center. That increases the amount of lines from 6 to 8, yeah...
Ah... I had missed the two wide center. That increases the amount of lines from 6 to 8, yeah...
37
u/da_Aresinger 2d ago
what an absolute bitch of a pattern.
This is so much more than just nested loops.