janl commented on PR #3038:
URL: https://github.com/apache/couchdb/pull/3038#issuecomment-1207217242

   > another note. In some places you use a list comprehension, in others a 
lists:map. In both cases you're changing each item of a list to superset or 
subset of its original content, but using two different mechanisms to do so. It 
wasn't clear if this was intentional or not. The only difference is error 
handling, in that the list comprehension approach can silently drop items that 
fail, whereas lists:map would not. Is that why you chose lc vs map or were the 
choices arbitrary?
   
   I made no conscious decisions but rather picked the variant that was most 
prominent in the surrounding code. A cursory glance suggests this is fine where 
employed, but I’ll have another eye on it once the final PR goes up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to