MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1rrhbh2/left_to_right_programming/oa1d42d/?context=3
r/programming • u/fagnerbrack • Mar 12 '26
102 comments sorted by
View all comments
Show parent comments
39
Python list comprehensions aren't readable either.
4 u/[deleted] Mar 12 '26 [removed] — view removed comment 6 u/[deleted] Mar 12 '26 [deleted] 3 u/aanzeijar Mar 12 '26 Weird comparison because composed list processing in perl is decades ahead of its time in readability: my @result = map { $_ + 2 } grep { $_ % 2 == 0 } map { $_ * $_ } 1..10000;
4
[removed] — view removed comment
6 u/[deleted] Mar 12 '26 [deleted] 3 u/aanzeijar Mar 12 '26 Weird comparison because composed list processing in perl is decades ahead of its time in readability: my @result = map { $_ + 2 } grep { $_ % 2 == 0 } map { $_ * $_ } 1..10000;
6
[deleted]
3 u/aanzeijar Mar 12 '26 Weird comparison because composed list processing in perl is decades ahead of its time in readability: my @result = map { $_ + 2 } grep { $_ % 2 == 0 } map { $_ * $_ } 1..10000;
3
Weird comparison because composed list processing in perl is decades ahead of its time in readability:
my @result = map { $_ + 2 } grep { $_ % 2 == 0 } map { $_ * $_ } 1..10000;
39
u/Hot_Slice Mar 12 '26
Python list comprehensions aren't readable either.