<?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 Ryan Atkinson on Medium]]></title>
        <description><![CDATA[Stories by Ryan Atkinson on Medium]]></description>
        <link>https://medium.com/@rynatk?source=rss-bde44ff3f799------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rqM-9dXVhVkK4Zr9AizBWw.jpeg</url>
            <title>Stories by Ryan Atkinson on Medium</title>
            <link>https://medium.com/@rynatk?source=rss-bde44ff3f799------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 21:00:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rynatk/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[Next-Level Mobile App Debugging with a Network Proxy]]></title>
            <link>https://medium.com/theechobind/next-level-mobile-app-debugging-with-a-network-proxy-2422be8d969?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/2422be8d969</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Thu, 21 May 2020 18:06:34 GMT</pubDate>
            <atom:updated>2020-05-21T18:06:34.064Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wHQbplw4K_X2AM_iyT1FRQ.jpeg" /><figcaption>Diving in! — Photo by Stella Ribeiro on Unsplash</figcaption></figure><p>Working as a mobile app developer comes with a host of unique challenges, one of which is how to debug problems with production app builds. As hard as we work to prevent production-level problems, things will invariably go wrong at some point, and it’s important to have a plan of attack when they do. Today I want to share with you one of the most indispensable tools in my toolbox of mobile development: viewing mobile app network requests via a web proxy.</p><p>The gist is that by tethering our mobile device to a local computer, that from this computer we will be able to intercept and view all network requests made by the mobile application. This will help us cover some of the first bases of a production-level app bug: is the app making requests to the correct API environment, and is the API returning the expected payload? Some of the most common issues I see in this type of situation are that either the mobile app was built with the wrong ENV variables, or the target API environment hasn’t been updated with the latest changes from development.</p><p>There are two main tools I would recommend for this, Charles and Fiddler. I personally use Charles as it is the best option I know of for mac users, and my windows-based colleagues tend to use Fiddler. You can get Charles <a href="https://www.charlesproxy.com/">here</a>, and you can get Fiddler <a href="https://www.telerik.com/fiddler">here</a>. For this post I am going to use Charles to show a complete setup, however, the principles will be the same if you wind up using Fiddler.</p><p>Here are the general steps to follow to get everything set up:</p><ul><li>Install Charles and open the application.</li><li>Add target API URL to Charles SSL proxy settings.</li><li>Connect the device with mobile app via USB.</li><li>Install and trust Charles root certificate on mobile device.</li><li>Configure manual wi-fi proxy settings on mobile device.</li><li>Accept proxy request in Charles.</li><li>Make request from mobile device and view logs in Charles!</li></ul><p><strong>Install Charles and Open Application.</strong></p><p>This should be as straightforward as downloading the application from the Charles homepage.</p><p><a href="https://www.charlesproxy.com/documentation/welcome/">Charles</a></p><p><strong>Add Target API URL to Charles SSL Proxy Settings.</strong></p><p>By default, you won’t be able to view the details of the requests being intercepted by Charles. We will need to add each specific domain we are interested in inspecting in the SSL Proxy Settings.</p><p>Charles &gt; Proxy &gt; SSL Proxying Settings…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q18SdOTcfgmpoGb9d0L9bw.png" /></figure><p>From this window, add *.your-domain.com as the Host, and 443 as the Port. Here I do this for google.com below. The wildcard prefix lets me listen to any env-specific variants that may be using this particular domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*osZxcDUnE2JY0wJN_7jdjA.png" /></figure><p>Ok! Charles is configured to allow us to view any traffic hitting google.com. (From our computer itself or from a tethered mobile device, i.e. this was not a mobile-specific step.)</p><p><strong>Connect Device with Mobile App via USB.</strong></p><p>Go ahead and plug your mobile phone into your computer via USB. This will work whether you have an iOS or Android device.</p><p><strong>Install and Trust Charles Root Certificate on Mobile Device.</strong></p><p>This is a step you perform once and never have to do again, but the first time you intend to use Charles to proxy mobile network requests you need to first install and “trust” the Charles root certificate.</p><p>Navigate to this link and follow the instructions specified for the platform of your mobile device: <a href="https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/">https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/</a>.</p><p><strong>Configure Manual Wi-Fi Proxy Settings on Mobile Device.</strong></p><p>With the Root certificate trusted, we will now configure our mobile proxy.</p><p>Get the IP address of your machine. (You can do this on Mac by holding down “option” and clicking the wi-fi connection icon in the system tray.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*ACx3q7g8Y5FTukDPLWuPqg.png" /></figure><p>Now go to the “Wi-Fi Settings” of your mobile device, and select the wireless network that both your mobile device and computer are connected to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*aWs3qwKqr869z1QoDpgOtg.png" /></figure><p>On iOS, select “Configure Proxy” under the HTTP PROXY header at the bottom of the screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*clIf8YT8cadpJpOpt9kD4w.png" /></figure><p>Choose “Manual” and enter the IP address of your computer that we got earlier, along with 8888 for the Port, and leave the Authentication toggle off. Press Save to exit and apply these settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*iSviMZowpxR5B2NVhhZOTg.png" /></figure><p><strong>Accept Proxy Request in Charles.</strong></p><p>After adding the manual proxy settings, you will be prompted to allow the connection to the device from within Charles; choose Accept.</p><p><strong>Make Requests from Your Mobile Device and View the Logs in Charles!</strong></p><p>Now any network traffic coming from the apps on your mobile device will be logged in Charles, and you will be able to inspect the requests of any domains you have added to the SSL Proxy settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1bKijDT3QXT7I2jDrqWlTQ.png" /><figcaption>Showing the Twitter API calls while viewing Twitter in my mobile browser.</figcaption></figure><p>Boom! Now we can reliably access network request logs from any mobile app we are running. If you aren’t sure of what domains to inspect, just proxy without any domains configured in the SSL Proxy settings, grab the domains that look relevant from Charles, and then add them and restart the app.</p><p>With our proxy in place, we are able to quickly verify that our production app builds are making the requests to the correct environments and that API payloads and user credentials, etc. are all functioning as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*60HQ_C7KB0Ip7oV4X528qg.jpeg" /><figcaption>Now we can see below the surface! — Photo by Vlad Tchompalov on Unsplash</figcaption></figure><p>Some extra notes:</p><ul><li>Although I used an iPhone, you can do the same thing with an Android device. You can access the proxy settings for a particular wi-fi connection on an Android device by “long-pressing” the connection in the wi-fi settings. Adding the IP address as the server and using port 8888 will work the same.</li><li>Using port 443 for the SSL Proxy and 888 on the device proxy are defaults that should work without any additional configuration. If you have custom settings on your machine or network, you may need to modify these accordingly.</li><li>Please use this tool responsibly and never for any malicious purposes!</li><li><strong>Don’t forget to turn the proxy back OFF in your mobile phone settings after you’re done, otherwise, you aren’t going to be able to connect to wi-fi!</strong></li></ul><p>Let me know if you find this useful, and if there is anything that seems like it needs clarification!</p><h3><strong>Contributor’s Bio</strong></h3><p>Ryan is a Senior Software Engineer at Echobind. He lives in Saint Petersburg, FL. In his free time, he enjoys Brazilian jiu-jitsu, yoga, and watching indie films with his dog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2422be8d969" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theechobind/next-level-mobile-app-debugging-with-a-network-proxy-2422be8d969">Next-Level Mobile App Debugging with a Network Proxy</a> was originally published in <a href="https://medium.com/theechobind">Echobind</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GraphQL and Typescript: Revisiting an Echobind Case Study]]></title>
            <link>https://medium.com/theechobind/graphql-and-typescript-revisiting-an-echobind-case-study-9679e77d0fdc?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/9679e77d0fdc</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Tue, 07 Apr 2020 15:49:29 GMT</pubDate>
            <atom:updated>2020-04-07T15:49:29.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*0M3iW83mCluLCyemrEsR8A.png" /></figure><p>Today I’m reflecting on the synergy between GraphQL and Typescript, and how it’s helped us to write better code here at <a href="https://echobind.com/">Echobind</a>. I recently wrote a case study for a client of ours and detailed how valuable these two pieces of technology were for our success. Below, I summarize the essential nature of the client’s challenges, and how GraphQL and Typescript set us up for success.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eIbpHn5QSjf3kQUsDwtqww.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@lime517?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Joseph Greve</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>One of the core challenges of this project was the necessity for two separate applications, geared to serve two separate user demographics. Statistical data showed that one user group was typically a younger demographic in their 20s and 30s, and due to their comfort with technology and the mobile nature of their job, they would heavily favor a native mobile application. The other group tended to be a bit older and expressed a strong preference for a web application that would typically be accessed on a desktop computer in their home. The interactions between the native mobile app and the desktop web app would be numerous, as the app ecosystem needed to facilitate a number of features requiring input from both user roles such as messaging and interviewing. The challenge was how to ensure that the two applications communicated flawlessly from a technical standpoint while allowing developers to contribute to both platforms easily with minimal context shifting.</p><p>The solution came in the decision to use a GraphQL API for the backend architecture and to leverage a superset of Javascript known as Typescript for the frontend apps. One of the major reasons people use GraphQL over REST is when there are a number of preexisting REST APIs that are desired to be woven together. In this case, GraphQL is serving as more of a “middle layer” than a true backend. But is there ever a reason to use GraphQL as a true backend that accesses the underlying databases itself? We think so. The creation of a GraphQL API implicitly necessitates creating an organized “schema” of all of the data elements the backend provides and their hierarchical relations. This effectively serves as a “data contract” between the frontend and backend. This was useful on this project as it allowed developers to work on any portion of either frontend application, and to already be familiar with the underlying data structures since their implementation was uniform throughout. In short, GraphQL helped keep both frontend apps synced, and helped to keep developers sane as they contributed to both platforms.</p><p>While GraphQL ensured both applications were externally synced on the same relations with the backend, Typescript ensured that both applications were internally synced. Using Typescript and some additional tools (namely graphql-codegen), we took the GraphQL schema and converted it into a set of data “types” that were stored in the frontend codebases. By keeping the types in the frontend applications up to date, we ensured developers always had the latest data and documentation at their fingertips (by means of their editors TS plugins), and that many potential bugs would be caught before the code ever even compiled.</p><p>TL;DR:</p><ul><li>GraphQL’s typed schema helps keep multiple frontend applications synced with minimal context shifting for developers.</li><li>Using TypeScript on the frontend helped expose the GraphQL schema to developers as it was updated, keeping the code safe, and developers up to date on the latest data models.</li></ul><p>The outcome was a robust and scalable application ecosystem that provided seamless interaction between the various user roles on their separate application platforms. The usage of Typescript ensured bugs were minimal in quantity and significance in both the web and mobile applications, and the GraphQL backend provided a solid foundation for not only the first iteration of the ecosystem but many future iterations to come. Scalability, clear documentation, and strong typing are some of the things Echobind loves about GraphQL and TS and keeps us coming back to them again and again for our best work.</p><h3>Contributor’s Bio</h3><p>Ryan is a Senior Software Engineer at Echobind. He lives in Saint Petersburg, FL. In his free time, he enjoys Brazilian jiu-jitsu, yoga, and watching indie films with his dog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9679e77d0fdc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theechobind/graphql-and-typescript-revisiting-an-echobind-case-study-9679e77d0fdc">GraphQL and Typescript: Revisiting an Echobind Case Study</a> was originally published in <a href="https://medium.com/theechobind">Echobind</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native Fix: Jumping Screens in the React-Navigation TabNavigator]]></title>
            <link>https://medium.com/theechobind/react-native-fix-jumping-screens-in-the-react-navigation-tabnavigator-ab1a64801653?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab1a64801653</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Mon, 17 Feb 2020 16:32:27 GMT</pubDate>
            <atom:updated>2020-02-17T16:32:27.986Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRgazT-9wSqJ2H3Dc6Cdlg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@michelebit_?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Michele Bitetto</a> on <a href="https://unsplash.com/s/photos/glitch?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I recently went down the rabbit hole trying to fix an issue I was having with a seemingly simple react-navigation implementation of a TabNavigator. I followed the docs exactly and didn’t have anything out of the ordinary in my code (or so I thought). The issue was that every time I selected a new tab of the tab navigator, the screen would “jump” as it was rendering.</p><p>It looked like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*jtB9sAB60WtU4n14NLOFTw.gif" /><figcaption>Why is the screen jumping 😢</figcaption></figure><p>It would happen so fast that it didn’t seem like a big deal at first, but as the issue persisted it became an increasing frustration. I couldn’t find or think of anything that would cause this problem, and the GitHub issues page for react-navigation gave me no help either. Part of the issue was also that people would probably use a lot of different nomenclatures to describe the issue, whether it be “jank”, or “jumping” or “stuttering”. But the biggest issue was that I really didn’t understand the problem well enough to even compose a proper search for the solution…</p><p>After taking a QuickTime video of the screen jumping, and playing it in slow motion to see what exactly was happening, I noticed that the additional padding above the StatusBar was briefly disappearing during the jump. Interesting. This got me thinking about the usage of React Native’s SafeAreaView since that is what provides the additional padding on the top.</p><p>I looked at the official documentation, <a href="https://facebook.github.io/react-native/docs/safeareaview">https://facebook.github.io/react-native/docs/safeareaview</a> but there wasn’t anything interesting there. Searching the react-navigation documentation for “SafeAreaView” yielded this: <a href="https://reactnavigation.org/docs/en/handling-iphonex.html">https://reactnavigation.org/docs/en/handling-iphonex.html</a>.</p><p><em>👀 This section jumped out at me:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QUBCYXmZjX3cmXjkGVCVvg.png" /></figure><p>That sounded like exactly what I needed! forceInset=&quot;top&quot; But it also raised some additional questions… why is forceInset recommended by react-navigation, but not in the official docs? Why was it jumping at all if I’m only trying to leverage the insets that should be the default for a SafeAreaView? 🤔</p><p>Boom! I stumbled on to the <strong>react-native-community</strong> page for SafeAreaView, which differs from the primary documentation: <a href="https://github.com/react-native-community/react-native-safe-area-view">https://github.com/react-native-community/react-native-safe-area-view</a>. The react-native-community SafeAreaView <em>does</em> expose the forceInset prop, and documents it as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*cz8jx1dKl0N7ltfLI9WyjQ.png" /></figure><blockquote>Sometimes you will observe unexpected behavior and jank because SafeAreaView uses onLayout…</blockquote><p>YES. This is exactly what I was missing. The screen jumping was the “onLayout” call happening under the hood. The solution (as suggested by react-navigation) was to use forceInset=&quot;top&quot; to preload the top inset prior to the onLayout call. The other issue is that forceInset is not available on the SafeAreaView exported directly from react-native, but only on the one in the react-native-community package.🕵</p><p>With these changes in place our app looks like it should:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*bymHn0M4Num336WpsVINwg.gif" /><figcaption>No jumping!</figcaption></figure><p>In summary, when using SafeAreaView with the react-navigation TabNavigator, be sure to add the react-native-community SafeAreaView, and specify forceInsert=&quot;top&quot; on all of your tab screens.</p><p>I hope this helps some of my fellow react native developers!</p><h3>Contributor’s Bio</h3><p>Ryan is a Senior Software Engineer at Echobind. He lives in Saint Petersburg, FL. In his free time, he enjoys Brazilian jiu-jitsu, yoga, and watching indie films with his dog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab1a64801653" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theechobind/react-native-fix-jumping-screens-in-the-react-navigation-tabnavigator-ab1a64801653">React Native Fix: Jumping Screens in the React-Navigation TabNavigator</a> was originally published in <a href="https://medium.com/theechobind">Echobind</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A comparison of three methods for styling components in react-native.]]></title>
            <link>https://medium.com/theechobind/a-comparison-of-three-methods-for-styling-components-in-react-native-88ece2fdcdea?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/88ece2fdcdea</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[styled-components]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 15:30:57 GMT</pubDate>
            <atom:updated>2019-11-19T15:54:48.360Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Comparison of Three Methods for Styling Components in React Native</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8jd6FGSlT4tdZNxPPXeSg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@miabaker?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Mia Baker</a> on <a href="https://unsplash.com/s/photos/design?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Whether you are just starting out with React Native and trying to learn how styling works in a new ecosystem, or you’re just trying to catch up on all the latest CSS<em>-in-JS</em> buzz, you’ve come to the right place. I have worked on a number of React Native apps, and have used all of the most prevalent styling tools out there.</p><p>I’m going to share with you my own perspectives on each, and what I consider to be its pros and cons. Hopefully, by the end, you will have a better picture of the options available and can make your next styling tool choice from an informed perspective.</p><h4><strong><em>Stylesheets and the Style Prop</em></strong></h4><p>The place to start is going to be the “out-of-the-box” solution for styling components in React Native, the style prop. There are no .css files or classNames in React Native, but instead “style objects” are passed directly into the style prop of the components provided by React Native:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AOXH8OvtQxMg12X7bFtJoQ.png" /><figcaption>Styling a component via the style prop</figcaption></figure><p>Just from the trivial example shown, it’s clear that a major drawback of this approach is its verbosity, and how much physical space our style definitions can take up in our JSX. Also, there’s no strategy for code re-usability inherent in this approach.</p><p>React Native has a special tool, StyleSheet for defining styles outside of the JSX, and then using them by referencing the keys of the styles object that StyleSheet provides:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cVtkm5QucI-Ay2l_7dRu-g.png" /><figcaption>Moving styles into a Stylesheet</figcaption></figure><p>The keys of the StyleSheet are very similar to classNames in a traditional web context, which reduces the code profile in our JSX, as well as facilitates re-use of styles. Also shown in the example above is a pattern for updating styles based on props, which is an invaluable pattern in component development.</p><p>While stylesheets let us clean up our JSX and are generally a better practice, they still don’t solve code repetition between files unless you move your styles into centralized, external locations in your codebase. This then brings up another pain point of mentally remembering the styles contained in your stylesheet as you’re working in your JSX. While you can still have high-quality apps and clean codebases using these out-of-the-box tools, it is a somewhat mentally fatiguing process for writing and maintaining styles.</p><h4><strong><em>Styled-Components</em></strong></h4><p>Styled-components is the premier library for using CSS-in-JS. With styled-components, there are no stylesheets and no style props. We use template-literal strings to define CSS blocks within component definitions. The names of the components with the styles applied then lead to highly semantic JSX in our render method, aiding in the readability of our code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5pBqTrelqM3K-elteTODg.png" /><figcaption>Styling components with styled-components.</figcaption></figure><p>Note that we are no longer importing React Native component primitives, but instead accessing them from the styled object. Notice how we are now computing styles based on props. I find this pattern very useful for common UI states which follow an either/or pattern. We can also use the styled object as a function, to add new styles to an existing component:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZfdBODwAq-R6WCEBafE2WA.png" /><figcaption>Adding new styles to Container with ModifiedContainer</figcaption></figure><p>Styled-components isn’t the only library for providing this powerful CSS-in-JS utility; Emotion is also very popular. Styled-components make code easier to read, and easier to work with (in my opinion). The only real criticisms I have of styled-components are the lack of style re-usability and the corresponding bloating of our files with lots of verbose style definitions. Also, a cognitive bridge is still required in the developer’s mind between the name of the “styled” component and the styles themselves when working in the final JSX output.</p><h4><strong><em>Styled-System</em></strong></h4><p>So far neither of our styling options has provided us with a clear solution to an inevitable problem of a scaling codebase: style consistency. It is very common to define a central “theme” file with style values defined for different layout scenarios, but this is a lot of extra work for the developer to maintain and to enforce consistent usage. This is one of the issues styled-system solves.</p><p>The other issue styled-system solves is the one intrinsic in both the “stylesheet” and “styled-components” style methodologies: when working on styles, a cognitive map needs to be held between the style objects and the JSX. Ironically, styled-system can almost be viewed as a step <em>backward,</em> to having the styles defined directly within the style prop object of our primitive React Native component JSX.</p><p>Styled-system is, in essence, a toolkit that allows you to overload components with extra props that represent subsets of available CSS styles, and to parse those values from a centralized provider. This allows you to apply styles directly as props in your JSX, as well as use special shorthands that compute to values in your theme definition.</p><p>Styled-system requires a bit of setup and actually requires that you add a CSS-in-JS library as well (such as styled-components or emotion). It would be more accurate to think of styled-system as a super-layer on top of styled-components, or whatever CSS-in-JS library you prefer. The first thing you would do is to define a new styled-system component, which overloads an existing component with new style props:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NHmaIWM41Nz4tE21rABbBA.png" /><figcaption>Creating a new styled-system View component</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KHPSGIj5kYXEo18Zaank_w.png" /><figcaption>Creating a new styled-system Text component</figcaption></figure><p>And then back in our component, we can import the new Container, as well as the similarly overloaded Text component, and start using the <em>style props</em> provided by styled-system:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YQi7gLIJta2x0JCUG_MooA.png" /><figcaption>Adding styles directly as component props</figcaption></figure><p>I can understand if this method of styling is off-putting to those who are attached to the lean and concise JSX provided by styled-components, however, in my experience this method allows for much faster development speeds than either of the previous methods. The syntax is easier to write than the inherent style-objects of React Native and keeps our styles in the JSX itself, so less “mental-bridging” is required.</p><p>Notice the bg prop on the Container. This is shorthand for backgroundColor, and just one of many shorthands provided by styled-system. In practice, I typically only define a few “primitive” components which receive my styled-system props and build all other components from these few. A potential criticism is the mixture of style and data props. In actual usage, however, I find it is actually quite clear which props represent styles and which represent actual component data. “Primitive” components will be loaded with style props, while my more complex components will primarily be receiving data props.</p><p>Another amazing feature of styled-system is the combination of theming with the custom style props. Utilizing the ThemeProvider from styled-components (or emotion), we can predefine scaling values and then access them with shorthand syntax provided by styled-system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r6WP__A3v8uH3wr5EEywPw.png" /><figcaption>Wrapping our component tree in a ThemeProvider</figcaption></figure><p>Notice in our theme we define a space array, which contains a set of integers. These will be the values that the ${space} props from styled-system pull from. These will translate to the padding and margin values on our styled-system component:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bsBKjKElJTP7IrL7zV7gKA.png" /><figcaption>Accessing the “space” values of our theme in the padding and margin shorthand props</figcaption></figure><p>Note the p and m props on the inner Container. These are shorthands for padding and margin (similar to bg). When we give them a value less than the length of the space array in the theme, it will pull the value at that index from the theme; otherwise, it will use whatever you pass in.</p><p>i.e. p={4} will compute to theme.space[4], while p={30} will just be 30.</p><p>Styled-system makes component development <em>fast</em> while making theming <em>easy</em>. Styled-system is also very flexible. You can use it without a theme, and you can opt-out of using the shorthand style props in favor of the more conventional style names. Any way you use it though, once you get past the small initial learning curve, I find that this facilitates very rapid UI development.</p><h4><strong><em>Bonus: Boolean Style Props</em></strong></h4><p>Disclaimer: This technique is my own creation and not at all endorsed by any of the aforementioned libraries ⚠️.</p><p>Boolean style props are a styled-system meta-pattern that resulted from looking at my code and seeing the same groups of styles applied over and over. You can think of them as being similar to “global CSS classes”. For instance in React Native, where everything is a flexbox, I found that the vast majority of all of my layout components received the same set of props:</p><pre>flex={1}<br>width=&quot;100%&quot;<br>justifyContent=&quot;center&quot;<br>alignItems=&quot;center&quot;</pre><p>Since one downside of styled-system is the same downside of the inherent React Native style props, JSX bloating, I decided to make these applicable via some extra shorthand props on my Container component:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yqdZ05OXYlnpshnBn5ykoA.png" /><figcaption>Adding boolean style props for globally-accessible, predefined style chunks</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MZ9zkuOZ-purv-wbpNSsEg.png" /><figcaption>Using our new boolean style props for clean code</figcaption></figure><p>I find that with this custom pattern in place for any heavily repeated styles, the resulting JSX becomes nearly as clean as that provided by a pure styled-components implementation. If you really liked this pattern you could add as many custom styles as you wanted to, but personally I strive to add as <em>few</em> as possible. Also, I keep them completely devoid of app context and make sure they stand in abstraction. For example, I would make a blueBackgroundprop, but not a homepageBackgroundprop. This ensures styles remain robust and reusable.</p><h4><strong><em>Closing Notes</em></strong></h4><p>Arguments can be made for all of the component styling methods that have been discussed, but at the end of the day, I would recommend just trying them all and seeing what works best for you. Each will come with its own tradeoffs, and it’s up to you to decide which you’re ok with. Maybe you just want to leverage as few external libraries as possible and the out-of-the-box utilities are good enough for you. Or you want the benefits of styled-components, but styled-system is more structure than you need. I know when I went to go setup styled-system the first time I was deeply irritated at having yet <em>another </em>js library that I had to figure out, but once I started building things with it I couldn’t imagine ever going back.</p><p>I hope that you found something in this post useful or informative. Let me know what your take is in the comments below, or on twitter @rynatk! You won’t be the first person to call me crazy for my boolean style props 😆</p><p><strong><em>Documentation links for setting up and using the referenced libraries:</em></strong></p><p><em>Stylesheet (facebook):</em><br><a href="https://facebook.github.io/react-native/docs/stylesheet">https://facebook.github.io/react-native/docs/stylesheet</a></p><p><em>Styled-components:</em><br><a href="https://www.styled-components.com/">https://www.styled-components.com/</a></p><p><em>Styled-components for react-native:</em><br><a href="https://www.styled-components.com/docs/basics#react-native">https://www.styled-components.com/docs/basics#react-native</a></p><p><em>Emotion:</em><br><a href="https://emotion.sh/docs/introduction">https://emotion.sh/docs/introduction</a></p><p><em>Emotion for react-native:</em><br><a href="https://emotion.sh/docs/@emotion/native">https://emotion.sh/docs/@emotion/native</a></p><p><em>Styled-system:</em><br><a href="https://styled-system.com/">https://styled-system.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88ece2fdcdea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theechobind/a-comparison-of-three-methods-for-styling-components-in-react-native-88ece2fdcdea">A comparison of three methods for styling components in react-native.</a> was originally published in <a href="https://medium.com/theechobind">Echobind</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Common Conditional Rendering Bug in React Native]]></title>
            <link>https://medium.com/theechobind/a-common-conditional-rendering-bug-in-react-native-8bbbc400abd8?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bbbc400abd8</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[mobile-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Tue, 22 Jan 2019 16:56:25 GMT</pubDate>
            <atom:updated>2019-01-22T16:56:25.295Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been developing with react native for a couple of years now. Along the way I’ve encountered numerous little quirks to the development process that you get used to. These include some best practices, as well as “no better option” practices, but there’s one matter I consistently find myself commenting on in pull requests that I’d like to share with you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HP0pVfnI8aeW4VYkoa20EQ.png" /><figcaption>BAD: Conditionally rendering text with the &amp;&amp; operator.</figcaption></figure><p>In the snippet above, we have a &lt;Text&gt; component conditionally rendering based on the “truthiness” of its string value contents, potentialTextValue. This is a common React pattern and is perfectly fine. The problem however, is that in React Native, rendering a string, even an empty one, outside of a &lt;Text&gt; component is bad news. If you’re familiar with the &amp;&amp; operator, then you know when potentialTextValue === &#39;&#39;, the expression in the snippet will evaluate to &lt;View&gt;&#39;&#39;&lt;/View&gt;. Boom, we just crashed our app 💥.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*aNtHnnkROtmeMLhU8I8aDA.png" /><figcaption>Crash city.</figcaption></figure><p>Ok, this all makes sense, “so what is the big deal?”, you ask me. If our logic was going to lead to an app crash, then surely we’d see this in development. <em>Well, maybe.</em> The problem is that depending on your react native package version, this may not actually crash iOS. If you have someone primarily developing on iOS, they could easily write this code and everything would seem fine, only to fire up the Android build and see it crash.</p><p>(NOTE: as of the writing of this react-native: &quot;0.57.8&quot; will correctly crash when evaluating an empty string outside of a Text component on iOS. This issue primarily affects users still on react native 0.56 and below.)</p><p>If you want to be safe, make these two small tweaks to protect your conditional renders:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JYZxAtTJlm3-2IfDUvroOA.png" /></figure><p>You can easily use type coercion or a ternary to be more explicit about the fallback return value, circumventing the issue entirely. This is the small suggestion I find myself making in pull requests. As I mentioned, if you’re on react-native 57 or greater, you will likely catch this before it becomes an issue, but for everyone on an older RN version, I find this is surprisingly common in pull requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U3xqid0eW1y0dcb0nPUr1A.jpeg" /><figcaption>Voila; safe renders. Photo by <a href="https://unsplash.com/photos/YPPc0SyEYKc?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">William Moreland</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>This is the original conversation if you’re curious:</p><p><a href="https://github.com/facebook/react-native/issues/20764">APP crashes on android when &quot;&amp;&amp;&quot; used in JSX · Issue #20764 · facebook/react-native</a></p><p>Thanks for reading 🤗. If this blog post prevents one app crash, then I did my job. Let me know if you have any “gotchas” like this in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bbbc400abd8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theechobind/a-common-conditional-rendering-bug-in-react-native-8bbbc400abd8">A Common Conditional Rendering Bug in React Native</a> was originally published in <a href="https://medium.com/theechobind">Echobind</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ChainReact 2018: Seeing the Bigger Picture]]></title>
            <link>https://medium.com/theechobind/chainreact-2018-seeing-the-bigger-picture-9665c456d0cd?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/9665c456d0cd</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[mobile-development]]></category>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Thu, 09 Aug 2018 15:06:20 GMT</pubDate>
            <atom:updated>2018-08-09T15:06:20.285Z</atom:updated>
            <content:encoded><![CDATA[<p>My lasting thoughts and takeaways from ChainReact 2018.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oyE2ivc1Uq2rreKx9PldqA.jpeg" /></figure><p>Hey everyone! It’s been a few weeks since ChainReact 2018 and the talks are all available <a href="https://www.youtube.com/playlist?list=PLFHvL21g9bk1skdjnKVGXREDmP_HVDj-u">online</a> now. I felt it was a good time to talk about the personal impact the conference had on me, what my biggest takeaways were, and how I feel it helped me break some boundaries as a developer.</p><p>Foremost, the conference was awesome. You really get the sense that everyone at Infinite Red put their heart and soul into this thing. I went in expecting some swag booths and some technical talks, but was impressed to find a convention that was clearly born out of a deep passion for the library and its potential.</p><p>The speakers were superb, with talks that educated , entertained, and inspired. I’ve been making an effort to employ something from each talk in a project at work each week since the conference. Furthermore, the talks highlighted the diversity of the individuals who are working with React-Native. Everyone brought something different to the convention that was fueled by the underlying interests and experience of the presenter. More-so now than ever, I have the sense that the best thing I can do as a React-Native developer isn’t to follow what everyone else is doing, but rather follow where my own interests take me and then share that with the community.</p><p>This conference helped me to see the thought leaders of the community for what they really are: people. I got to talk to Twitter legends like Kent C. Dodds in person, and realized that with a little hard work, anyone can achieve that status. How to get there? Share everything. Share experiments, questions, and solutions with the community. I feel a call to arms to be more vocal online about my own views and experiences as a developer.</p><p>For some background, I have worked with React-Native almost every working day for the past year. I remember my first days working with it after transitioning from React web apps wrapped with PhoneGap. My first exposure was a single project we had in-house at a previous company. The best practices I learned were what was in that codebase. The only people I worked with in it were three other JS devs. Today, I feel like I have the tools and connections to be working with the minds at the forefront of the community.</p><p>I see now how diverse the backgrounds of developers are that come to React-Native. There are more and more developers coming into it from iOS and Android backgrounds, and they are forcing React-Native to be held to a higher standard. Likewise, those of us from JS backgrounds have an increasing responsibility to learn more about native architectures in order to be effective mobile developers.</p><p>Building off of the momentum of the conference, just a couple weeks ago I was asked to teach a crash course at a local community <a href="https://www.meetup.com/suncoast-developers-guild/">meetup</a>. I saw it as the perfect opportunity to exercise some of the empowerment I experienced at the conference, and share with my local community. I’m teaching a crash course on React-Native here in Tampa, FL on Aug. 29.</p><p>See you there!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9665c456d0cd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theechobind/chainreact-2018-seeing-the-bigger-picture-9665c456d0cd">ChainReact 2018: Seeing the Bigger Picture</a> was originally published in <a href="https://medium.com/theechobind">Echobind</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Secret Art of Effective Developer Mentorship]]></title>
            <link>https://medium.com/theechobind/the-secret-art-of-effective-developer-mentorship-22109ab6127e?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/22109ab6127e</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[mentorship]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Thu, 26 Apr 2018 13:38:27 GMT</pubDate>
            <atom:updated>2018-04-26T13:38:27.426Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Di0cySFEMSbsKWyWd4XLdg.gif" /><figcaption>These people are doing kung-fu, not developing software.</figcaption></figure><p>Developer mentorship has become an afterthought in the tech world. Project budgets are tight, and senior dev hours ain’t cheap. Besides, developers like to learn in their free time. Couldn’t they just teach themselves? While it’s true that there are countless coding education resources available online these days, teaching coding patterns was never what mentorship was about to begin with. Or at least not what I see as its significance today.</p><p>Developer mentorship isn’t so much about transferring technical information as it is building a supportive relationship. I’ll say that word again: relationship.</p><blockquote>Relationships are the essence of mentorship.</blockquote><p>Junior developers experience a myriad of perfectly normal feelings such as inadequacy and self-doubt. A good mentor doesn’t solve their problems for them, but gives them the reassurance they need to solve them on their own. Maybe even an occasional breadcrumb of a solution. But when it comes to PR review time, they don’t hold anything back. 🔥</p><p>The key is that when junior developers inevitably find themselves in the weeds, a mentor doesn’t come with a weed-wacker, he comes with a glass of lemonade.</p><p>So how does one become this coding saint you’ve described?</p><p>Well, 5 Tips:</p><ol><li><strong><em>Sacrifice your own time to mentor others; don’t rely on project management to allocate explicit mentorship time.</em></strong></li><li><strong><em>Always assume junior developers knows less than they say. We all have a tendency to say “I know” even when we don’t. In general, be overly communicative.</em></strong></li><li><strong><em>Transparency. Be honest when you don’t know something yourself, and share your own failures. Share your honest viewpoints. Share all of your development habits without reserve.</em></strong></li><li><strong><em>Focus on the relationship more than the task. “How are you”, not “how’s the project”? Let them know that they aren’t alone, no matter where they’re at.</em></strong></li><li><strong><em>Challenge them but don’t torture them. Calm seas never made a skilled sailor, but we don’t need anyone drowning. It’s OK to intervene with some coding help if they are legitimately in over their heads.</em></strong></li></ol><p>I have firsthand experience with this formula, and I have seen its benefits. I have even made friends that transcended roles at work and ultimately became a local network of supportive co-developers. As my first mentor once said, “Be the change you want to see.” …Okay, Ghandi said it too.</p><p>I hope some of this article resonates with you. Reach out to me directly and let me know how you’ve been able to incorporate these tips into your mentorship efforts!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22109ab6127e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/theechobind/the-secret-art-of-effective-developer-mentorship-22109ab6127e">The Secret Art of Effective Developer Mentorship</a> was originally published in <a href="https://medium.com/theechobind">Echobind</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Initial Reactions to React.js]]></title>
            <link>https://medium.com/@rynatk/initial-reactions-to-react-js-9fa62413ee3c?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fa62413ee3c</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Tue, 06 Oct 2015 23:03:41 GMT</pubDate>
            <atom:updated>2015-10-06T23:04:03.178Z</atom:updated>
            <content:encoded><![CDATA[<p>Sorry all, this is another “homework assignment” blog post. I promise I’ll add some non-academic content here at some point. Yep, just good old fashioned opinions.</p><p>Anyways, I’d like to share some of my initial feelings about the new Javascript framework I am about to begin learning, React.js. Gut instinct: this is going to be an awesome tool to use and I am looking forward to it.</p><p>Upon glancing at some sample React code, it seems quite simple actually. It reads like basic Javascript, and feels like like the typical Backbone-Views I am now somewhat comfortable with. It also touts a simpler method of interacting with html elements (JSX). I am very much looking forward to throwing the string concatenation of html elements and data into the trash.</p><p>That small, side-feature is actually what I am most excited about, but that is by no means the main selling point. The biggest advent is this whole concept of a Virtual DOM, with highly optimized, whole-app re-renders for every data change. (Having written more code than human-speak lately is taking a toll on my English.)</p><p>This is the mechanism that makes Facebook work like Facebook (and why React was made in the first place.) Now, this sounds cool, but it doesn’t have a lot of practical application on my homework assignments, so I’m not quite as excited about it. I imagine I’ll gain more appreciation for it as the type of work I am doing becomes more suited for it.</p><p>Keeping my hopes up that React is as simple to use as it seems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fa62413ee3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Weeks as a Student with The Iron Yard]]></title>
            <link>https://medium.com/@rynatk/three-weeks-as-a-student-with-the-iron-yard-aa005bfd076a?source=rss-bde44ff3f799------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa005bfd076a</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Ryan Atkinson]]></dc:creator>
            <pubDate>Wed, 16 Sep 2015 02:21:36 GMT</pubDate>
            <atom:updated>2015-09-16T02:21:36.124Z</atom:updated>
            <content:encoded><![CDATA[<p>Three Weeks as a Student with The Iron Yard</p><p>I have spent the last 3 weeks as a front-end web development student with The Iron Yard — St. Petersburg. I wanted to write a quick passage regarding my current state of thoughts and feelings as a student in a 12-week, intensive “code-camp”. To preface, overall I feel quite good about how things are going. That being said, I am experiencing sporadic thoughts of doubt and fear trickling through my headspace. I think that my fellow cohort members are experiencing a similar mindset to this, more or less: “more-than-tenuous but less-than-rock-solid optimism”. (Sorry, I don’t feel like putting forth the effort to find the perfect word.)</p><p>I have learned a great deal already. I was just thinking earlier that at this point I am proficient enough in JavaScript, HTML, and CSS to add them to my LinkedIn. I could even stretch it a little and add JQuery. (And Github if that’s considered a skill.) I have had a lot of success so far. Javascript was very easy for me to pick up, as all of the concepts we touched I had already been exposed to via a college level C++ course. HTML/CSS were nightmarish for me initially however, as I realized they were “scripting” and not “programming” languages. Learning HTML/CSS is akin to learning a tool, like PhotoShop maybe, that has no GUI. I couldn’t “think” my way out of my problems, I had to simply “learn” how things were done. This whole dynamic has been such a new concept to me that I have questioned my decision to go front-end instead of back-end. I definitely get the most pleasure out of constructing functional, logic based solutions to problems. i.e. coding (i.e. not scripting).</p><p>My doubts regarding my chosen track have been further compounded by the “separate tribes” dynamic of the classes in the Iron Yard. Back-end students have gone as far as to make and wear t-shirts saying “CSS Sucks” into the school. That’s fine, the Ruby (back-end) students don’t have to like something that I barely like, and chose to do. But it’s a little close-minded and unconducive to a learning environment to be proclaiming that mindset. I almost feel bad for CSS itself. People practically worship Ruby while even CSS students barely stand up for it. But for all of its unpleasantries, the final products that can be made with CSS are extremely gratifying. Some famous writer who I am too lazy to look up said: “Writing sucks, but it is a great thing to have written.” Maybe I’d be more content if some of the back-end students at least admitted it is a great thing to have CSS’ed.</p><p>I think that ultimately I will learn Ruby as well on my own after completing front-end. I want to learn everything I can about coding. Writing code is mentally nourishing to me in a way I have longed for for quite some time. I am coming from a 4-year degree and a 9 month job in civil engineering where the professional culture is surprisingly unintellectual. I am very happy to be establishing a new professional identity as a programmer and web developer. Its a much more comfortable identity for me to wear. But I can’t learn everything in 3-months. And we are getting material dumped on us faster than we can hope to completely understand it. Some days I feel like everything is coming together and I actually have some sort of competency developing, and then the next day a new door opens and I feel like I am completely lost again. But this environment is pushing me to new levels that I would not have been able to go to on my own, at least certainly not in three weeks.</p><p>Before this becomes too rambly or tangential to the topic, I am very happy with my decision to come to the Iron Yard. I came in with a healthy skepticism but I feel reassured in the fact that the atmosphere is very genuine, and the people here want nothing more than for all of us to succeed. It’s difficult, and at times defeating, not because the instructors are negligent or sadistic, but because we are being exposed to things as they really are. Our assignments are reasonably difficult, without being too hold-your-hand’y. The feeling of “more-than-tenuous but less-than-rock-solid optimism” is exactly how we are supposed to feel. It simultaneously reaffirms that what we are facing is a real challenge, but that we are capable of everything that gets thrown at us.</p><p>Thanks for reading!</p><p>-Ryan Atkinson</p><p>(Not featured in this blog, yet worth considering: the delicate balancing act of wanting to go the extra-mile to complete “adventure-mode” assignments, yet choosing to forgo in order to maintain sanity, despite the subsequent nagging guilt and ego bruising.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa005bfd076a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>