Saturday, March 19, 2016

Generic Programming and Protocol Oriented Programming with Swift

There will (hopefully) be a number of posts in the Generic Programming and Protocol Oriented Programming with Swift series.  This page will list the post with links to them.

1.  Iterative approach to Algorithms

In this post we will look at the iterative approach to programming where we should be constantly looking to improve our code.  Keep in mind that no one writes good code the first time' it takes many iterations to find the most efficient or general way to do something.  No programmer should have a single pass mindset.


2.  The Law of Useful Return

In this post I would like to look at the The Law of Useful Return.  The Law of Useful Return says:  If you have already done the work to get some useful result, don’t throw it away.  Return it to the caller because they may be able to use it.



1 comment: