[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.11564385 [View]
File: 11 KB, 547x319, RegardlessStatement.png [View same] [iqdb] [saucenao] [google]
11564385

>>11553666
Hello Satan.
I'm writing in to ask a stupid question that came to me this morning. One thing that really annoys me when coding is having to do
>for(condition) {...}
>important_update()
>for(condition) {...}
with the same condition in both cases. I hate having to copypaste the for condition, because, of course, there is always a risk of going back to make changes and forgetting to clone the condition. So anons: Is there a programming language that has something like a "regardless" statement that goes within a loop and allows a block to slice a loop in two (pic related)?

Navigation
View posts[+24][+48][+96]