News for hackers. Stuff that matters.
Re:“Coding is basically just ifs and for loops.” by engineeringwoke on Saturday December 04, 2021 @01:49PM (#29443250)
> debugging hairy, nested, imperative conditionals with for-loops that are off-by-1

Isn't this just a complicated case of ifs and fors?

Re:“Coding is basically just ifs and for loops.” by reikonomusha on Saturday December 04, 2021 @01:53PM (#29443285)
Sure, but the word "just" is doing a lot of work. It seems to be where a code base of uncomplicated ifs and fors leads to asymptotically, because both of those constructs don't prohibit you in any way from sneaking in "just another line" to either of them.