The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Refactoring Loops to Collection Pipelines

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Martin Fowler

Posts: 1573
Nickname: mfowler
Registered: Nov, 2002

Martin Fowler is an author and loud mouth on software development
Refactoring Loops to Collection Pipelines Posted: Jun 23, 2015 9:03 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Martin Fowler.
Original Post: Refactoring Loops to Collection Pipelines
Feed Title: Martin Fowler's Bliki
Feed URL: http://martinfowler.com/feed.atom
Feed Description: A cross between a blog and wiki of my partly-formed ideas on software development
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Martin Fowler
Latest Posts From Martin Fowler's Bliki

Advertisement

I've long been a fan of the programming pattern that I call the collection pipeline. This allows me to write computation on collections in the form of a pipeline of familiar operations (eg filter, map, reduce). More and more language environments now have the language features and collection APIs to support pipelines, but since they have been limited in use for so long, more people are familiar with loops. In this article (which I'm releasing in installments) I'll take some loops and show how I'd refactor them into collection pipelines.

Read: Refactoring Loops to Collection Pipelines

Topic: A Kind of Story Mapping Previous Topic   Next Topic Topic: wholesale oakleys fake cheap oakley sunglasses 0586

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use