<?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 Cory Rylan on Medium]]></title>
        <description><![CDATA[Stories by Cory Rylan on Medium]]></description>
        <link>https://medium.com/@coryrylan?source=rss-c2f4eb731d6e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NciisbW3Giogw0L3lFWGZg.jpeg</url>
            <title>Stories by Cory Rylan on Medium</title>
            <link>https://medium.com/@coryrylan?source=rss-c2f4eb731d6e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:14:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@coryrylan/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[Design System Performance with Clarity Core Web Components]]></title>
            <link>https://medium.com/claritydesignsystem/design-system-performance-with-clarity-core-web-components-fbab56516f30?source=rss-c2f4eb731d6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbab56516f30</guid>
            <category><![CDATA[web-components]]></category>
            <category><![CDATA[clarity-design-system]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Cory Rylan]]></dc:creator>
            <pubDate>Thu, 08 Oct 2020 21:12:55 GMT</pubDate>
            <atom:updated>2020-10-08T21:12:55.782Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWHoSOaeuk0kjFnNVQtd1w.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@chrisliverani?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Chris Liverani</a> on <a href="https://unsplash.com/s/photos/gauge?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Design Systems serve as a foundation for consistent and accessible user interfaces. Components within a design system can also serve as a foundation for the performance of a UI. With <a href="https://clarity.design/storybook/core">Clarity Core</a>, our Web Component library, we wanted to ensure we kept components lightweight to continue a high standard of performance as we develop new components.</p><p>Creating fast user interfaces on the Web is no easy challenge. The same challenges apply to any UI component library. With the <a href="https://medium.com/claritydesignsystem/clarity-core-72f6d3a029bc">development of Clarity Core</a>, we identified the following key concepts to help keep Clarity’s performance on track.</p><ul><li>Dependency Management</li><li>Modern build targets</li><li>Tree shaking (Components, Icons, CSS)</li><li>Bundling and CDNs</li><li>Rendering</li><li>Measuring and Automation</li></ul><h3><strong>Dependency Management</strong></h3><p>Excessive JavaScript is one of the largest contributors to slow Web applications today. With Clarity Core, we take careful consideration when using an external dependency.</p><ul><li>Can this be accomplished with something existing in the Web platform today?</li><li>Is this utility tree-shakable and side effect free?</li><li>Can we guarantee it does not change the public API of our components?</li><li>Is the kbs cost worth the value?</li></ul><p>Clarity Core uses only a few critical dependencies such as <a href="https://lit-element.polymer-project.org/">lit-element</a> to make it easy to build and maintain Web Components.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/882bdf6a398c3a7d44d7a59fc657eccb/href">https://medium.com/media/882bdf6a398c3a7d44d7a59fc657eccb/href</a></iframe><p>The direct dependencies are all internal in Core and not exposed in any public API. By keeping dependencies internal, we can help ensure long term stability with the component APIs. The optionalDependencies allow applications to choose if a particular dependency needs to be installed. Keeping polyfills an optionalDependency teams can conditionally load them as needed for their target browser support.</p><h3><strong>Modern Build Targets</strong></h3><p>For Clarity Core, we ship the latest es2015+ JavaScript code. Core does not ship ES5 or UMD style bundles. This choice is for maintainability and performance. By shipping modern JavaScript as the default, we can significantly reduce the amount of code sent to the client. By providing a modern JavaScript source, applications start with the lightest option and can optionally downgrade to ES5 for older browser support. This strategy gets us the broadest amount of tooling support in the JavaScript ecosystem.</p><p>For applications that need to target ES5 browsers, the code can be consumed and transpiled with Babel or TypeScript. Many framework tools like the <a href="https://angular.io/guide/deployment#differential-loading">Angular CLI have this ability built right in</a>.</p><p>To learn more about the details of packaging Web Components, I highly recommend these two articles:</p><ul><li><a href="https://open-wc.org/publishing/">https://open-wc.org/publishing/</a></li><li><a href="https://justinfagnani.com/2019/11/01/how-to-publish-web-components-to-npm/">https://justinfagnani.com/2019/11/01/how-to-publish-web-components-to-npm/</a></li></ul><h3><strong>Tree Shaking Web Components</strong></h3><p>Tree shaking is a concept where a build process removes unused code from a final build output. When using a comprehensive design system like Clarity, you may only use a subset of its components. When this happens, we want only the used components end up in your final output shipped to the client. Removing or tree shaking this unused code can significantly improve the startup time of an application.</p><p>To promote tree shaking, we have organized Core to have multiple entry points. Multiple entry points mean there is more than one starting location to import from in a package. Example, a single entry point library may look like the following:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a55362e02e946c200fb4a99df6d89ff0/href">https://medium.com/media/a55362e02e946c200fb4a99df6d89ff0/href</a></iframe><p>In many cases, this works; however, if we split this into smaller entry points, we can help promote patterns that will improve tree-shaking.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec47936bae95e58c95f2da78ee076345/href">https://medium.com/media/ec47936bae95e58c95f2da78ee076345/href</a></iframe><p>Each component has its own entry point enforcing a hard and clear boundary between components. This boundary helps prevent accidental bundling situations since the components are not referred to in the same entry point file.</p><p>If there is code we need to share between component boundaries, we move it to our internal @clr/core/internal package. This entry point allows us to safely share internal code between component boundaries and encourage code de-duplication at build time.</p><h3>Side Effects</h3><p>Many libraries and even some applications will have a sideEffects key defined within their package.json.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b5adc4bf28ed189ba45b825bef6126ed/href">https://medium.com/media/b5adc4bf28ed189ba45b825bef6126ed/href</a></iframe><p>This flag signals bundlers like <a href="https://webpack.js.org/">Webpack</a> and <a href="https://rollupjs.org/">Rollup</a> only to keep code that is exported and used within other modules. This optimization can further reduce the overall bundle size of your applications. However, JavaScript modules natively support side effects. So what is a side effect? A side effect is produced whenever a piece of JavaScript code executes and changes state outside of the executed function. Let’s take a look at this example:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/343804889f524043ced412b1d04dae30/href">https://medium.com/media/343804889f524043ced412b1d04dae30/href</a></iframe><p>This file, we have a variable statement, a console log, and two exported functions. With the sideEffects: false flag a bundler will bundle the add() and sub() functions if used in another module. However, the console log and variable will be removed from the final build output. The log and variable are side-effects or code that do work outside the scope of being statically exported.</p><p>With side effects set to false, the bundlers must assume the default JavaScript behavior and include everything in the file/module. That means if you only use the add() function in your application, the bundler will still include sub().</p><p>With our Web Components, we want the optimal performance, but there is a bit of a wrinkle in our sideEffects: false plan. We have to register our components to the custom elements registry to use the in the DOM. The act of registering a component is a side effect, so if we use sideEffects: false in them, our components will never be registered.</p><p>So how do we get around this? We move the side effects into a single register.js file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2048c668baead6f8e6a96142e7e939f4/href">https://medium.com/media/2048c668baead6f8e6a96142e7e939f4/href</a></iframe><p>By moving the side effect of registering our Web Component, we allow the rest of the library to be fully tree shakable and side effect free. We can tell bundlers that we have only one specific side effect file in our package.json.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/48a8d2e1968c5105947431a2507181de/href">https://medium.com/media/48a8d2e1968c5105947431a2507181de/href</a></iframe><p>Now, as a user of Clarity, you can import the registration statement to use the component and still get advanced tree shaking capabilities.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c0cb73688010171aa6866a58e74e2a3/href">https://medium.com/media/4c0cb73688010171aa6866a58e74e2a3/href</a></iframe><h3><strong>Tree Shaking Icons</strong></h3><p>With Clarity Core, we have extensive strategies in place to ensure your final build only includes the components that you use. We can take it one step further and tree shake at the symbol level.</p><p>A symbol is anything imported through an import statement. Most build tools like Webpack and Rollup rely on import statements to safely determine what code can or should not be bundled.</p><p>By relying on this behavior, we can improve our icons API to promote tree shaking. With almost 500 icons, we want only the icons you use to make it to the final application build. Including all icons would cause users to download hundreds of kb of embedded SVG in your application. By supporting tree shaking at the icon level, performance can improve as less JavaScript is needed to be parsed on application startup.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/16304d6840d0f1c691a845f4b1857aee/href">https://medium.com/media/16304d6840d0f1c691a845f4b1857aee/href</a></iframe><p>By leaning on the side effect free behavior we discussed earlier, a bundler can safely assume only the ClarityIcons service and two icons are used. This explicit import of the icons used within your application allows Webpack or Rollup to safely drop the other 400+ icons from the final production bundle saving hundreds of kbs of JavaScript from having to be sent to the client.</p><p>You can start <a href="https://clarity.design/storybook/core/?path=/story/components-icon-getting-started--page">using Core Icons today</a> within your existing applications, even if you currently use the @clr/icons package.</p><h3><strong>Bundles and CDNs</strong></h3><p>Along with shipping modern, side effect free JavaScript, we do not bundle or minify the source code. This may seem counter-intuitive at first but bundling and minification are application concerns. These optimizations work better at application-level tooling as these tools can understand all dependencies of the entire application.</p><p>Bundling code at the library level can cause dependencies to become difficult to tree shake or de-duplicate in the final build. By keeping everything as plain modern ESM, most bundlers can better optimize your usage of library code.</p><p>By not bundling, we also open the door for the first time to support build-less versions of Clarity. When we keep the source unbundled, we can use native ES modules via a CDN. Using native ESM, the browser can natively load only the modules required with no bundler or build step.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6bc1a2358f169e51c1ce87c0383a0f8/href">https://medium.com/media/f6bc1a2358f169e51c1ce87c0383a0f8/href</a></iframe><p>Prototyping with Clarity has never been easier with CDN support. Check out <a href="https://skypack.dev/">https://skypack.dev/</a> or <a href="https://unpkg.com/">https://unpkg.com/</a> for more details on ESM support.</p><h3><strong>Global and Utility CSS</strong></h3><p>Another significant performance improvement with Clarity Core is our global CSS payload size. Component CSS is inlined within the component. This means that, if you use the button component, the button component CSS is included within the JavaScript. This allows us to significantly reduce the amount of global CSS needed.</p><p>To use the global CSS in Clarity Core, you can import the global file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/269e5f91b80d61e1c76b0122b10aafe1/href">https://medium.com/media/269e5f91b80d61e1c76b0122b10aafe1/href</a></iframe><p>The global stylesheet provides a basic Clarity specific reset, CSS Custom Variables, layout utilities, and typography utilities. Together these total to a final bundled, minified, and compressed output of ~7kb.</p><p>If you only want a subset of these utilities, you can import them directly instead of importing the single global bundle. This lets you pick and choose what you need — resulting in even smaller bundles. We do, however, recommend including the normalize and reset styles at a minimum.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4ff94e78e664c4c865be1142571eac3/href">https://medium.com/media/e4ff94e78e664c4c865be1142571eac3/href</a></iframe><p>Our layout and typography utilities cover many use cases. This causes the initial global CSS bundle to come in around 177kb uncompressed and unminified. But the repetitive nature of the utility selectors allows us to leverage text compression behavior.</p><p>Compression tools like Gzip and Brotli heavily optimize for repetitive text. Because of this behavior, we compile our utility CSS in an order that places similar selectors next to each other in the final output. This enables a 177kb CSS file to be ~7kb with minification and Brotli compression or 10kb with Gzip compression.</p><p>With some tweaks to our CSS output, we can shrink our CSS significantly with text compression. But even though we have a small network payload, we still are sending a lot of potentially unused CSS.</p><h3>Tree Shaking CSS</h3><p>The provided global CSS utilities are also used internally within our Web Components. The Core CSS utilities are extensive and we may only use a small subset of the utilities provided within any given component. We can optimize for this by ensuring only the utilities we use are bundled within our Web Components.</p><p>For this, we use a tool called <a href="https://purgecss.com/">Purge CSS</a> that ensures we only bundle CSS utilities which are used within the component. We run Purge CSS as part of the build process and it tree shakes our CSS within our internal templates.</p><p>For example, if our button only uses a couple of the CSS utilities, we don’t want the 7kb+ of CSS bundled with it nor bundled multiple times for each component. By running Purge CSS, we can check what is used within our component templates and strip out any unused CSS. Here is a snippet demonstrating how we tree shake the CSS in our components.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f71c52dd8153d1f39814980dfb97e1d/href">https://medium.com/media/6f71c52dd8153d1f39814980dfb97e1d/href</a></iframe><p>By tree shaking the CSS used internally by Core components, we further drive down the bundle sizes. While we use Purge CSS at the library level, you can also use it on your applications to reduce your CSS payload. The less CSS that is sent down the wire, the faster the browser can start rendering the page.</p><h3>Rendering</h3><p>With our components using Shadow DOM, we can guarantee a certain amount of containment with CSS layout and behavior. External styles don’t leak into our component, and our component styles don’t leak to the global scope. With this behavior, we can optimize the browser rendering by using the CSS contain property.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0204efb6942bcc4cb6df04188262104e/href">https://medium.com/media/0204efb6942bcc4cb6df04188262104e/href</a></iframe><p>Using the contain property, we tell the browser this element is self-contained and can optimize when to render and re-render it. This can significantly reduce render times on the page as the browser can skip layout recalculations. To dig into this topic, check out the Google Developer Docs on <a href="https://developers.google.com/web/updates/2016/06/css-containment">CSS Contain</a>.</p><p>Now that we have identified all the different strategies to keep Core running at optimal performance, how do we stay on track and prevent performance regressions?</p><h3><strong>Measure and Automate</strong></h3><p>We run a check against our final build output for final payload sizes with each build in our CI process. We use <a href="https://github.com/siddharthkp/bundlesize">bundle-size</a>, which can check what our final file sizes are compressed.</p><p>The bundle-size tool takes a config with maximum sizes for given files. If a file exceeds that size, then the build will fail. This helps catch mistakes that would cause unexpected size increases or issues that would break tree shaking.</p><p>Here is a sample of what our config looks like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a9cc8176aa5b766df6cfc56ef0baa7a3/href">https://medium.com/media/a9cc8176aa5b766df6cfc56ef0baa7a3/href</a></iframe><p>We have a small Webpack build that runs against a single JavaScript file to catch tree shaking regressions.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5e8c3f73645b362357b8a341893ac93f/href">https://medium.com/media/5e8c3f73645b362357b8a341893ac93f/href</a></iframe><p>This simple file will allow us to test that Webpack can successfully import our two components and icon without bundling any other components or icons. This tests that we are successfully tree shaking at the component level and symbol import level.</p><p>We benchmark our bundle sizes against <a href="https://opensource.google/projects/brotli">Brotli Compression</a> rather than gzip. Brotli is a modern compression format and provides significant improvements over gzip. Most web services and <a href="https://www.netlify.com/blog/2020/05/20/gain-instant-performance-boosts-as-brotli-comes-to-netlify-edge/">CDNs now support Brotli</a> automatically and it is <a href="https://caniuse.com/#feat=brotli">widely supported in browsers</a>.</p><h3>Results</h3><p>With all these optimizations in place, we can create a <a href="http://clarity-core-performance.web.app/">hello world Clarity app </a>consisting of only 17kb of JavaScript and 8kb of CSS with a basic Webpack build. This demo app includes two components: the badge and icon component and two icon shapes. The CSS is our standard global bundle and the normalize.css package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBSM-4wDQEbBxd14e68PpA.png" /><figcaption>Network usage for an application using a basic Webpack build and Clarity Design Web Components</figcaption></figure><p>While this is lightweight, we can do more. We are only using a fraction of the CSS utilities in this <a href="http://clarity-core-performance.web.app/">simple demo</a>. Using Rollup, we can push the performance even further in our application with just a few adjustments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zfg47a1aQeKvjRCCYtY2sw.png" /><figcaption>Network usage for an optimized application using RollupJS and Clarity Design Web Components</figcaption></figure><p>With Rollup, we can provide a couple of <a href="https://lit-element.polymer-project.org/guide/build">lit-element specific optimizations</a> for our application build. This includes dropping polyfills and minifying our templates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ietieQHlCBspL27_IZyhVQ.png" /><figcaption>Snapshot of final bundle output with Clarity Core and RollupJS</figcaption></figure><p>With both component and icon tree shaking, we can use the <a href="https://github.com/danvk/source-map-explorer">Source Map Explorer</a> tool to verify we are only loading the code we use and our dependencies in our final bundle.</p><p>Using <a href="https://purgecss.com/">PurgeCSS</a>, we can tree shake our unused Global CSS. This pulls our hello world Clarity app down to around 1kb of compressed CSS and around 15kb of compressed JavaScript! While simple, this demo demonstrates the optimizations made possible by component, icon, and CSS tree shaking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*j9hYt8-WeCvTU-uugxVPMw.png" /><figcaption>Lighthouse performance score for an application using Clarity</figcaption></figure><p>With such a light payload, we get an initial render of around 1 second on a simulated 3g connection. Take time to check out the running <a href="https://clarity-core-performance.web.app/">demo application</a> and the <a href="https://github.com/vmware/clarity/tree/master/apps/core-rollup-js">source code</a>. You can find more demos in various frameworks in the Clarity Core repository on <a href="https://github.com/vmware/clarity/tree/master/apps">Github</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbab56516f30" width="1" height="1" alt=""><hr><p><a href="https://medium.com/claritydesignsystem/design-system-performance-with-clarity-core-web-components-fbab56516f30">Design System Performance with Clarity Core Web Components</a> was originally published in <a href="https://medium.com/claritydesignsystem">Clarity Design System</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript vs JavaScript: There Will Be Love]]></title>
            <link>https://medium.com/@coryrylan/javascript-vs-javascript-there-will-be-love-7be030b26258?source=rss-c2f4eb731d6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7be030b26258</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[angularjs]]></category>
            <dc:creator><![CDATA[Cory Rylan]]></dc:creator>
            <pubDate>Wed, 06 Jan 2016 03:43:37 GMT</pubDate>
            <atom:updated>2016-01-06T03:57:09.120Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gxZYGCPNarhErgGuHG7fcw.png" /><figcaption>Original Photo Credit: <a href="https://twitter.com/PixarInsideOut">@PixarInsideOut</a></figcaption></figure><p>2015 was a great year for JavaScript. ES6/ES2015 is gaining popularity. We have seen the rise of new frameworks and libraries with great ideas. I will say it has also been a chaotic year. With the rise of React, Angular 2, a million Flux, Redux, Reflux™ libraries and more it seems that JavaScript is not slowing down anytime soon. Guess what? That’s ok!</p><p>Lately there has been a lot of comparisons between JavaScript libraries and frameworks. This is great for JavaScript! JavaScript is unique in that there is a massive community behind it. JavaScript has seen many new ideas and innovations that many programming language communities don’t have. All of the popular JavaScript libraries and frameworks have their own strengths and weaknesses. Choosing one should be based on your needs.</p><p>We should embrace the diversity of JavaScript, not be dogmatic or feel that we must pick “sides”. Compare and contrast them. Learn from them. Lets improve and help each other.</p><p>We are lucky to have such great tools at our disposal that are open sourced and backed by large companies like Google, Facebook and Microsoft. So do us a favor and go thank a maintainer of one of these projects on Github. Or better yet submit a pull request!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7be030b26258" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Technical Treadmill of Software Development]]></title>
            <link>https://medium.com/@coryrylan/the-technical-treadmill-of-software-development-90463281298f?source=rss-c2f4eb731d6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/90463281298f</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Cory Rylan]]></dc:creator>
            <pubDate>Sun, 05 Apr 2015 01:23:58 GMT</pubDate>
            <atom:updated>2019-03-27T22:01:25.055Z</atom:updated>
            <content:encoded><![CDATA[<p>If you haven’t noticed software development is moving fast. No I mean break neck fast. New frameworks, technologies and solutions constantly coming out to solve problems we never could have dreamed of a few years ago. In this post I have compiled a list of tips that help me stay up to date and prioritize what to learn using the 70/20/10 rule.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*HjdU-j6cHG22mU_UcmUIjg.gif" /></figure><p>If you are anything like me you kind of feel like this when trying to keep up with all the new things happening in software development.</p><p><strong>Its hard.</strong> There is so much for us developers to keep up with. Not only what our day to day jobs require but also keeping up with the new technologies and best practices. As we speak there were probably 20 new JavaScript frameworks created on GitHub.</p><h3>How to keep up to date</h3><p>There are three main categories for keeping up to date. The first is reading technical books. Books are great for deep diving into a new technology. They can provide a solid understanding of a given technology. The downside to books is that they can quickly become out of date. The more specific the technology the more likely it will be out of date. I try to buy books that have lasting knowledge that I can apply to any technology. Some of these could be ‘<a href="http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882">Clean Code</a>’ by Robert Martin (Uncle Bob) or ‘<a href="http://www.amazon.com/The-Software-Craftsman-Professionalism-Pragmatism/dp/0134052501">The Software Craftsman</a>’ by Sandro Mancuso. These books teach long lasting knowledge that will make you a better programmer overall.</p><h4>Blogs and Articles</h4><p>The second category on staying up to date is reading blogs and listening to podcasts. Blogs and podcasts are a great way to stay on top of new technology and software development techniques. Blogs are great for short quick reads that can be easily adapted to a busy lifestyle. Podcasts are great for developers that may need to commute and can learn on the long drives.</p><h4>Social Media</h4><p>The third category is leveraging social media. Services like Twitter are a great way to get the latest and greatest in software development. Twitter can help find new developers with similar interests. You can critique the list of people you follow to learn about topics that interest you. Many open source projects and contributors are tweeting about updates and new features. Following the right people can help you find new blog posts and articles that are worth reading. Developers tweet things that they feel are relevant to them which may help you. Think of twitter as a giant filter bringing you the content that you are interested in.</p><h3>How do I keep up with all of this? 70/20/10 rule</h3><p>Short answer you don’t. There is too much to learn to try every great new framework or language. Trying to learn everything will leave you with little long lasting or useful knowledge as a software developer. So I have a a technique I personally try to follow and it may help you. I follow the 70/20/10 rule. You may have heard this rule from <a href="https://medium.com/@noah_weiss/manage-your-time-like-google-invests-its-resources-70-20-10-3bb4d600abaa">Google</a>. The idea is you invest 70% of your time or resources into parts of the business that make money and continue improving on them. The next 20% is on investments that have a start and continue to get them off the ground. The last 10% is spent on completely new products or ideas. Now this idea is designed for businesses but is easily adaptable to improving ourselves as developers. After all we are investing in ourselves with our education.</p><h4>70% Craftsmanship</h4><p>The adaptation I follow is 70% on becoming better as a software craftsman. No not learning a new framework or platform, but improving my craft. This includes working on Test Driven Development, Clean Code or understanding different design patterns. Learning different programming languages and programming paradigms can go a long way. Other topics could include soft skills, blogging and writing about what I am learning. Even learning about how to improve at learning. Taking the time to improve my craft will overall make me better able to chose what to learn and how to utilize my time.</p><h4>20% Technology</h4><p>The next 20% is spent on learning new technologies and creating. Try to spend this time learning new technologies that can improve what you do now. If you are a web developer look into newer JavaScript frameworks like Angular or Ember. Try out other back-end frameworks like Ruby on Rails or NodeJS. If you are mobile developer in IOS try out Android development or vice versa. Learn things that can help solve your problems you may come across day to day. The key to learning new technologies is to create things using them. Have side projects or contribute to open source. Building and creating side projects is one of the best ways to understand how a given technology or framework works.</p><h4>10% Cutting edge and shaping the future</h4><p>The last 10% is spent on the cutting edge technologies. These ideas push the boundaries of any given technology. Help or contribute to open source projects that are new and need help getting off the ground. Test out new alpha versions of projects and give feedback. Get involved with understanding new web specifications or emerging technologies such as ES7 JavaScript (<a href="https://github.com/tc39">TC39</a>) or Web Components (<a href="http://corycode.me/blog/the-technical-treadmill-of-software-development">W3C</a>). Some of these technologies can even be used now in production applications. Getting in early with these processes you can help shape the future of software development.</p><p>Sometimes these may need to be adjusted depending on your current project or role. Just remember its not how much you learn but how you learn and prioritize your time. Software development is still a young industry and is rapidly changing. Spending your time learning is an investment and you want to make sure its the right investment for you.</p><p><em>Originally published at coryrylan.com.</em></p><p><em>Treadmill diagram image is copyright of Sears.com</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90463281298f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>