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
Show parent comment
44
u/CaitaXD May 01 '22
Filter being confusing is hilarious, it literally does what the name says it filters