<?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[Always Be Coding - Medium]]></title>
        <description><![CDATA[A story about coding… and cars… and stuff - Medium]]></description>
        <link>https://medium.com/dan-h-ch?source=rss----eac85506fdf6---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Always Be Coding - Medium</title>
            <link>https://medium.com/dan-h-ch?source=rss----eac85506fdf6---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 04:27:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/dan-h-ch" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Supra Giving]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/dan-h-ch/supra-giving-dda208c0563b?source=rss----eac85506fdf6---4"><img src="https://cdn-images-1.medium.com/max/2600/1*QBlyT9oSEg0l9pi3OOGK1g.png" width="3840"></a></p><p class="medium-feed-snippet">Recently a buddy and I rented a 2021 Toyota Supra on Turo. This got me thinking more about this car.</p><p class="medium-feed-link"><a href="https://medium.com/dan-h-ch/supra-giving-dda208c0563b?source=rss----eac85506fdf6---4">Continue reading on Always Be Coding »</a></p></div>]]></description>
            <link>https://medium.com/dan-h-ch/supra-giving-dda208c0563b?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/dda208c0563b</guid>
            <category><![CDATA[cars]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Tue, 23 Nov 2021 18:50:52 GMT</pubDate>
            <atom:updated>2021-11-23T18:51:01.876Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Steph Curry vs Kevin Durant — Which Software Engineer Are You?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/dan-h-ch/steph-curry-vs-kevin-durant-which-software-engineer-are-you-a0157fd05aca?source=rss----eac85506fdf6---4"><img src="https://cdn-images-1.medium.com/max/1600/1*R186YgUNO7gFWfKH78hCYw.jpeg" width="1600"></a></p><p class="medium-feed-snippet">With the NBA Playoffs in full force, there&#x2019;s been a lot of talk about the reigning champion Golden State Warriors and their future&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/dan-h-ch/steph-curry-vs-kevin-durant-which-software-engineer-are-you-a0157fd05aca?source=rss----eac85506fdf6---4">Continue reading on Always Be Coding »</a></p></div>]]></description>
            <link>https://medium.com/dan-h-ch/steph-curry-vs-kevin-durant-which-software-engineer-are-you-a0157fd05aca?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/a0157fd05aca</guid>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[nba]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Sun, 12 May 2019 20:20:15 GMT</pubDate>
            <atom:updated>2019-05-12T20:17:40.037Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What David Chang, Food Teach Us About Programming]]></title>
            <link>https://medium.com/dan-h-ch/what-david-chang-food-teach-us-about-programming-12808cd20188?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/12808cd20188</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[food]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Sun, 07 Apr 2019 18:21:53 GMT</pubDate>
            <atom:updated>2019-04-07T18:21:53.373Z</atom:updated>
            <content:encoded><![CDATA[<p>A little over ten years ago I read small article in a print copy of GQ about this chef called David Chang. It was the first time I had heard of him, but I was super inspired that there was an Asian person making waves in a space where traditionally Asians had not made an impact. Not only that, he was doing it making ramen. Mother fucking ramen!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dGHMAmyvZBlpXNeBxxXhAw.png" /><figcaption>Majordomo, Momofuku LA circa 2018</figcaption></figure><p>Fast forward a decade and David Chang has built a food and media empire. You might have seen him on Mind of Chef or Netflix’s Ugly Delicious. Recently he’s joined The Ringer podcast network. This blog is a response to some ideas that have been simmering in my mind, but in the last many months have become a topic on The Dave Chang show.</p><p>In short, we become better at our craft by seeing and analyzing what goes in other crafts. We have so much to learn about software engineering by looking outside of software engineering. This is a response to <a href="https://www.theringer.com/2019/1/10/18176726/looking-back-and-moving-forward">Episode 36</a> and <a href="https://www.theringer.com/2019/1/17/18186697/rene-redzepi-the-relentless-innovator">Episode 37 of the Dave Chang Show</a>.</p><h3>Engineering As An Artisan Craft</h3><p>Like making amazing food, engineering is a craft and skill. We become better engineers by learning from those that came before us and practicing our craft. As Software Engineers, we are a bit more fortunate since the resources for our craft after almost limitless. Obviously we are limited by O(n), but we don’t have to source new keystrokes or electrons to write a new function. With that said, there are still a lot of lessons we can learn from the culinary world.</p><h3>There Is SO MUCH To Know</h3><p>We are constantly studying. Because of social media and how big celebrity chefs have become, the field of cooking and ‘molecular gastronomy’ is advancing so quickly. There are so many new techniques and sciences you now have you know and potentially build upon.</p><p>A generation ago the idea of fermenting was isolating to ethnic foods and ways to make things last longer. We now have <a href="https://en.wikipedia.org/wiki/Ren%C3%A9_Redzepi">Rene Redzepi</a> of <a href="https://noma.dk/">Noma</a> fame scientifically documenting and sharing <a href="https://www.amazon.com/Noma-Guide-Fermentation-lacto-ferments-Foundations/dp/1579657184">The Noma Guide To Fermentation</a> to ferment everything including blueberries.</p><p>And while there is a book you can pay for and buy, most of the knowledge Rene has been pretty open about sharing. In essence, he open sourced his tech.</p><h3>Be Dedicated And Obsessive</h3><p>Exploring the concept of fermentation, if you listen to Episode 37 you’ll hear Rene going off about fermentation, you realize he’s geeking out on it. One of the most famous chefs of this generation is geeking out over the practice of fermentation, a process usually relegated to making sauerkraut or kimchee.</p><p>In order to be excellent, we need to have this level of obsessiveness. Don’t get me wrong, I think you can be a successful software engineer without having that level of obsessiveness. I’m talking about being an excellent one. We exist in a field where (if you so desire) you can make your mark, but you need to be a true subject matter expert in order to start pushing the field.</p><p>If you ever read (or listen) to <a href="https://medium.com/u/a3a8af6addc1">Dan Abramov</a> (now at <a href="https://overreacted.io/">overreacted.io</a>) or any other famous developer, they are obsessing over some small/obscure part of a project and able to go at lengths on it. It’s this level of dedication to any craft that leads to excellent results.</p><h3>Umami — Challenge The Status Quo (CTSQ)</h3><p>Umami was recently (in the culinary sense) accepted as a fifth flavor. Since then, we see this explosion of people pushing for and aiming for that umami taste. Umami is now the bleeding edge. You see it thrown around regularly in food vernacular now. Before all this David Change gave a <a href="https://www.madfeed.co/video/msg-and-umami/">talk about Umami and its other known alias MSG</a>.</p><p>It’s not hard to imagine another universe where a famous chef going on record for such statements ends up falling to obscurity, and honestly life would probably have gone on. But someone took a risk, challenged the status quo, and now we are in a whole new era of flavor and food.</p><p>As you move forward in your career as a software engineer, I think it’s a good idea to have a healthy portion of CTSQ sauce or seasoning. Imagine if all the engineers that game before were content with how things were. Imagine the tools we’d be using still.</p><h3>A Good Cook Is Not The Same As A Good Chef</h3><p>Being a good cook is not the same as being a good chef. Most of us no this by now, but being a good coder/programmer is not the same as being a good engineer. Just because you are good at your craft, if you can’t handle the things that support and surround that craft you are placing a ceiling on yourself.</p><p>In the case of being a good chef, you need to know how to manage a kitchen, handle the marketing, and a bunch of other things. With being a good engineer, we have similar parallels. You need to be able to manage and communicate expectations, write code that works with other people, engage in meaningful meetings with the team.</p><h3>Destroying Toxicity &amp; Bro Culture</h3><p>Recently <a href="https://www.nytimes.com/2019/03/06/dining/mario-batali-bastianich-restaurants.html">Mario Batali was forced to exit his restaurants </a>due to reports of his sexual assaults and misconduct coming to light. I don’t know if we’ve seen the exact parallel within engineering, but i think it’s worth taking a moment to bring up how this is another parallel we should try hard to avoid.</p><p>It’s no secret that engineering is very male dominated. Even outside of number of engineers, you often hear behind the back whispers about how so and so it good for a women. With that said, I think as a whole software engineers do a good job on trying to be more inclusive, but there is a long way to go. Some companies succeed at this more than others, but most importantly we shouldn’t stop striving to be better here.</p><p>I think toxicity is equally if not more prevalent in engineering than in cooking. It might be the competitive nature in me, but I think in any craft this is natural. When you work day in and day out at a craft, you naturally evaluate your ability to be good at it and if other people are doing the same thing it’s easy to compare. What becomes dangerous is when (1) you let your ego hurt the ultimate goal to produce good software and (2) you aren’t willing to pass it forward, bring other engineers up, and maybe even stifle their growth.</p><p>Remember, no matter how skilled you are now, at one point in time someone invested their time helping you grow. This could be in person or just through some blog post. Without those people, where would you be? Let’s learn to pass it forward.</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12808cd20188" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/what-david-chang-food-teach-us-about-programming-12808cd20188">What David Chang, Food Teach Us About Programming</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From JavaScript to TypeScript — A Typical Journey]]></title>
            <link>https://medium.com/dan-h-ch/from-javascript-to-typescript-a-typical-journey-8783c633ac05?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/8783c633ac05</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Tue, 29 Jan 2019 05:28:32 GMT</pubDate>
            <atom:updated>2019-01-29T05:28:32.198Z</atom:updated>
            <content:encoded><![CDATA[<h3>From JavaScript to TypeScript — A Typical Journey</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oAMJU_sfQID8aHWj8wH6CQ.jpeg" /><figcaption>TypeScripting</figcaption></figure><p>I recently started a new job where we use TypeScript. I was already super familiar with JavaScript, when I first looked at the codebase I’ll admit I was a bit lost. I wanted to share my experience and some tips for people who already know JavaScript well and are starting with TypeScript.</p><p>Warning: I’m going to assume you know JavaScript and ES6 syntax pretty well. If you don’t — this may not be the article for you.</p><h3>Why TypeScript?</h3><p>So why should you learn TypeScript? Maybe you’re like me and found yourself in a new job where TypeScript was the norm, then it’s obvious. If not, I’ll offer you two reasons why TypeScript.</p><ol><li><strong>It’s the future.</strong> I’m going to pontificate here a bit, but trends tend to oscillate. With the rapid growth of JavaScript a lot of code started being written dynamically typed. I would argue JavaScript being dynamically typed is was contributed to it’s growth. However with this came the rapid influx of type errors at runtime. As developers, we practice being DRY so when we see type errors keep coming back, we want to do something about it.</li><li><strong>Types and Interfaces.</strong> The natural reaction is to go to static typed programming — enter TypeScript. Without having to abandon your JavaScript chops, TypeScript provides a way to enforce types on variable declaration. <br>Also, by defining types and interfaces other developers can know what type of data they are dealing with. This prevents the need to console.log every time you aren’t sure what kind of data you’re dealing with.</li><li><strong>Jobs.</strong> If that didn’t sell you on why TypeScript, I’m pretty certain having TypeScript on your Linkedin profile increases people reaching out to you. This is just anecdotally, but it seems to reason if you and another developer are comparable but you happen to know TypeScript — that might give you an upper edge.</li></ol><h3>Ok, I’m sold! Now what?</h3><p>This is the reason I’m writing this. A lot of the resources out there are focused on learning TypeScript from scratch. I felt I was wasting a lot of time trying to sift through what was just JavaScript concepts which I already knew, and what were really nuances about TypeScript that I had no idea about. So I’d like to break it down into levels. Without further adieu — a list of resources for going from JavaScript to TypeScript broken down by your level.</p><h3>I’ve Never Even Seen TypeScript</h3><p>If you’ve never seen TypeScript code I’d suggest doing the <a href="https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html">TypeScript in 5 minutes</a> from the official docs. It will (1) get you set up to being able to compile your TypeScript code to JavaScript so that it can be run somewhere and (2) get you introduced to how to assign types. You don’t need to spend more than 5 minutes learning this.</p><h3>I Know About Types</h3><p>Cool, so you know about types and how to use them during variable declaration! The next thing is understanding generics. I’d suggest doing a <a href="https://basarat.gitbooks.io/typescript/docs/types/generics.html">TypeScript Deep Dive</a>, but only on generics. The first part of the deep dive is mostly some primer, some JavaScript and/or future JavaScript, and explanation about types. Since you already know about types you can skip all that stuff.</p><p>There might be a disconnect when you first see generics, it’s probably because you skipped of types for functions. I felt the <a href="https://basarat.gitbooks.io/typescript/docs/types/generics.html">TypeScript Deep Dive</a> on generics did a decent job explaining that so I’d suggest rereading. You probably skimmed it like I did the first time.</p><p>By now you should be realizing that TypeScript is not only adding types, but by adding types you’re adding a whole new layer on JavaScript. Just wait…</p><h3>Decorators</h3><p>Where TypeScript really shines is decorators. This is conceptually the larger leap from vanilla JavaScript, but it’s super powerful. In a nutshell, the goal is to <a href="https://codeburst.io/decorate-your-code-with-typescript-decorators-5be4a4ffecb4">Decorate Your Code with TypeScript Decorators</a>. Take some time and learn to decorate!</p><h3>I’ve got it all, now what?</h3><p>Write code in TypeScript! The only way to get better it to practice, practice, practice!</p><p>But really, build something</p><p>The official TypeScript docs comes with some <a href="https://www.typescriptlang.org/samples/index.html">boilerplates/tips</a> on integrating TypeScript into your projects. This makes it super easy to get started building things. It’s definitely work checking out.</p><h3>I’m willing to pay for someone to teach me.</h3><p>I actually found that Udemy course <a href="https://www.udemy.com/understanding-typescript/learn/v4/overview">Understanding TypeScript</a> by Maximilian Schwarzmüller was really good. So if you are willing to shill out some money I’d recommend this course. A lot of the earlier lessons you can probably skip through.</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8783c633ac05" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/from-javascript-to-typescript-a-typical-journey-8783c633ac05">From JavaScript to TypeScript — A Typical Journey</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Signs You’re A Tech Lead — Congrats!!]]></title>
            <link>https://medium.com/dan-h-ch/5-signs-youre-a-tech-lead-congrats-4b89b6b9c071?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/4b89b6b9c071</guid>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Wed, 17 Jan 2018 04:38:05 GMT</pubDate>
            <atom:updated>2019-03-13T14:36:54.296Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently at work I got tapped to act as a <em>tech lead</em>. In fact, I’ve been referred to as one for a number of projects for a while now, but this coincided with a minor structure change. So it got me thinking, what is a <em>tech lead</em>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LDLazINBVhzCIUdsfuIm5g.jpeg" /></figure><h3>What Is A Tech Lead?</h3><p>A Google search for “what is a tech lead?” results in a number of results and one wikipedia link for lead programmer.</p><blockquote>A <strong>lead programmer</strong> is a <a href="https://en.wikipedia.org/wiki/Software_engineer">software engineer</a> in charge of one or more <a href="https://en.wikipedia.org/wiki/Computer_program">software</a> projects. Alternative titles include <em>development lead</em>, <em>technical lead</em>, <em>lead software engineer</em>, <em>software design engineer lead</em> (SDE lead), <em>software development manager</em>, <em>software manager</em>, or <em>lead application developer</em>. When primarily contributing in a high-level enterprise software design role, the title <em>software architect</em> (or similar) is often used.</blockquote><p>I don’t really liked this definition. It implies a tech lead is in charge, but I don’t think that’s really what the tech lead is. I’d argue being in charge is a description more fit for a Product Owner or even Project Manager.</p><h3>What Isn’t A Tech Lead?</h3><p>With things a bit vague, sometimes it’s easier to start with eliminating things that are false.</p><p>NOT always right — Tech leads can (and should) be wrong at times.</p><p>NOT responsible for all pull requests — Often times tech leads get delegated with being the gatekeeper on PR’s. I think this is not (1) an ideal use of a tech leads time all the time and (2) not a great team structure.</p><p>NOT the best or most experienced programmer on the team — But sometimes can be, but there is no requirement either direction</p><h3>So What Is A GOOD Tech Lead?</h3><p>The more research I did on this topic, I realized there are many different definitions for tech lead. So the better question to ask is what makes a <strong><em>GOOD</em></strong> tech lead. Here are 5 signs you could be a good tech lead.</p><ol><li>You are available and approachable — Tech leads need to do some kind of leading. A lot of times this is thought leadership more than direct chain of command leadership. Other Software Engineers should feel super comfortable talking through ideas with you and possibly asking for help.</li><li>You are a Software Engineer — You have to maintain strong technical chops. You should probably have a good understanding of the codebase and be able to solve problems around it. This means you are also still coding. The other Software Engineers should value you technical feedback.</li><li>You understand the business — You should have a good assessment on how to prioritize things that are important to the business so that you can convey this to others on your team.</li><li>You accept you’re not always right, but can justify why you might be — You have ideas and have the technical chops to explain them, but you accept that other Software Engineers on your team may come up with a better approach. This (1) shows you are willing and able to learn and (2) helps provide opportunities for growth within your team.</li><li>You’re happy when the other Software Engineers on your team succeed — This is key! You CANNOT be a good tech lead if you are not happy when the other Software Engineers on your team succeed and get credit for it. This may often mean you don’t get as much glory, but as a tech lead you should be comfortable with that.</li></ol><h3>It’s Not For Everyone</h3><p>How did you do? Do you have those 5 signs? If so, congrats! If not, don’t worry!</p><p>I’m not convinced being a tech lead is a natural or desired step for every Software Engineer. I think personally my experience with other leadership puts me in a position where I naturally tend to and can excel at it.</p><p>However, I recognize that being a tech lead takes time away from writing code. A lot of us tend to avoid meetings because of this very side effect, does it not make sense that some of us would avoid the roles and responsibilities of being a technical lead for those same reasons?</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b89b6b9c071" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/5-signs-youre-a-tech-lead-congrats-4b89b6b9c071">5 Signs You’re A Tech Lead — Congrats!!</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Programming Resolutions — How’d I do?]]></title>
            <link>https://medium.com/dan-h-ch/programming-resolutions-howd-i-do-1007f5d1495e?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/1007f5d1495e</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[resolutions]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Mon, 01 Jan 2018 02:56:58 GMT</pubDate>
            <atom:updated>2018-01-01T02:56:57.763Z</atom:updated>
            <content:encoded><![CDATA[<p>With 2017 coming to a close, it warranted a review on my engineering <a href="https://abc.danch.me/programming-resolutions-10-engineering-goals-for-2017-c4373da9f8a7">resolutions</a> I set out to do and look at what’s in store for 2018.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pouont2HYp_oZMZgCyi_WA.jpeg" /><figcaption>Let’s go New Years!</figcaption></figure><h3>How’d I do?</h3><ol><li>Build Stronger CS Fundamentals — Not really, kind of, but I’d rate myself a fail</li><li>Webpack — Fail</li><li>Observables — Fail</li><li>Elasticsearch — Fail</li><li>Angular2 (or just Angular) — Fail</li><li>Create React App or Ember CLI — Sure, I did a bunch of React CLI related stuff</li><li>Redux — Yeah, did this</li><li>Ruby/Python — Fail</li><li>Java — Fail</li><li>Scala — Fail</li></ol><p>So, I guess I batted 0.200 (maybe 0.250). Not really good. It’s interesting that out of the ones I failed to do, only 1, 9, &amp; 10 seem relevant to me still. With 2018 around the corning it’s time to put together a new list.</p><h3>10. Java/Scala</h3><p>This one still stays on the list, but I’d collapsed them into one. Java still seems relevant and Scala is kind of an extension in my opinion.</p><h3>9. CS Fundamentals</h3><p>Probably work through more algorithms and Cracking The Coding Interview</p><h3>8. Just embrace all things React — Become an expert</h3><p>I’ve done a handful of React, but I think this coming year I need to really double down on this ecosystem and become more of an expert in it. It helps that we are looking at a refactor into React at work.</p><h3>7. Vue.js</h3><p>Because Vue could very well be the future we deserve. I’ve look at it on a surface level, and I honestly like what I see.</p><h3>6. Typescript</h3><p>Because strictly typed is probably going to be the future.</p><h3>5. Hapi.js or some other backend</h3><p>I’ve done basic Node/Express and also thrown Loopback on top of that, this is really just about expanding my touchpoint with backend things that sit on Node.</p><h3>4. GraphQL</h3><p>Partly inspired by workplace banter recently, but also this <a href="https://medium.freecodecamp.org/i-just-asked-23-000-developers-what-they-think-of-javascript-heres-what-i-learned-9a06b61998fa">article</a>.</p><h3>3. Finish reading Clean Code</h3><p>So I’ve had this book for a while, and actually started it last year. This is probably a good year to finish it.</p><h3>2. Release a personal product</h3><p>I’ve had a bunch of ideas, a number of repos created, and a handful of prototypes produced, but I’ve not yet made a public application.</p><h3>1. Write More</h3><p>One resolution is to write more. I feel like I started the year off well, but things ended up getting busy and the writing kind of just fell off as well.</p><p>So there we have it, let’s see how this upcoming year looks.</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1007f5d1495e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/programming-resolutions-howd-i-do-1007f5d1495e">Programming Resolutions — How’d I do?</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</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 Dynamic Styling]]></title>
            <link>https://medium.com/dan-h-ch/react-native-dynamic-styling-f8bd9d9629e9?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/f8bd9d9629e9</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Sun, 20 Aug 2017 07:14:39 GMT</pubDate>
            <atom:updated>2017-08-20T07:14:38.808Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I started on a React Native project. I found myself doing a lot of inline styling as I start out the project. After a certain point, I wanted to refactor the styling, but it became painfully obvious inline styling was not really the way to go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MOgGsT_9T5dlKtyRLSabOQ.png" /><figcaption>Dynamic Styling</figcaption></figure><h3>Stylesheets</h3><p>Unlike developing for a website, there is no one CSS or stylesheet to reference. Luckily React Native comes with a <a href="https://facebook.github.io/react-native/docs/stylesheet.html">StyleSheet abstraction</a> so you can build your own.</p><p>The nice thing about React Native is that it is pretty much Javascript so you can import/require other files. The <a href="https://facebook.github.io/react-native/docs/stylesheet.html">React Native StyleSheet documentation</a> doesn’t provide an example, but by using basic Javascript concepts you can construct a universal ‘stylesheet’ that your application can draw from.</p><h3>Creating Style.js</h3><p>For my project I named it Style.js. The goal here is just to create a StyleSheet abstraction just like the <a href="https://facebook.github.io/react-native/docs/stylesheet.html">React Native documentation</a> lays out. Below is the code for this file.</p><pre>// Style.js<strong><br> <br></strong>// Bring in StyleSheet abstraction from React Native<br>import<strong> </strong>{<br>  StyleSheet,<br>} from<strong> </strong>&#39;react-native&#39;;<br><br>// Declare a var/const that is the StyleSheet abstraction<br>const<strong> </strong>styles = StyleSheet.create({<br>  // All the style content goes here, I&#39;ve only included one &#39;class&#39;<br>  noticeModal: {<br>    marginBottom: 200,<br>    marginLeft: 200,<br>    marginRight: 200,<br>    backgroundColor: &#39;dimgray&#39;,<br>    borderLeftWidth: 2,<br>    borderRightWidth: 2,<br>    borderBottomWidth: 2,<br>    borderBottomRightRadius: 4,<br>    borderBottomLeftRadius: 4,<br>    borderStyle: &#39;solid&#39;,<br>    borderColor: &#39;goldenrod&#39;,<br>    justifyContent: &#39;center&#39;,<br>    alignItems: &#39;center&#39;,<br>  },<br>  rightNavContainer: {<br>    flex: 1<br>  },<br>});</pre><pre>// !!!Important!!! This makes styles available as an export<br>module.exports = styles;</pre><p>As the comments layout, the last part is pretty important. It allows us to have access to styles when we import our ‘stylesheet’.</p><p>Import styles</p><p>Now all you need to do is import Styles.js and you not have access to styles.</p><pre>// appfile<br> <br>// bring in Style.js<br>import styles from &#39;./Styles.js&#39;<br><br>export default class DataEntry extends Component {<br><br>  render() {<br>    return (<br>      // few examples of attaching styles<br>      &lt;View style={ styles.noticeModal }&gt;<br>        &lt;View style={styles.rightNavContainer}&gt;<br>          &lt;RightNav<br>            currentRound={this.state.currentRound}<br>            recordPlayerAction={this.recordPlayerAction.bind(this)}<br>            saveGame={this.saveGame.bind(this)}<br>            displayMenu={this.displayMenu.bind(this)} /&gt;<br>        &lt;/View&gt;<br>      &lt;/View&gt;<br>    );<br>  }<br>}</pre><p>And there you have it, an abstracted out stylesheet where you can keep all the styling decisions for you application.</p><h3>Not Quite The Same</h3><p>Is isn’t quite the same as a have a style.css, but it gets you a huge part of the way. The cascading and class/id/element nature of CSS isn’t present here so if you were a pro at leveraging those things, you’ll probably feel like it’s missing something. However the fact we are now in a Javascript files enables us to do some interesting things. In short, anything you could normally do with Javascript you can do in this file.</p><p>Unfortunately we don’t have access to a lot of arguments in our current implementation, it is theoretically possible to implement styles as a function and pass in arguments from within the component file. This does take a little more forethought and planning.</p><h3>Dynamic Styling</h3><p>Even with our current implementation, it’s possible to provide dynamic styling style. In my example, I was looking to dynamically change the background color for certain views based on some configuration.</p><pre>// snippet for the actually element being styled<br>&lt;TouchableHighlight<br>  key={optionIndex}<br>  // the styles prop takes in an array of objects<br>  // I&#39;m actually mapping over option, so option.color is a property<br>  style={[styles.resultButtonContainer, {backgroundColor: option.color}]}<br>  onPress={ () =&gt; {<br>    this.props.recordPlayerAction(null, {<br>      &#39;time&#39;: new Date(),<br>      &#39;playerNo&#39;: this.props.playerNo,<br>      &#39;action&#39;: this.props.action.actionName,<br>      &#39;result&#39;: option.name<br>    })<br>    this.setModalVisible(!this.state.modalVisible)<br>  } }&gt;<br>  &lt;Text style={{ textAlign: &#39;center&#39; }}&gt;{option.name}&lt;/Text&gt;<br>&lt;/TouchableHighlight&gt;</pre><p>The crux of this implementation is that it is possible to pass an array into the style prop.</p><p>For reference, below is my collection that I’m mapping over.</p><pre>resultOptions: {<br>  generic: [<br>    {name: &#39;Good&#39;, color: &#39;darkgreen&#39;},<br>    {name: &#39;Neutral&#39;, color: &#39;darkgray&#39;},<br>    {name: &#39;Bad&#39;, color: &#39;darkred&#39;},<br>  ],<br>}</pre><p>And there you have it!</p><h3>Just One Implementation</h3><p>As mentioned earlier, there are potentially a number of different ways to implement dynamic styling for a React Native project. I went with the current implementation because I valued configuration objects over being automatically dynamic.</p><p>I’d actually be interested in seeing some other implementations. If after (or even before) reading this you find yourself doing a different implementation, drop a note in the comments.</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8bd9d9629e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/react-native-dynamic-styling-f8bd9d9629e9">React Native Dynamic Styling</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Things I Learned During Hack Reactor — You Won’t Believe #1]]></title>
            <link>https://medium.com/dan-h-ch/10-things-i-learned-during-hack-reactor-you-wont-believe-1-4061019d4d9d?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/4061019d4d9d</guid>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[hack-reactor]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Sun, 18 Jun 2017 03:00:17 GMT</pubDate>
            <atom:updated>2017-06-18T03:01:02.729Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SPCB6mBgoEpOt-8OptMXSA.jpeg" /><figcaption>RIP Alan Rickman</figcaption></figure><p>I’ve written about my Hack Reactor experience <a href="https://abc.danch.me/week-4-complete-57cdb05b9f43">here</a> and <a href="https://abc.danch.me/calm-before-the-metaphorical-storm-18057f4d81e3">here</a>. Both those were while I was in the program. This post serves more as a retrospective now that I’m a few months out.</p><p>I think the best way to lay it out a is a top 10 list and hopefully get some clickbait action going. It’s also some good advice for anyone looking to do Hack Reactor.</p><h3>10. Google is your friend</h3><p>The internet is such an awesome resource, but it is also hard to navigate. Google really has done a fantastic job in organizing that data on the premise you learn to ask the right question. Learning to ask the right question becomes a super important skill.</p><p>My advice for anyone considering to pick up software engineering, start practicing your Google-Fu.</p><h3>9. Dev Environments Continue To Be A Thing</h3><p>I think it was in week 2 I encountered my first real struggle with a dev environment issue. It was relate to pathing in MacOS and installing via brew. It was my first time encounter this issue and I really had no concept about bash profile, pathing, etc. However after going through once, I ended up being and old hand when I had to go through similar experience setting up new environments.</p><p>The same goes for port in use. The first time I came across it I didn’t know what was going, but now it’s second nature.</p><p>Even if you are thinking that you can abstract all this with Docker containers, that’s far from true. You will also need to know how you manage/set up containers on your local, and there can/will be issues that arise when doing that.</p><h3>8. Be Comfortable Being Uncomfortable</h3><p>One of the recurring themes at Hack Reactor was your growth as a software engineer is directly proportional to your ability to be comfortable being uncomfortable.</p><p>This is a honestly a pretty big life lesson if you haven’t picked it up yet, but it equally applies to your software engineer growth. But the experiences that push you the hardest end up being the ones that grow you the most.</p><h3>7. Make Sure You’re Doing This Because You Like It</h3><p>Don’t do Hack Reactor (or any bootcamp) because you were lured in by my advertisement on how much you will make afterwards. That’s not to say they are inaccurate, but if you are doing this for the money then you are probably going to hate it. There are ways to earn more money if you are willing to pursue something you are willing to hate.</p><p>Software engineering is a trade, and it should be treated as such. Only pursue it if you like the the actual work, otherwise you will be in for a long grueling haul.</p><h3>6. Async Javascript, Event Loop</h3><p>One of the crazier intricacies of Javascript is it’s nonblocking thus async by nature behavior. I wrote about this in an earlier <a href="https://abc.danch.me/microtasks-macrotasks-more-on-the-event-loop-881557d7af6f">post</a>, but it still remains one of the most valuable things I learned.</p><p>I’m by no means an expert on the topic, but being able to understand the core concepts has helped me reason out a lot of problems in real world software development.</p><h3>5. Closure, IIFE</h3><p>Here we have another technical concept making this top ten list. But really understanding closure/scope and how to use immediately invoked function executions to create closures is super important.</p><p>After basic syntax and looping, I feel that this is probably the second most important thing to know. If anything, knowing and understanding closures is kind of a requirement to work with asynchronous behavior in my opinion. It provides the framework in thinking about separation of concerns.</p><h3>4. Reading Documentation</h3><p>While Google is your friend, documentation is the source of truth. Not just truth, ideally detailed truth. It’s easy to pull up Google and throw in your question. Honestly, that will get you there 95% of the time. But the 5% where Google doesn’t cut it, you’ll have to do some more leg work.</p><p>Looking at the documentation is a great start. Documentation will lay out function signatures and optional arguments that an unlock great new ways to use the function. Examples are also often included. Moreover, sometimes looking over the documentation will introduce you to an API or method you didn’t know was available to you.</p><p>The big caveat here is that sometimes documentation sucks. Depending on the library or package you are using, the quality of the documentation may vary.</p><h3>3. Never Give Up, Never Surrender</h3><p>Related to #8, but the difference here is the result. With Software Engineering the thing to realize is there is always a way. If some cases, the solution may be convoluted, but there is always a way. However for more cases the solution is just something pretty doable you just haven’t uncovered.</p><p>Once you accept this, it means as long as you keep at it you will solve your problem.</p><p>I would like to point out one thing though. This is more of a lesson learned outside of Hack Reactor, but if you feel you really have hit a point where there is no solution, you’re requirements may be too specific. Take a step back, see if you can solve the same or similar problem in a different construct. It may be possible to move your problem across constructs to solve and then bring back.</p><p>Ironically this is a lesson I should have learned as a <a href="https://en.wikipedia.org/wiki/Linear_algebra">Mathematics</a> major, but when I was learning it I was too focus on my use case of that concept.</p><h3>2. Other People</h3><p>Let’s be real, if you are reading this you probably are not a <a href="http://antirez.com/news/112">10x programmer</a>. You will need the help of people around you, whether it be for code review, debugging, explaining things, or just splitting work. Other people are a super valuable resource you cannot forgo, this was especially true in Hack Reactor. We were expected to consume so much knowledge in a short period of time.</p><p>For me it was super important to hear how other people thought about things I found confusing. If I had tried to grind my way through the understanding it probably would have taken twice as long for certain concepts.</p><p>This need becomes even more apparent towards the end when you start the job hunt, but more on that for another time.</p><h3>1. Reach and Apply For Everything</h3><p>The outcomes phase of Hack Reactor was a pretty eye opening experience for me. There’s a number of “secret sauce” items (not that secret, but still saucy) that I won’t get into, but the biggest thing I took away was a “Why not apply attitude.”</p><p>After my traditional undergrad education, I went on a job search. It took a while, but I landed a job through a connection. That led to other jobs, and other jobs, but all through connections. I never really had to go out into the wild and search for a job.</p><p>Not the case this time around. The biggest thing I learned is you should just apply to everything. It’s a pretty small investment on your part (once you’ve got the routine going) and you never know what the upside could be.</p><p>You know what you do know though? The upside for not applying is nothing.</p><h3>Conclusion</h3><p>There was so much more domain and life things I got from Hack Reactor. I’m not going to say you need to do it now, but if you are serious about looking for a change, especially in career and maybe how you approach things, I’d strongly recommend looking into it.</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4061019d4d9d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/10-things-i-learned-during-hack-reactor-you-wont-believe-1-4061019d4d9d">10 Things I Learned During Hack Reactor — You Won’t Believe #1</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Angular On Inheritance — Angular is Javascript Meta]]></title>
            <link>https://medium.com/dan-h-ch/my-angular-on-inheritance-angular-is-javascript-meta-82c4ccfd9c8d?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/82c4ccfd9c8d</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[functional-programming]]></category>
            <category><![CDATA[angularjs]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Wed, 07 Jun 2017 05:09:32 GMT</pubDate>
            <atom:updated>2017-06-07T05:09:23.043Z</atom:updated>
            <content:encoded><![CDATA[<p>This is kind of a continuation on my initial <a href="https://abc.danch.me/angular-vs-react-round-1-d92c3fcf3dcb">Angular vs React.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*euVD1afBufxzqg7D7jiKcA.jpeg" /><figcaption>Yes! It’s the FP!</figcaption></figure><p>For those who have been following, sorry I’ve been missing in action. I’ve spent the last few months settling into work, relocating down to Los Angeles, and flying up and down on weekends. So, I’ve had very little bandwidth to focus on many things I would have liked to. Things are are now a bit more settled, so here’s to being able to write more consistently.</p><h3>New Job — Old Angular</h3><p>I recently started a new job at Science 37. It’s been a very exciting time, the team is great, and I feel like I’m learning a lot more on a wide variety of topics than I did at Hack Reactor. I mean, obviously Hack Reactor established a good base otherwise I wouldn’t be doing what I’m doing right now, but I’d like to echo a common sentiment.</p><p>You SHOULD learn more on your first X months on the job than the X months you spent in your bootcamp.</p><p>More on work later, but the take away for this post is that I’m working in Angular 1.6x.</p><h3>But React?</h3><p>I may still have a React bias though. Ultimately what gets me with React is that I *felt* it was pretty easy to follow data flow. In vanilla React you explicitly have to state and pass things through. It gets pretty unwieldy, and enter Redux stage right. Good news bears all around.</p><p>In all fairness, this is based off a super limited amount of time working with React and I still stand by my assessment, it would be unfair of me to not consistently assess this situation.</p><h3>So Angular huh?</h3><p>As I work more and more with Angular, I’m starting to appreciate somethings about it and I’m also understanding why Angular (and even Angular 2) may not win mindshare right now.</p><h3>Functional Programming vs Object Oriented Programming</h3><p>It ultimately boils down to the current trend towards Functional Programming, or FP as they like to say. (Insert some obscure <a href="https://en.wikipedia.org/wiki/The_FP">The FP</a> reference.) All the cool kids are doing it, so why aren’t you? Javascript is not a purely Functional Programming language, but everyone under the sun is trying to fit that paradigm onto Javascript.</p><p>The problem for Angular is that it doesn’t subscribe to Functional Programming concepts. So not only is it not the hot new kid in school, it actually refuses to adhere to the same styles as thew cool kids.</p><h3>But Javascript is Object Oriented… right?</h3><p>Yes, it is. I’m not arguing if Object Oriented is better than Functional or not, but the fact of the matter is Javascript is Object Oriented.</p><h3>So How Does This Relate To Angular</h3><p>Angular is actually pretty Object Oriented in it’s train of thought. Let’s look at the following example.</p><pre>// page1.html<br>&lt;div ng-controller=&quot;Ctrl1&quot;&gt;<br>&lt;ng-include=&quot;page2.html&quot;&gt;<br>&lt;/div&gt;</pre><pre>// page2.html<br>&lt;div ng-controller=&quot;Ctrl2&quot;&gt; {{myVariable}} &lt;/div&gt;</pre><pre>// controllers<br>angular.module(&#39;myModule1&#39;, []<br>  .controller(&#39;Ctrl1&#39;, function Ctrl1() {<br>    var self = this; <br>    this.init = function () {<br>      $scope.myVariable = &quot;Hello World&quot;; <br>    };<br>    self.init() <br>  })<br>)</pre><pre>angular.module(&#39;myModule2, [&#39;myModule1&#39;]<br>  .controller(&#39;Ctrl1&#39;, function Ctrl2() {<br>  })<br>)</pre><h3>So what’s going on here?</h3><p>We have a div element that uses ng-include to include some HTML as a child div. Each div has their own controller. Inside the child div, we are looking to a $scope.myVariable to render.</p><p>But this variable doesn’t exist in the controller for the the child div. So what happens?</p><p>We look up our inheritance chain. It turns out the parent div has a controller where myVariable is defined and thus we can render that $scope variable.</p><h3>Inheritance</h3><p>If this seems familiar to you, it should! This is normal object inheritance which is a core Javascript concept just repackaged!</p><h3>Conclusion</h3><p>It goes to show how little experience I had with Angular when I first made my initial assessment. It’s possible I actually leveraged this inheritance pattern within Angular before, just never noticed it.</p><p>First take away is to keep questioning your opinions and assessment. They should change as you get new information and have new experiences.</p><p>The second take away, and this is more of a conjecture, but if there is ever a pure Javascript movement, I argue Angular (probably current version of Angular, not Angular 1.6x) will see a resurgence in popularity. At a meta-level, I feel Angular and Javascript are pretty tied together.</p><p>Unfortunately the current paradigm (read trendiness) in Javascript programming leaves Angular kind of on the outside. Only time will tell if that changes.</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82c4ccfd9c8d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/my-angular-on-inheritance-angular-is-javascript-meta-82c4ccfd9c8d">My Angular On Inheritance — Angular is Javascript Meta</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Algorithmic Approach — A Review Of Grokking]]></title>
            <link>https://medium.com/dan-h-ch/an-algorithmic-approach-a-review-of-grokking-782c21db27d?source=rss----eac85506fdf6---4</link>
            <guid isPermaLink="false">https://medium.com/p/782c21db27d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Daniel Chang]]></dc:creator>
            <pubDate>Fri, 07 Apr 2017 04:52:30 GMT</pubDate>
            <atom:updated>2017-04-07T04:53:29.231Z</atom:updated>
            <content:encoded><![CDATA[<p>Where have I been? The last few months have been pretty chaotic with mostly a new job, a long drive, and a relocation. More of those later, but I’ve been sitting on a few blog posts so I figured I should get them out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*xaDG8h_HmaT8yRltrFNI1g.png" /><figcaption>Example Image From Grokking</figcaption></figure><h3>Algorithms</h3><p>Anyone who has broached the field of computer science or gone into an engineering job interview understands what algorithms are, at least at a high level. I’ll be honest though, when I started on this adventure of learning to code I had a vague understanding that an algorithm was a group of steps to solve a problem. I actually had a good deal of experience with algorithms from my numerical analysis class during college.</p><p>However I never realized how deep and pretty well established the field was. I was recommended <a href="https://www.amazon.com/Grokking-Algorithms-illustrated-programmers-curious/dp/1617292230">Grokking Algorithms</a> as a primer.</p><h3>Enter Stage Right</h3><p>In all fairness, Grokking Algorithm is probably not the book for you if you have been following along this blog. You’re either more interest in implementation of tech or already have a solid understanding of these things. However on the off chance you are interested in a quick (and entertaining) survey of algorithms, I’d recommend this book.</p><h3>Are You Not Entertained?</h3><p>With any heavy material, it’s important for the presentation to be entertaining. Grokking succeeds at doing this through it’s visuals.</p><p>The visuals in Grokking Algorithm are very comic like and help supplement the text that is used to explain concepts. I was a fan of the style that the author used to explain concepts, and it made the overall process of going through the book pretty fun.</p><h3>Are You Not Learning?</h3><p>Being entertained is nice, but I think we are all here to learn stuff. As mentioned earlier, this book is more of a survey of popular algorithms. You will learn about common algorithms and some of the more famous ones. You’ll get to have a quick survey of Breadth First Search, Greedy Algorithms, Dijkstra’s Algorithm, Sorting, and Dynamic Programming among others.</p><p>What you don’t get is an in depth analysis of these different algorithms. You will get to see how they work and a little bit of why, but not in great depth. More importantly, you are not shown how to derive your own algorithm from these algorithms.</p><p>You are also not learning to code. There are coding examples, but this book pretty much assumes you are able to code if you want to look at code. With that said, you don’t need to know how to code to enjoy this book. It’s actually more interesting when you don’t worry about the coding implementations, but there are some examples in Python.</p><p>If you don’t like Python, don’t fear. There is a <a href="https://github.com/egonSchiele/grokking_algorithms">repo on github</a> that has the examples in the book presented in many other languages. If you don’t see your preferred language, it’s probably a good pull request to submit.</p><h3>In Conclusion</h3><p>In my opinion, this was a really good survey/intro to algorithms. This is a great book if you are relatively new to algorithms, and unsure how far down the path you want to go. If you have experience with algorithms or are committed to going deep in the paint, there are probably better books.</p><p><strong>Had fun reading this? Found it useful? Recommend or share on Facebook/Twitter! Check out more posts on </strong><a href="https://abc.danch.me/"><strong>Always Be Coding</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=782c21db27d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dan-h-ch/an-algorithmic-approach-a-review-of-grokking-782c21db27d">An Algorithmic Approach — A Review Of Grokking</a> was originally published in <a href="https://medium.com/dan-h-ch">Always Be Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>