Skip to content

Clean C++

Clean Software Development with Modern C++

  • About the blog
  • About the authors
  • Imprint

Category: Boost

Boost C++ libraries

Posted on 2013-01-23

Adaptors

In May the FORs leave you alone we replaced manual loops with calls to algorithms. For this we did not use the algorithms provided by the standard library but used boost.Range instead. In this post I’ll give you the rationale for that decision and introduce the transformed adaptor into the linear regression example.

Continue reading “Adaptors”

Posted on 2013-01-12

May the FORs leave you alone

In his post may the FORs be with you, Michael mentioned that it’s best to avoid handwritten loops at all. This is not self explanatory for a lot of people, and while many arguments can be put forth to support the use of algorithms, in this post let’s stick with one: readabilty.
Continue reading “May the FORs leave you alone”

Recent Posts

  • Interfaces done right
  • Code Dojo: Hangman
  • Code Dojos
  • Mock objects
  • Test-driven development

Recent Comments

  • markus on May the FORs leave you alone
  • markus on May the FORs leave you alone
  • Test *Driven* Development | Dave Farley's Weblog on Test-driven development
  • James Fraser on Mock objects
  • FakeIt – mocking framework for C++ – E&B Software on Unit tests

Archives

  • June 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012

Categories

  • Agile Practices
  • Boost
  • C++
  • C++11
  • Clean Code
  • Code Dojo
  • Fun
  • Guideline
  • Language Feature
  • Testing
  • Workaround

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress