<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jamie Rose on Medium]]></title>
        <description><![CDATA[Stories by Jamie Rose on Medium]]></description>
        <link>https://medium.com/@jrose1184?source=rss-34e3cf5c7501------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*kjrSEjjbvke8r0wz.jpg</url>
            <title>Stories by Jamie Rose on Medium</title>
            <link>https://medium.com/@jrose1184?source=rss-34e3cf5c7501------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 22:25:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jrose1184/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My in take on Dependency Injection]]></title>
            <link>https://medium.com/@jrose1184/my-in-take-on-dependency-injection-44474913affd?source=rss-34e3cf5c7501------2</link>
            <guid isPermaLink="false">https://medium.com/p/44474913affd</guid>
            <dc:creator><![CDATA[Jamie Rose]]></dc:creator>
            <pubDate>Thu, 22 Oct 2015 23:03:11 GMT</pubDate>
            <atom:updated>2015-10-22T23:03:11.553Z</atom:updated>
            <content:encoded><![CDATA[<p>My in take on Dependency Injection</p><p>So i was looking at my “Journey class” on oystercards with Simon Legg “legend”. He said to me why are you using the journey class just to deal with stations. Why not use Dependency Injection so you can later on pass in any think you want!</p><p>here is my original code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*cQlvgPNLn5kJpmvEbXy6Mw.png" /></figure><p>so here i was using a method entry_station that eq station class. I could have just used that as a initialize. it makes my code more readable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*PrA8WnC4JhmS7LnSTgVnkw.png" /></figure><p>now with Dependency Injection because my class handles a entry station and a exit station. i can…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*k_2_l-bNDVBiSJK2mUn6Ew.png" /></figure><p>make a bus journey and any think i want a oystercard to do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*RzNEW3zvnTl-LIqY6Y9Vow.png" /></figure><p>well that my little intake it my not be completely right but every step helps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44474913affd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>