<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Flow Control on about:rileycsillag fka drewcsillag</title>
		<link>https://riley.thecsillags.com/categories/flow-control/</link>
		<description>Recent content in Flow Control on about:rileycsillag fka drewcsillag</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Mon, 14 Apr 2014 16:28:14 -0400</lastBuildDate>
		
			<atom:link href="https://riley.thecsillags.com/categories/flow-control/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Refactoring Flow Control And Conditionals</title>
				<link>https://riley.thecsillags.com/posts/2014-04-14-refactoring-flow-control-and-conditionals/</link>
				<pubDate>Mon, 14 Apr 2014 16:28:14 -0400</pubDate>
				<guid>https://riley.thecsillags.com/posts/2014-04-14-refactoring-flow-control-and-conditionals/</guid>
				<description>&lt;p&gt;In the course of reading various design patterns and refactoring books&#xA;(like&#xA;&lt;a href=&#34;http://www.amazon.com/Refactoring-Improving-Design-Existing-Code/dp/0201485672/ref=sr_1_1?ie=UTF8&amp;amp;qid=1397507462&amp;amp;sr=8-1&amp;amp;keywords=refactoring&#34;&gt;Refactoring&lt;/a&gt;),&#xA;I noticed while flow control is sorta mentioned here and there, it&amp;rsquo;s&#xA;not addressed especially well.  It mostly encourages things like&#xA;&lt;a href=&#34;http://refactoring.com/catalog/replaceConditionalWithPolymorphism.html&#34;&gt;replacing conditional with polymorphism&lt;/a&gt;&#xA;and &lt;a href=&#34;http://refactoring.com/catalog/replaceNestedConditionalWithGuardClauses.html&#34;&gt;replace nested conditional with guard clauses&lt;/a&gt;&#xA;and the like, rather than finding ways to straighten out and clarify&#xA;code that contains flow control and conditionals.&lt;/p&gt;&#xA;&lt;!-- more --&gt;&#xA;&lt;p&gt;One of my thoughts on flow control and conditionals follows one of the rules of the &lt;a href=&#34;http://legacy.python.org/dev/peps/pep-0020/&#34;&gt;Zen of Python&lt;/a&gt;:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
