Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Bozhidar Batsov (a.k.a. Bug)
@bbatsov@hachyderm.io  ·  activity timestamp 4 days ago

When I saw #Python code like:

processed = map(normalize, map(clean, filter(is_valid, items)))

I immediately realized why Pythonistas believe that list comprehensions read better. I'm really surprised they didn't add some form of pipeline chaining to make such transformations more natural.

Not a big deal, but after so much #Ruby, #Clojure and #OCaml my mind really struggles to parse such code.

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login