Tag: Comprehensions

Comprehensions And Filter Vs. For and Continue in Julia

Those that have been reading my blog somewhat consistency might recall a short article I wrote a few months ago discussing how I nearly never use traditional for loops when programming Julia. The primary techniques I use to replace these loops are often either mapping or comprehensions. Julia has a ...

Why You Should Stop Using List Comprehensions in Python

Ok, the title admittedly is a little clickbait; you shouldn’t completely stop using list comprehensions in Python. List comprehensions are very commonly used and are a very Pythonic way to perform a wide range of tasks. Especially in simple applications, they’re defin...