<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Simpler dependency injection</title>
	<atom:link href="http://jakeherringbone.com/2008/12/simpler-dependency-injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://jakeherringbone.com/2008/12/simpler-dependency-injection/</link>
	<description>My thoughts on life, work, coding, and stuff I like.</description>
	<lastBuildDate>Tue, 09 Mar 2010 18:51:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alex</title>
		<link>http://jakeherringbone.com/2008/12/simpler-dependency-injection/comment-page-1/#comment-64</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 17 Jan 2009 20:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://jakeherringbone.com/?p=132#comment-64</guid>
		<description>Oh, it turns out this is exactly how classes are written in Scala. Except they don&#039;t seem to promote the fact that it facilitates dependency injection...</description>
		<content:encoded><![CDATA[<p>Oh, it turns out this is exactly how classes are written in Scala. Except they don&#8217;t seem to promote the fact that it facilitates dependency injection&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gabe</title>
		<link>http://jakeherringbone.com/2008/12/simpler-dependency-injection/comment-page-1/#comment-47</link>
		<dc:creator>gabe</dc:creator>
		<pubDate>Thu, 04 Dec 2008 08:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://jakeherringbone.com/?p=132#comment-47</guid>
		<description>I wonder if you could have a property modifier with a little bit of the objective-c property syntax, so you would rarely actually have to write out the get and set functions like you do in Actionscript or C#.


var (readonly) foo:SomeType;

var (assign,atomic,getter=isFoo) _foo:Boolean = true;

var foo:*;



The default could be readonly, non-atomic. You could have other options like, &#039;copy&#039;, &#039;strong&#039; or &#039;weak&#039;. Also &#039;before=&#039; and &#039;after=&#039; filters to call other methods before and after a setter or getter. And also maybe something like a &#039;setOnce&#039; where it becomes readonly after being set.

Also, options for a &#039;default=&#039; value or allowing subclasses to &#039;override&#039; (like @dynamic in obj-c).</description>
		<content:encoded><![CDATA[<p>I wonder if you could have a property modifier with a little bit of the objective-c property syntax, so you would rarely actually have to write out the get and set functions like you do in Actionscript or C#.</p>
<p>var (readonly) foo:SomeType;</p>
<p>var (assign,atomic,getter=isFoo) _foo:Boolean = true;</p>
<p>var foo:*;</p>
<p>The default could be readonly, non-atomic. You could have other options like, &#8216;copy&#8217;, &#8217;strong&#8217; or &#8216;weak&#8217;. Also &#8216;before=&#8217; and &#8216;after=&#8217; filters to call other methods before and after a setter or getter. And also maybe something like a &#8217;setOnce&#8217; where it becomes readonly after being set.</p>
<p>Also, options for a &#8216;default=&#8217; value or allowing subclasses to &#8216;override&#8217; (like @dynamic in obj-c).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

