"Don't use map and filter, they're confusing for others! Use list comprehensions instead!" "Don't use list comprehensions, they're confusing others! Use a for loop instead!"
At what point do I start to feel offended at what others feel I can or can't comprehend?
I think a lot of it comes from not really encountering significant use of things like list comprehension, filter, map, even lambdas, outside of stuff like trying to code golf challenging problems. Makes it all seem a lot more daunting than it really is.
It is so confusing to me what kind of coding job people work where you aren't using those frequently, outside of 'pure front-end' positions that are essentially designers. In web dev (and when I did QA) I feel like I use them somewhere in most solutions.
I think that depends largely on whether you have well structured code. I, for one, do not. I'm currently staring at 50 lines of purely mapping and filtering database results, none of which actually lends to using map or filter because of poor design decisions.
View all comments
127
u/303Redirect Apr 30 '22
"Don't use map and filter, they're confusing for others! Use list comprehensions instead!"
"Don't use list comprehensions, they're confusing others! Use a for loop instead!"
At what point do I start to feel offended at what others feel I can or can't comprehend?