<?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[Codemy School - Medium]]></title>
        <description><![CDATA[We believe Anyone can Code! - Medium]]></description>
        <link>https://medium.com/codemy-school?source=rss----2076d68402e6---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Codemy School - Medium</title>
            <link>https://medium.com/codemy-school?source=rss----2076d68402e6---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 20:41:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/codemy-school" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ruby’s Attr Reader, Writer, Accessor]]></title>
            <link>https://medium.com/codemy-school/rubys-attr-reader-writer-accessor-1f88e38ea62a?source=rss----2076d68402e6---4</link>
            <guid isPermaLink="false">https://medium.com/p/1f88e38ea62a</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[videos]]></category>
            <category><![CDATA[free]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Zack Siri]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 05:14:27 GMT</pubDate>
            <atom:updated>2019-01-23T05:14:27.638Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OFyfqv8y9A7mq8A6KXb8Ew.jpeg" /></figure><h4>In ruby a lot can be achieved in a single line of code. Defining our own getters and setters is usually done when we need custom behavior for all other cases there is already something built in ruby. We’ll cover attr_reader, attr_writer and attr_accessor in this post.</h4><blockquote>This is a post from our <a href="https://www.codemy.net/posts/rfs-attr-reader-writer-accessor-011/sets/ruby-from-scratch">Ruby from Scratch video series</a>. To get the best experience including the free video <a href="https://www.codemy.net/posts/rfs-attr-reader-writer-accessor-011/sets/ruby-from-scratch">visit the post on our site</a>.</blockquote><p>Let’s take a look at how we can clean up our code.</p><pre>class Product<br>  TYPES = [&#39;game&#39;, &#39;food&#39;]</pre><pre>  def name<br>    @name<br>  end</pre><pre>  def name=(str)<br>    @name = str<br>  end<br>end</pre><p>In this case we are defining a getter and setter method for our attribute @name imagine if we had 4, 5 or even 10 attributes for our class. It would be extremely wasteful if we had to define setters and getters for all of them.</p><h3>attr_reader</h3><p>Sometimes you want to define an attribute that is read-only in a class in this case we can use attr_reader.</p><pre>class Product<br>  TYPES = [&#39;game&#39;, &#39;food&#39;]</pre><pre>  attr_reader :name</pre><pre>  def name=(str)<br>    @name  <br>  end<br>end</pre><p>attr_reader replaces our getter.</p><h3>attr_writer</h3><p>If we need our attribute to be writable we can use attr_writer</p><pre>class Product<br>  TYPES = [&#39;game&#39;, &#39;food&#39;]</pre><pre>  attr_reader :name<br>  attr_writer :name<br>end</pre><p>attr_writer replaces our setter.</p><h3>attr_accessor</h3><p>If we want our attribute to be both readable / writable we can use attr_accessor like so.</p><pre>class Product<br>  TYPES = [&#39;game&#39;, &#39;food&#39;]</pre><pre>  attr_accessor :name<br>end</pre><p>That’s it for this post! Hope that clears up how to define attributes in your ruby class.</p><blockquote>Codemy.net is an independently run <a href="https://www.codemy.net/posts">Video Tutorial site</a> that contains free and member’s exclusive videos, that covers topics such as <a href="https://www.codemy.net/posts/rfs-introduction-to-ruby-001/sets/ruby-from-scratch">Ruby</a>, <a href="https://www.codemy.net/posts/rails-generating-an-app/sets/rails-foundation">Rails</a>, <a href="https://www.codemy.net/posts/react-introduction-to-react/sets/react-foundation">ReactJS</a>, <a href="https://www.codemy.net/posts/elixir-project-introduction-001/sets/elixir-foundation">Elixir</a> visit us have a look around and if you like our content your can <a href="https://www.codemy.net/pages/membership">support us</a> for $9 / month</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f88e38ea62a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codemy-school/rubys-attr-reader-writer-accessor-1f88e38ea62a">Ruby’s Attr Reader, Writer, Accessor</a> was originally published in <a href="https://medium.com/codemy-school">Codemy School</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Engineers of Change]]></title>
            <link>https://medium.com/codemy-school/engineers-of-change-b42b5e665b01?source=rss----2076d68402e6---4</link>
            <guid isPermaLink="false">https://medium.com/p/b42b5e665b01</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[change]]></category>
            <dc:creator><![CDATA[Zack Siri]]></dc:creator>
            <pubDate>Wed, 25 May 2016 18:27:34 GMT</pubDate>
            <atom:updated>2016-05-26T06:24:18.069Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lqVPWIxsh16ifnZRD8t7pw.jpeg" /></figure><h4>Start with an Outcome and Work Backwards</h4><p>An engineer’s purpose is to change outcomes. Whether she is changing the outcome her personal life, of a business, or the world.</p><p>I always start with the outcome and reverse engineer, slowly the plan starts to emerge. Not all of it, but some of it. As I solves one piece the other pieces will reveal itself.</p><p>When I use the word ‘engineer’ I don’t mean just people who are software engineers. I mean practitioners, people who actually walk the walk. I classify anyone who can produce solutions for any problem as an engineer, whether they can make music, films, design a web-site, build rockets, electric cars, or even provide some kind of service people want to pay for. Here is the definition of an engineer on <a href="https://www.google.co.th/webhp?sourceid=chrome-instant&amp;ion=1&amp;espv=2&amp;ie=UTF-8#q=define%20engineer">Google.</a></p><blockquote>noun. A skillful contriver or originator of something.</blockquote><p>One may think of engineer in the traditional sense but the fact is, engineering skills apply to almost every aspect of life. If you apply the concepts to life, you have the ability to change things beyond your imagination.</p><p>Engineers are natural problem solvers. Its what we do everyday. When we’re given problem. We break the problem into smaller problems and then we solve them. One after another. We apply what we know, and if we don’t know something, we learn, then we solve.</p><p>Once I understood this it became clear to me that I was only limited by my vision. If I can imagine an outcome and not be afraid of what was in my head, I can solve everything between me and the net result I want. Provided I applied the same concept. Others have done it.</p><p>Nolan Bushnell wanted to build games that were ‘easy to learn and difficult to master’ that you could play on your TV so he built ATARI.</p><p>Bill Gates wanted to put a personal computer on every desk. So he built Microsoft.</p><p>Steve Jobs wanted to challenge the status quo. In his life time, he changed the personal computer industry, mobile phone industry and the music industry.</p><p>Larry Page and Sergey Brin wanted to make the world’s information accessible so they built the largest <a href="http://www.google.com/">search engine</a> in the world.</p><p>Linus Torvald wanted an open-source OS so he built Linux, and along the way he wanted a better way to manage code so he built Git.</p><p>David Heinemeier Hansson didn’t like the existing web frameworks at the time he was building his product so he <a href="http://rubyonrails.org/">built one.</a> Today it’s the most sought after technology in the industry. Other languages and frameworks are ‘learning’ from his framework.</p><p>Chad Hurley, Steve Chen, and Jawed Karim wanted people to be able to film themselves and share it with the world so they made YouTube.</p><p>Tom Preston-Werner, Chris Wanstrath and PJ Hyett believe in a better way to collaborate on code so they built <a href="http://github.com/">github</a>.</p><p>Gary Vaynerchuk wants to buy the New York Jets, so he made <a href="https://www.youtube.com/user/GaryVaynerchuk">videos on youtube</a> to change the outcome of his businesses.</p><p>Elon Musk wants to put people on mars and build the best cars in the world so he started Space X and Tesla.</p><p>And the list goes on. What these people have in common is they turned what was in their head into physical tangible things, that had a net positive effect on people’s lives. I call them <strong>‘Engineers of Change’ </strong>also known as<strong> ‘Entrepreneurs’.</strong></p><p>Make no mistake these people didn’t change outcomes overnight. They persevered. Along the way people called them names, said they were going to fail, but it didn’t matter. They knew what was in their head was too complex for most people to understand. They dedicated their lives to their outcome and the net result they wanted. Every action they took, revolved around their plan to make what was in their head into something real.</p><p>I am lucky to be born in this era. The <strong>era of the self-made</strong>. I now have tools that amplify my body, mind and soul. They’ve made what was practically impossible a decade ago, now inevitable. I have no excuse not to build my vision of the future.</p><h3>Hi! I am the founder of <a href="https://www.codemy.net/">Codemy.net</a>, I’m building my business the old school way, which is providing value for my customers. If you like what you see here don’t forget to follow me on<a href="https://twitter.com/zacksiri">twitter</a> and subscribe to my <a href="https://www.youtube.com/channel/UCXNeUcG4KpZaYUgYJvgN9tg">channel on Youtube</a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b42b5e665b01" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codemy-school/engineers-of-change-b42b5e665b01">Engineers of Change</a> was originally published in <a href="https://medium.com/codemy-school">Codemy School</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Don’t Need 4 Years to be Hireable]]></title>
            <link>https://medium.com/codemy-school/you-don-t-need-4-years-to-be-hireable-cf8f7b775457?source=rss----2076d68402e6---4</link>
            <guid isPermaLink="false">https://medium.com/p/cf8f7b775457</guid>
            <category><![CDATA[economy]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Zack Siri]]></dc:creator>
            <pubDate>Tue, 19 Jan 2016 14:08:50 GMT</pubDate>
            <atom:updated>2016-01-19T14:08:49.515Z</atom:updated>
            <content:encoded><![CDATA[<p>We’ve been brought up with the traditional education system, where in order to get a job to be productive, we have to put ourselves through 4 years of University to be considered ‘hireable’ for a job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGj_RcLb1VxHfqvD9__ilQ.jpeg" /></figure><p>The truth is nowadays even if you put yourself through the best university you won’t be hireable because the university’s curriculum is so distant from whats required in the real world.</p><h4>4 Years of What Exactly?</h4><p>Why does it take 4 years to become anything? Has our education systems and tools not improved? Hasn’t information become more accessible and cheaper? Isn’t that the point of making things better, so that we can achieve more in less time and resources? If thats the case then why are universities so expensive?</p><p>Another question is why does it take the same amount of time to become proficient in every field? It takes 4 years to graduate to become anything, a programmer, a lawyer, a marketeer, a sales person?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*PvwSy7tmGU2mUr5pAYexVw.jpeg" /></figure><p>We’ve been so comfortable as a society that we just accept the system without questioning it. In times where economy isn’t great, time is of the essence. Strong economies are built on people who produce, people who make things, and solve real problems. We’re spending 4 years getting people barely skilled enough to do work and along the way getting people into debt they can’t repay because they are not equipped with skills to get themselves out, sounds like a formula for a failing economy.</p><p>I can only speak for what I know, and I know the software industry. I’ve been working as an engineer, built teams, started and managed tech companies for the past 5 years and what I can say confidently is I learned most of my skills through working through real problems.</p><p>I have also had the opportunity to teach students to code. Students who came to me never having written a line of code. I was able to get them to the point of being productive in <strong>3 months</strong>, not 4 years. They have gone on to work in top tech companies, or started their own companies.</p><p>I believe there are enough jobs, money, wealth of all sorts to go around. We just need to be willing to look at things differently. That’s why I am re-starting <a href="http://www.codemy.net/">Codemy.net</a>. Our goal at Codemy is to produce engineers who solve real world problems quickly without breaking the bank. Simple.</p><h3>Thanks for Reading</h3><p>My name is Zack Siri and I’m the founder of <a href="http://www.codemy.net/">Codemy.net</a>. I make free videos that help software engineers level up. I will also be making paid videos that are affordable and will get people from not having written a line of code to becoming hireable in a tech company in 3 months. Follow me on <a href="http://www.twitter.com/zacksiri">Twitter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf8f7b775457" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codemy-school/you-don-t-need-4-years-to-be-hireable-cf8f7b775457">You Don’t Need 4 Years to be Hireable</a> was originally published in <a href="https://medium.com/codemy-school">Codemy School</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rails is more than just a Framework]]></title>
            <link>https://medium.com/codemy-school/rails-is-more-than-just-a-framework-2685dd045e5?source=rss----2076d68402e6---4</link>
            <guid isPermaLink="false">https://medium.com/p/2685dd045e5</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[rails]]></category>
            <dc:creator><![CDATA[Zack Siri]]></dc:creator>
            <pubDate>Tue, 01 Sep 2015 10:47:46 GMT</pubDate>
            <atom:updated>2019-01-23T07:44:19.003Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s easy to fall into the trap of loving your technology of choice. We’ve all done it as developers. Rails developers love their framework and the ruby language, and that can be a good or a bad thing depending on how you look at it. I believe some languages and frameworks deserve the love and affection they get more than others.</p><h3>Rails makes you better</h3><p>Anyone who has tried getting into Ruby on Rails will know that it has a steeper learning curve than picking up node.js or PHP. That is because Rails is both a framework and a combination of personalities with a set of very strong opinions on how things should be done. As a result people usually flock to something they think they can use get things done quick and easy, as in they don’t have to learn the framework or the design patterns or engineering principles imposed by the Rails community. They can just use the tools and libraries and do <strong>whatever they want</strong>. However things that get done quick and easy are generally just not good enough. Experienced Ruby developers I’ve worked with over the years have this attitude of “it needs to be done right!” or “it needs to be beautiful or its not worth doing”.</p><p>Most people will argue that there isn’t enough time for doing things right. The way I see it if you can’t allocate enough time to do it right, its not worth doing in the first place. Most of the time my team and I have had to ‘hack’ something together or do something quick and easy it has backfired on our faces, and ends up taking twice as long and costing twice as much as doing it right the first time round. Doing things right the first time round is the only way to do it.</p><h4>Sense of Design</h4><p>Working with Rails as a developer will make you appreciate design and engineering of solutions. The ‘Rails Way’ usually abstracts code in manners I have seldom seen in any other ecosystems / frameworks. I’ve worked with experienced developers who’ve built complex pieces of technology but have missed out on ‘design’ of code, as a result they struggle at creating code that is easy to follow, minimal, easy to test, and generally their code lacks cohesion and consistency. In fact what has started happening is I now see more and more frameworks / ecosystem borrow from Rails for this very reason.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*soYneaezxLx8w60vG66WPA.png" /><figcaption>First they ignore you. Then they laugh at you. Then they fight you. Then you win.</figcaption></figure><h3>Innovation in Rails</h3><p>There is also the matter of technologies that is implemented in Rails before any other frameworks or platform. For example the ActiveRecord gem that is included in Rails is the best implementation of the Active Record pattern. In fact many other implementations of the Active Record pattern actually borrow from the ActiveRecord gem.</p><p>Enforcing <strong>convention over configuration</strong> allows developers to focus on the business intelligence. As a Rails developer most of the decisions about which libraries to use and how to implement certain technology patterns are already decided for you, so what you are left with is your actual implementation of the solution to the problem you are trying to solve. You literally get down to business faster than any other platforms.</p><p>Then there are technologies like <a href="https://www.youtube.com/watch?v=Glwa5HUmRxQ">Variants</a> which is a much better way of building responsive sites. You don’t have to fight with your css and make compromises to get one style to work with different screens, you can get the server to recognise which device is calling the page and serve assets specific to the device.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGlwa5HUmRxQ%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGlwa5HUmRxQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGlwa5HUmRxQ%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eeb82b965bcb0adea83559407585866d/href">https://medium.com/media/eeb82b965bcb0adea83559407585866d/href</a></iframe><blockquote>Rails contributors are not afraid to break the rules when needed. They’re not afraid to say “I know a better way to solve this problem, so I am going to do it my way”.</blockquote><p>This mindset forces Rails developers to think outside the box, when it comes to solving problems. It forces them to not be afraid to break the mould and go beyond the requirements. It’s the combination of having good sense of design from working with a great framework and learning from the people who established these patterns and the audacity of wanting to do things better that makes Rails developer better. That’s not to say that developers of other languages and frameworks can’t be as great or greater, but I personally see it more in Rails developers or developers who have used Rails extensively at some point. When a Ruby / Rails developer adopts new frameworks or other languages they are usually thinking in the same kind of way, design patterns, testing, clean code, good defaults. The same kind of things that they learned working with Rails carries over very quickly to their code in other platforms or when developing their own libraries.</p><p>Rails isn’t just a framework its a combination of great technology and great philosophy inspired by amazing technological leaders, that understand the importance of quality and community. Rails contributors generally want to do more than just ‘get the job done’ they want to ‘get the job done right’. This is what makes Rails developers <a href="http://www.inc.com/aaron-skonnard/the-top-5-highest-paying-tech-jobs-in-2015.html">stand out from the crowd</a>.</p><blockquote><em>Codemy.net is an independently run </em><a href="https://www.codemy.net/posts"><em>Video Tutorial site</em></a><em> that contains free and member’s exclusive videos, that covers topics such as </em><a href="https://www.codemy.net/posts/rfs-introduction-to-ruby-001/sets/ruby-from-scratch"><em>Ruby</em></a><em>, </em><a href="https://www.codemy.net/posts/rails-generating-an-app/sets/rails-foundation"><em>Rails</em></a><em>, </em><a href="https://www.codemy.net/posts/react-introduction-to-react/sets/react-foundation"><em>ReactJS</em></a><em>, </em><a href="https://www.codemy.net/posts/elixir-project-introduction-001/sets/elixir-foundation"><em>Elixir</em></a><em>visit us have a look around and if you like our content your can </em><a href="https://www.codemy.net/pages/membership"><em>support us</em></a><em> for $9 / month</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2685dd045e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codemy-school/rails-is-more-than-just-a-framework-2685dd045e5">Rails is more than just a Framework</a> was originally published in <a href="https://medium.com/codemy-school">Codemy School</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>