Tag: Sequences

Sequences: Implementation of the filter

Let’s try to understand the code of the filter decorator. It contains a significant amount of code, so let’s break it down into parts. The decorator takes two parameters as input: sequence, from which it obtains the original iterator, and predicate, which defines the filtering ...

Measuring sequences

I conduct a significant number of technical interviews for Android (over 100 per year). Based on my interview experience, I have observed that the vast majority of developers are hesitant to use sequences in their work because they do not understand how they work. Most importantly, they lack an unde...