<?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 Vandeth Nop on Medium]]></title>
        <description><![CDATA[Stories by Vandeth Nop on Medium]]></description>
        <link>https://medium.com/@vnop14?source=rss-dbe93a9871f0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GXJPhrObArqI7vvj1GUYUA.png</url>
            <title>Stories by Vandeth Nop on Medium</title>
            <link>https://medium.com/@vnop14?source=rss-dbe93a9871f0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:51:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vnop14/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[Other Benefits of Redux]]></title>
            <link>https://medium.com/entelo/other-benefits-of-redux-c394522b4e9e?source=rss-dbe93a9871f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c394522b4e9e</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vandeth Nop]]></dc:creator>
            <pubDate>Mon, 23 Apr 2018 17:13:53 GMT</pubDate>
            <atom:updated>2018-04-23T17:13:53.643Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OQ3n1WHn5Bu-6llQGRmAEg.jpeg" /></figure><p>If you’ve used React before, then I’m sure you’re familiar with unidirectional data flow and how it can be a bit of a hassle at times. The image below represents a React application and each numbered circle is a component. Imagine if you had to pass data from the state as properties from component 1 all the way down to component 8, and component 8 would like to update the state with new data. At this point or later when the application continues to grow, adding Redux would help to manage passing data and functions to other components. What are some other benefits of adding Redux to an application?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*T4ac93u2lxTaz92Fxw-z2A.png" /><figcaption>React Application</figcaption></figure><p>It’s fine and not impossible to build an application without Redux, but using Redux comes with a few benefits such as predictability, maintainability, and testability. Redux has a store (source of truth) that holds the application state. The image below represents an application that uses React and Redux. Component 6 connects to the store to have access to the application state and component 8 dispatches an action (a Javascript object) to the store to update the application state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*sAiFND0PhQOikcSpRUh69w.png" /><figcaption>React Application with Redux</figcaption></figure><p>All application state changes are made in the store. Reducers are pure functions that handle all changes made to the store. Using pure functions to update the application state helps keep an application predictable, because it will always return a new state and not mutate the previous state.</p><p>Introducing Redux to an application will help with maintaining an application. We remove the strong coupling of parent and children components, because we no longer need to pass properties from the very top of the application all the way down to the children components. This allows us to make necessary changes in a child component without having to make changes in every component connecting to the parent component. For example in the image above, if we needed to remove only component 6, we could just remove it and have component 5 take its place with connecting to the store and components 7 and 8.</p><p>Redux also helps with testability of an application. The store contains the application state and reducers handle updating the state. So, we are able to test the reducers which are pure functions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c394522b4e9e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/entelo/other-benefits-of-redux-c394522b4e9e">Other Benefits of Redux</a> was originally published in <a href="https://medium.com/entelo">Entelo Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Noob’s Tale]]></title>
            <link>https://medium.com/entelo/a-noobs-tale-6fd51a6c88f?source=rss-dbe93a9871f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fd51a6c88f</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Vandeth Nop]]></dc:creator>
            <pubDate>Tue, 20 Mar 2018 03:58:44 GMT</pubDate>
            <atom:updated>2018-03-20T03:58:44.279Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iRwo-bGqXZ-LIpgJIcteBg.jpeg" /></figure><p>Last year, I made a goal to learn how to program. Here we are in 2018 and it’s been a little over 60 days since I officially became a software engineer here at Entelo. I’ve been following a study plan that Entelo has provided me. The goal of the study plan is for me to become a proficient and contributing member of the engineering team. So far I have covered topics such as Ruby, Javascript, Testing, SQL, and Ruby on Rails. The study plan also includes working on features, bugs, and pair programming.</p><p>I have 30 more days of the program to go, but I have learned so much in such a short period of time. Every week, I read an entire book or finish a course on a different topic. My daily schedule varies, but my main focus is to learn and have a good understanding of the topic. I give presentations on topics that I have learned and I am also given tasks to complete that relate to what I am supposed to learn for the week.</p><p>I think the program is a great opportunity for future developers and I hope to provide some meaningful feedback to help improve the program for others. I’ll admit it isn’t easy, even after attending a coding bootcamp.</p><h3>I Believe That the Secret to Success is Knowing the Best Way for You to Learn.</h3><p>For me, I know my reading and comprehension skills are pretty good — I picked up the Ruby syntax and programming styles fairly quickly! The challenges came when I had to apply what I had learned from my readings. I knew I needed to get more practice in with SQL and the ORM used in Rails. I haven’t completed the book for this week yet, but I’ll be able to get more practice with the ORM as I complete the book and finish building the demo application.</p><p>I am comfortable programming in Ruby because I received a good foundation from the coding bootcamp. My next goals are to become more familiar with the Ruby syntax, learn about the gotchas of the programming language, and understand how the MVC architecture is used in the Rails framework.</p><p>The study plan has been great and I have learned a lot from reading and completing courses within the given time frame. But the most beneficial part of the program is being able to pair program with team members and the occasional conversations in the kitchen about the concepts I’m learning. I look forward to solidify my knowledge of Rails and to continue my growth as a software engineer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fd51a6c88f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/entelo/a-noobs-tale-6fd51a6c88f">A Noob’s Tale</a> was originally published in <a href="https://medium.com/entelo">Entelo Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Brief Tour of Classes in ES6]]></title>
            <link>https://medium.com/entelo/brief-tour-of-classes-in-es6-34c2022a02bf?source=rss-dbe93a9871f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/34c2022a02bf</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vandeth Nop]]></dc:creator>
            <pubDate>Sat, 24 Feb 2018 01:29:56 GMT</pubDate>
            <atom:updated>2018-02-24T01:29:56.917Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_rg7G3PiSMiwGT4WrTaLYw.jpeg" /></figure><p>JavaScript (JS) is a prototype based, multi-paradigm, and dynamic language. Classes were introduced in ECMAScript 2015 (ES6). You have probably heard or read somewhere that classes in JS are just syntactic sugar. We’ll compare two ways to build a class and a subclass to understand why.</p><p>The image below defines a Pet class with members (properties and a method). Another class is also defined, a Cat class with one member. The Cat class is a subclass of Pet, so the Cat class inherits all of the members from Pet and extends the Pet class with its own member. On line 23, the Cat class is instantiated and assigned to the variable pet1. On line 25, pet1 invokes the trick method. In class-based programming languages, pet1 is able to invoke the trick method because pet1 is an instance of the Cat class that inherited the trick method from its super class, the Pet class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wHn03zUu2w5jBjEH9FiwOQ.png" /><figcaption>Cats with classes</figcaption></figure><p>The image below is similar to the image above, but instead of using classes, constructor functions (functions used for creating objects) are used. The Pet constructor function has the same properties as the Pet class above. The trick method is added to the Pet’s prototype property. Another constructor function is defined, the Cat function. On line 44, the Cat’s prototype property is assigned to Pet’s prototype. On line 47, the Cat function is instantiated to create an instance and assigned to the variable pet2. On line 49, pet2 invokes the trick method. In JS, pet2 is able to invoke the trick method because of object delegation on the prototype chain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZFZsCNTWJJUXSFinAtiYlw.png" /><figcaption>Cats with pseudoclassical instantiation</figcaption></figure><p>So, what’s the difference? In class-based programming languages, pet1 is an instance of the Cat class and inherits all members from the class. The object pet1 is able to invoke the trick method because pet1 inherited the method from Cat class which inherited the method from its super class. Although the syntax makes it seem safe to assume that’s how pet1 invoked the trick method, it’s not. In JS, members are inherited through the prototype chain.</p><p>Each object has a prototype object. If an object does not have a method, then it will check the prototype chain until it reaches the prototype object that has the method or null. On line 49 of the second image, pet2 invokes the trick method. The object pet2 does not have the trick method because it did not inherit the method and it doesn’t have it defined. So, we look for the trick method on pet2’s prototype object which points to Cat’s prototype object and we can’t find it there either. Next, we look at Pet’s prototype object and find the trick method there. This example of walking up the prototype chain is known as object delegation and it is how pet1 and pet2 are able to invoke the trick method.</p><blockquote>The second image of implementing pet2 is what happens under the hood in JS of the first image of implementing pet1. There are no real classes in JS, there are objects that point to prototype objects, and members are inherited through object delegation on the prototype chain.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34c2022a02bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/entelo/brief-tour-of-classes-in-es6-34c2022a02bf">Brief Tour of Classes in ES6</a> was originally published in <a href="https://medium.com/entelo">Entelo Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My React to React-Native Experience]]></title>
            <link>https://medium.com/@vnop14/my-react-to-react-native-experience-52b0a1ea0159?source=rss-dbe93a9871f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/52b0a1ea0159</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Vandeth Nop]]></dc:creator>
            <pubDate>Wed, 12 Apr 2017 04:15:06 GMT</pubDate>
            <atom:updated>2017-04-12T04:15:06.534Z</atom:updated>
            <content:encoded><![CDATA[<p>People tend to ask React or AngularJS? As a novice Javascript programmer, I had no idea. I picked up React and I loved it, but the only benchmark I had was Backbone. When I picked up AngularJS I didn’t really have a preference, I was comfortable with both React and AngularJS. As soon as I started to use custom directives with AngularJS, they were the same to me. Plus, I didn’t really understand the difference between a library and a framework.</p><p>When I picked up React-Native, I realized how amazing React is compared to AngularJS. React is really simple, but it can be crafted in a complex way and the same goes for AngularJS. The “Ah-HA!” moment I had was when I followed the tutorial on a basic “hello world” app with React-Native. I noticed that I had to import React and Component from react, but I didn’t import ReactDOM from react-dom, instead I imported AppRegistry from react-native. At that moment, I was amazed that the React library can be used to develop web apps and native apps.</p><p>That’s it for now! I need to finish up my first awesome React-Native app! I’ll go over the details of React-Native next time, but if you’re curious about it, then I highly suggest to just dive in, as long as you have experience with React already.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52b0a1ea0159" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Pseudoclassical Instantiation]]></title>
            <link>https://medium.com/@vnop14/my-first-pseudoclassical-instantiation-20efc74cb8f3?source=rss-dbe93a9871f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/20efc74cb8f3</guid>
            <category><![CDATA[instantiation]]></category>
            <category><![CDATA[howtoinstantiate]]></category>
            <category><![CDATA[pseudoclassical]]></category>
            <category><![CDATA[cats]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vandeth Nop]]></dc:creator>
            <pubDate>Wed, 22 Feb 2017 06:32:40 GMT</pubDate>
            <atom:updated>2017-02-22T06:33:19.176Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re learning Javascript like me, then you’ve come to the right spot. You’ve searched and read all about pseudoclassical instantiation, but you just want to see an example of how to use it. So, here it is, how to instantiate something. It’s broken down, but if you just want the full code example, then just go to the last image on the bottom.</p><p>First, set things up. Lets make cats! I wanted to make pizzas, but most people love cats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*DX--ecuSo4yrqAp7PZ16AQ.png" /><figcaption>Mr. Cat</figcaption></figure><p>There’s our cat! Notice that the variable is capitalized, “Cat”. Our cat is black and it has a “speak” method that will console log it’s sound meow. It’s time to instantiate. So, say our cat has a son whom is a basic cat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*hGPZd8q31PAuy1TBbpSGwg.png" /><figcaption>Junior cat</figcaption></figure><p>There it is, an instance of our original cat. Notice that the variable is not capitalized, “cat”. This cat has the same color, sound, and speak method from his dad. I guess you can say the traits of basic cat were inherited from his Cat Daddy, our original cat. No one wants a basic cat, so lets make another type of cat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*aQEJ_rS3ZRHv0qO4DfpZgQ.png" /><figcaption>Big cat</figcaption></figure><p>Here it is, what you’ve been waiting for. A “FatCat” is still a “Cat”, but it just lives life differently from our original cat. Time to see this fat cat in action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*3wHZ8AFJR87vJvqsfgS4Lw.png" /><figcaption>Lazy cat</figcaption></figure><p>We now have a lazy cat (an instance of FatCat) that is blue and it can actually speak! How is a cat blue and how can it speak? Think about inheritance from “Cat” to “FatCat” to “lazyCat”. I hope this helped, but if you’re interested in a detailed technical view, then <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain">click here</a>. Below is all the code from above combined into one image.</p><p>Thanks for reading. Check back soon for more posts about Javascript, maybe I’ll do this with ES6 next time.</p><p>Full code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*OV8X64FMwnUPfJgs7gPpDg.png" /></figure><p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20efc74cb8f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>