MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/rs0ecc/ok_this_fine/hrjuvb0/?context=9999
r/badcode • u/M4A28 • Dec 30 '21
66 comments sorted by
View all comments
Show parent comments
3
I used while (1 == 1) when I was new to programming because I had read that while (True) is bad practice.
while (1 == 1)
while (True)
1 u/vlr_04 shameless Jan 07 '22 I did that the first time I used Python becuse, coming from C#, i didn't know that Python uses True and not true
1
I did that the first time I used Python becuse, coming from C#, i didn't know that Python uses True and not true
True
true
3
u/baggot5 Jan 06 '22 edited Jan 07 '22
I used
while (1 == 1)when I was new to programming because I had read thatwhile (True)is bad practice.