Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in loops

Declaring variables inside loops, good practice or bad practice?

In Ruby, how do I skip a loop in a .each loop, similar to 'continue' [duplicate]

ruby loops syntax iteration

How do I skip an iteration of a `foreach` loop?

c# .net loops

Breaking out of nested loops [duplicate]

python loops nested-loops

What is the "right" way to iterate through an array in Ruby?

ruby arrays loops

Iterating over all the keys of a map

loops dictionary go

Is there a better way to run a command N times in bash?

bash loops

do { ... } while (0) — what is it good for? [duplicate]

c loops

How to avoid "RuntimeError: dictionary changed size during iteration" error?

python list dictionary loops

How do I add a delay in a JavaScript loop?

javascript loops sleep

Is there a "do ... while" loop in Ruby?

ruby loops

Why does this go into an infinite loop?

How to remove elements from a generic list while iterating over it?

c# list loops generics key-value

How to iterate over a JavaScript object?

What's the best way to break from nested loops in JavaScript?

Looping through array and removing items, without breaking for loop

javascript loops

How to determine the first and last iteration in a foreach loop?

php loops foreach

How do I iterate over a JSON structure? [duplicate]

javascript json loops

How to find the foreach index?

php loops foreach

What is the most "pythonic" way to iterate over a list in chunks?