<?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 Claire (Gilligan) Rogel on Medium]]></title>
        <description><![CDATA[Stories by Claire (Gilligan) Rogel on Medium]]></description>
        <link>https://medium.com/@feminaprovita?source=rss-6c3bbd64760------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*Rnz_O5nOMyL1ebInxYi4KA.jpeg</url>
            <title>Stories by Claire (Gilligan) Rogel on Medium</title>
            <link>https://medium.com/@feminaprovita?source=rss-6c3bbd64760------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 05:32:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@feminaprovita/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[Things I Learned Building My Portfolio Site]]></title>
            <link>https://medium.com/@feminaprovita/things-i-learned-building-my-portfolio-site-7abb472599ae?source=rss-6c3bbd64760------2</link>
            <guid isPermaLink="false">https://medium.com/p/7abb472599ae</guid>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Claire (Gilligan) Rogel]]></dc:creator>
            <pubDate>Mon, 20 May 2019 12:26:01 GMT</pubDate>
            <atom:updated>2019-05-20T19:16:28.066Z</atom:updated>
            <content:encoded><![CDATA[<p>Upon finishing bootcamp, I was excited to dive into building my portfolio site! Naturally, I came up with something unnecessarily complicated, but which I liked very much. After nearly two months of working on it (finally nearly ready to deploy!), here are my takeaways. Maybe you can glean something valuable from my mistakes.</p><h3>In no particular order (until the end):</h3><p>All those frameworks and libraries I thought I learned in bootcamp? Well, I learned enough to poke around and figure out how to get things done, but didn’t <em>actually</em> learn any of them as well as I thought I had. With the exception of my Express routes, nothing compiled the first time, even though I was building from old code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-WosNzXumx9wbyGbgpcIlA.png" /><figcaption><a href="https://xkcd.com/1513/">https://xkcd.com/1513/</a></figcaption></figure><p>RegEx is an extremely cool and pretty sleek way to clean up text (perhaps so it can be repurposed, say, from an article title into a slug or component id), and honestly it isn’t nearly as scary as it looks. Can even get kind of fun, especially with the help of <a href="http://regexr.com/">Regexr</a>…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*aHEBEGh9bsoOrevD6r-yBA.jpeg" /><figcaption><a href="https://github.com/thepracticaldev/orly-full-res">https://github.com/thepracticaldev/orly-full-res</a></figcaption></figure><p>You know that stereotypical moment where you’ve been fighting to open like a jar lid for <em>a while</em>, then finally you give up and ask for help, and they get it immediately? Sometimes a second set of eyes, even from a dev who doesn’t know the tools you’re using, is really the winning combination, especially after you’ve narrowed down the possibilities for where your error really is. (Plus the questions they ask you about the library/framework may reveal to you that you don’t understand its logic as well as you think you do, oops.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*OHARUdKpxn0s9y2nLVUqGQ.jpeg" /></figure><p>I think my single best debugging trick for this site was <em>starting</em> to compose a question for Stack Overflow. I’ve been so careful not to omit important information for the friendly strangers who might help me there that, every time, I end up fixing several errors before I’ve even finished explaining the problem (let alone before pasting in all the relevant code snippets)! Almost always, I scrap the question before posting it, because I’ve gotten to the heart of the problem — and thus found a new problem to struggle with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*HXlmWLd-L9fZYk7y8G_h4g.jpeg" /></figure><p>What you think will be obvious to your users <em>will never actually be obvious to your users</em>! Beta testing exists because it’s nigh impossible to sufficiently predict UI/UX problems. (More on this below.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*-0QEPmMufwdCioNCrsQoCQ.jpeg" /></figure><p>Debugging deployment requires a whole different set of tools from debugging errors on local host! And is very much helped by being able to run Unix commands (at least on Heroku it is). But finally fixing a site that’s been constantly crashing for days is incredibly empowering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*_LGGF50jnJyNSIlNXk_Vwg.jpeg" /></figure><p>Unless <em>maybe </em>if it’s very static, you will never ever be done with your baby! There will always be ways to fix it up. Even if by some miracle you’re fine with the content, design, and functionality, you can always make it a progressive web app, improve its accessibility, increase its SEO… At some point, you need to move on, shift those updates to the back burner (not gone, just not a priority), and build the next thing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*Nqg9mpO7gKfYH26Lj0LgLQ.jpeg" /></figure><p>When you tell people, in person, that you’ve successfully built yourname.com, <em>and it even looks good on mobile</em> (hint hint) — don’t expect anybody to pull out their phone and immediately look at it. One person (another dev) did this, out of the few dozen I used that line on. If you want people to look at your site in your presence (perhaps for UX testing), you’re gonna hafta ask.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*Y5LQ3Xrpe3hWWCeM5gJB-A.jpeg" /><figcaption>This doesn’t happen organically mid-conversation unless you take out your phone first and show/ask them... *</figcaption></figure><h3><strong>And finally, the real winners:</strong></h3><p>Hoping to mask your lack of design skills by introducing cool and unusual functionality? Not only will this not accomplish that; it’ll singlehandedly cause you no end of UX errors. Just suck it up and learn some design. Something simple that people know how to use is way better than something nifty that confuses users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*mkqQ6zCZSFtSBCYj5AeNdA.jpeg" /></figure><p>That one friend who’s been working in tech a long time and is maybe a bit hard on you, but only because they really want you to succeed? They might be the only person who confirms your growing suspicion that your site isn’t quite ready to go, that it actually makes you look less competent than you are. Not that all the loved ones who responded with excitement to your pride at finally getting it deployed aren’t valuable and necessary, but this extra-honest person is GOLD. Do not lose them (and do work up the guts to show them your portfolio stuff in the future).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*3xcLgkYTxykJD9oowZrk3g.jpeg" /><figcaption>If all my tech friends were this flavor of honest, I’d die; but having one, or a few, yields a huge advantage. **</figcaption></figure><p>Super glad I did it, though, even though I have thrown out a bunch of work to start over (hey, I’ve still got the skills and the stories). On to my next side project!</p><p>* Photo credit <a href="https://burst.shopify.com/@sajjad01?utm_campaign=photo_credit&amp;amp;utm_content=Browse+Free+HD+Images+of+Hotel+Poolside+Checking+Phones&amp;amp;utm_medium=referral&amp;amp;utm_source=credit">Sajjad Hussain M</a> from <a href="https://burst.shopify.com/api-work-productivity?utm_campaign=photo_credit&amp;amp;utm_content=Browse+Free+HD+Images+of+Hotel+Poolside+Checking+Phones&amp;amp;utm_medium=referral&amp;amp;utm_source=credit">Burst stock images</a></p><p>** Photo credit <a href="http://wocintechchat.com/">Women of Color in Tech stock images</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7abb472599ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pair Programming after Bootcamp: Unintentionally a Great Learning Experience]]></title>
            <link>https://medium.com/@feminaprovita/pair-programming-after-bootcamp-unintentionally-a-great-learning-experience-2201223413d?source=rss-6c3bbd64760------2</link>
            <guid isPermaLink="false">https://medium.com/p/2201223413d</guid>
            <category><![CDATA[impostor-syndrome]]></category>
            <category><![CDATA[remote-pair-programming]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[pair-programming]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Claire (Gilligan) Rogel]]></dc:creator>
            <pubDate>Tue, 12 Mar 2019 15:04:03 GMT</pubDate>
            <atom:updated>2019-03-12T16:01:31.759Z</atom:updated>
            <content:encoded><![CDATA[<p>It was just a couple days before my bootcamp graduation when the other developer in my roleplaying group mentioned a side project on his radar.<em> I wanna capture the posts in the </em><a href="https://www.magpiegames.com/masks/"><em>Masks</em></a><em> Google Plus group before Google shuts it down and they’re gone forever.</em> Ooo, my hackathon project the month before had included a bunch of web scraping; I know relevant things! I could be helpful! As we talked about implementation details, it quickly became a <a href="https://github.com/feminaprovita/masks-rescue">joint project</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*PT4sFPxT3P_HKSXReGD1Fw.png" /></figure><p>We dove into it the morning of an rpg session, in a fairly normal single-computer pair programming setup, with me driving because he had a much clearer grasp of what we needed to do. (A relevant degree plus 5 or so years working in the field will do that for you.)</p><p>But after a while, I yielded both roles to him and just watched, distracted by the self-imposed obligation of applying cosplay makeup. So there were some pretty important pieces that I had to figure out later, just reviewing the code on my own. When we returned to the code after successfully rescuing the supervillain from the bigger supervillain (it’s a complicated campaign, ok), I realized we’d already reached MVP: we’d scraped (with apparent success) all the posts in the forum! Time to increase our scope!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*we_eLwW1PnNJnr1lFqbcuw.jpeg" /><figcaption>What can I say, I take playtime Very Seriously</figcaption></figure><p>Before he left the next day, we had all the comments, too, and a clear plan for getting the uploaded images. How exciting! A successful project!</p><p>So I reviewed the code, got to understand most of what he’d done while I wasn’t paying attention, and moved forward on the annoyingly complicated image scraping on my own. A couple days later we got together on a zoom screenshare-call, and the first thing he did was ask for me to walk him through what I’d done without him. <em>Oh. Right. Code isn’t effortlessly self-evident. Ummmmmmm.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bO6y_qLDsUFB0fHH1jEFBg.png" /><figcaption>I swear there was a reason I had to have four ifs and an else in here; now what was it…</figcaption></figure><p>I couldn’t believe how much trouble I had articulating my own code — to a friend who was very familiar with the starting point and the goals, in a relaxed environment, less than 48 hours after I wrote it! It took me <em>several </em>minutes to reconstruct what I did when, which part of the code did what. How could I forget it all so easily?? Note to self: leave explanatory comments, and make better variable names! (Both things had been on my radar, but now <em>much more emphatically so</em>.) It was at this point that we added numbers to our the filenames of our various scripts, to clearly denote their order (so we wouldn’t have to reconstruct which script came when, when it came time to run them on the whole dataset — possibly our best decision in the whole project).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*gSzuy1m4oYT1R6-x-A53hA.png" /><figcaption>This made it effortless to run them in order…</figcaption></figure><p>Over the next few weeks we had a bunch more screenshare-calls, during which time I effortlessly became familiar with concepts that I’d sort of touched in bootcamp but hardly had reason to use (e.g., JSON, fs, RegEx), just by virtue of typing them as he articulated what was going where. I surprised myself by how rarely I had to ask <em>why</em>.</p><p>I also, of course, learned a ton of new things for this project. Downloading the scraped images to my file system via Node’s fs was cool, but executing a function in bash to mass rename files was orders of magnitude more exciting, not to mention far more efficient than lazily updating things in Finder, as I’ve mostly been doing.</p><p>Another big takeaway: I can’t count how many times I thought we were done, our data was good, we could move on — and then my friend suggested <em>several</em> more double-checks and spot checks, which uncovered another bug as often as not. We didn’t write any tests to run automatically (not for a small, single-use project comprised mainly of scripts), but by keeping tests in our heads to quickly run manually, we learned a <em>lot </em>with minimal effort. By the end, I was adding my own relevant checks that he hadn’t thought of.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*_9bTToh-AbjcvPELhcCG_w.png" /><figcaption><a href="https://xkcd.com/1739/">https://xkcd.com/1739/</a></figcaption></figure><p>Every step of this project was not only didactic but empowering. My collaborator here was someone who — not so many months ago — had spent dozens of hours talking me through problems that were completely eluding me, doing them in his head, by hearing alone, entertaining himself while I puzzled through them by coming up with “stupider” solutions that were maximally concise (11 lines, now 4, to my eventual 27 or 40). Now suddenly here we were, struggling productively over the same problem! Sure, obviously he was the senior developer in this pairing, but just as obviously he was focused on solving each problem, not on pulling his punches in order to teach me things, and I was not only following but even making helpful contributions!</p><p>On top of all this, my impostor syndrome was nowhere to be found, perhaps because I was <em>supposed</em> to be the junior partner on this one. Gone was that ever-present self-imposed pressure to know as much as the person I was working with (or the people I imagine to be at my same “level”), context be damned. I’ve been a little worried about pair programming at potential jobs: how well will I learn from just watching a more experienced engineer program? Will my pairing with someone slow the project down without adding particular value? I mean, I’m sure the answers to those questions will <em>occasionally</em> be negative, but not most of the time. I can do this. Next time I begin to feel that familiar paranoia, I can call to mind this project, and have memories and a repo to back up that logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*vrmZxBk-EU-KdykWVjPhfg.png" /></figure><p>My takeaway here is not that everyone should have friends who are model developers (in fact, this friend thinks he did a particularly bad job on this pairing, and was paying approximately no attention to what I was absorbing except maybe when I asked questions). I’m just really appreciating how much I just learned <em>outside</em> the classroom, and how much fun I had doing it. 10/10, would build again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2201223413d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New to Programming? Here’s How to Better Parse the Results from Googling Your Error Messages]]></title>
            <link>https://medium.com/@feminaprovita/new-to-programming-heres-how-to-better-parse-the-results-from-googling-your-error-messages-8c9b0081fef4?source=rss-6c3bbd64760------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c9b0081fef4</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Claire (Gilligan) Rogel]]></dc:creator>
            <pubDate>Mon, 28 Jan 2019 14:11:00 GMT</pubDate>
            <atom:updated>2019-03-12T15:15:40.070Z</atom:updated>
            <content:encoded><![CDATA[<p>Moving to programming from a field in which my job was to be a human resource library (to provide answers to questions people hadn’t yet realized they needed to ask), it was a big shift for me to rely so heavily on Google, as we do. Especially in the early days, I often wished for a guide to parsing the search results I was trying to slog through… <em>et voilà!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*LdIK2lvKRj2ccuwaNF7m3A.gif" /><figcaption><a href="http://www.systemcomic.com/2014/03/14/the-system-711-how-to-become-a-web-developer/">http://www.systemcomic.com/2014/03/14/the-system-711-how-to-become-a-web-developer/</a></figcaption></figure><p>Okay, so you’ve written a function/program/website, and it doesn’t work. Hopefully it’s giving you an error message somewhere — your testing environment, your terminal, the browser console. You copy and paste this into Google, and blindly click on results, but they’re all either completely obscure to you or else quite specific and not what you need. Now what?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7P1FchNLHq7fHjCOrY0wPw.png" /><figcaption><a href="https://github.com/thepracticaldev/orly-full-res">https://github.com/thepracticaldev/orly-full-res</a></figcaption></figure><h3>First: is it even worth googling?</h3><p>Some errors are never going to yield helpful search results, especially if you’re writing to a test, like I was in the early weeks of my bootcamp and pre-bootcamp coding. A non-exhaustive list of “errors” that are more technically failing tests:</p><ul><li><em>Error: Expected 32 to equal 173</em>— Nobody else is going to be working with your same function. Your function is returning data; it’s just returning the wrong data. That’s a starting point you should be able to debug from (if not, see the next section).</li><li><em>Error: Expected undefined to equal 173</em> — Still not google-worthy, but now you can see that your function is not returning anything. Are you missing a return statement? Using a forEach when you need a map?</li><li><em>SyntaxError: homeworkFunction is not defined </em>— This one is actually good news; it’s not hard to declare a function (at least in JavaScript), so if you know you did that correctly, this error means you have a simple syntax error somewhere. Count your curly braces, brackets, parentheses, quotation marks…</li><li><em>TypeError: Cannot read property ‘keyName’ of undefined</em> — careful, this one will yield Google results; they just probably won’t be relevant to you at this stage. Note that the property named is nearly always the key on an object; your problem, then, isn’t with the key but with the object itself! Keep this in mind as you look over your code.</li></ul><p>Your best bet for errors like these is probably to identify where the problem truly is and/or read over the problem/specs carefully, paying particular attention to what you’re <em>actually</em> telling the computer to do, not what you intend for it to do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*MkOzVtfwvKCnJcVV1XKUqw.png" /><figcaption><a href="https://xkcd.com/319/">https://xkcd.com/319/</a></figcaption></figure><h3>How can I parse my errors before hitting up Google?</h3><p>Sites like <a href="http://www.pythontutor.com/visualize.html#mode=edit">PythonTutor</a> take you through your function one step at a time, visualizing how the machine reads your input; <a href="https://en.wikipedia.org/wiki/rubber_duck_debugging">rubber duck debugging</a> is also surprisingly helpful, especially for <em>undefined</em>s.</p><p>Does your error contain any numbers at the end of the line, like <em>(22:14)</em>? These direct you straight to source of the problem! You don’t have to figure it out yourself; in this example, just head to line 22 and look at character 14, and voilà: whatever’s there is what the machine can’t read.</p><p>What about those 8+ lines nested beneath your error itself? It can be <a href="http://www.gustavwengel.dk/googling-error-messages-1">immensely helpful</a> to learn to <a href="https://alligator.io/js/stack-trace/">read the stack trace</a>, in time, but for now we can just sift it for the most immediately useful information. Most of the lines in the stack trace may refer to files you didn’t create (node_modules or something built-in, for example), but there’s usually at least one line where the filename is some file you’ve actually worked in. This filename will end in a line number, giving you an exact pointer to where the problem is — or, at least, to the first time your program hit this problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*f_c6iT_gCE_mdKD05bG0dA.jpeg" /><figcaption><a href="https://imgur.com/jacoj">https://imgur.com/jacoj</a></figcaption></figure><h3>I have no error message; what do I search?</h3><p>If you can’t <a href="https://knightlab.northwestern.edu/2014/03/13/googling-for-code-solutions-can-be-tricky-heres-how-to-get-started/">get to the root of the problem</a>, you’ve still got two very powerful tools at your disposal: console.log* and the debugger.</p><ul><li><em>Console.log(‘explanatory string’, variable) </em>— Sprinkling these in relevant places in your code can be an excellent way to test 1) what the data looks like in the middle of the function, 2) whether a part of the function is even being run, 3) whether the data being returned is the same type it’s supposed to be, and much more! I love this method for pinpointing exactly where and how my programs are going wrong. However, they can quickly become unwieldy, especially if unlabeled or if left in the code after the bug is resolved. And there’s nothing worse than someone else’s console logs left behind in shared code.</li><li><em>Debugger</em> — Every <a href="https://medium.com/datadriveninvestor/stopping-using-console-log-and-start-using-your-browsers-debugger-62bc893d93ff">browser console</a> has a debugger function, as does every <a href="https://code.visualstudio.com/docs/introvideos/debugging">IDE</a> (and <a href="http://www.pythontutor.com/visualize.html#mode=edit">PythonTutor</a> does something similar). These permit you to watch, step by step, as the computer executes your function, demonstrating clearly at what step your function is breaking, and what value the computer is receiving for each variable instead of what it should be receiving. This is a must-have for every programmer’s bug-detective kit.</li></ul><p><em>* Every language has these, under some name or other: </em>print<em>, </em>puts<em>… the point is that it sends data to the console for the developer to read, behind the scenes. I expect you already know the relevant command in your language of choice.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*JJDeE8nxsvko9uaTD11KOQ.png" /><figcaption><a href="https://xkcd.com/1163/">https://xkcd.com/1163/</a></figcaption></figure><h3>Are we <em>finally</em> ready to search yet?</h3><p>Okay, after you’ve reasonably exhausted your more basic options — or if you’re feeling lazy and choose to skip some of them (I don’t judge; I just don’t vouch for the relevance of the results in that case) — we’re ready for Google. But let’s do this efficiently; what’s the best way to bring up relevant results on the first page?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ilu76StfpBloGDqDz80f9w.png" /><figcaption><a href="https://github.com/thepracticaldev/orly-full-res">https://github.com/thepracticaldev/orly-full-res</a></figcaption></figure><ul><li><strong>Narrow the scope</strong> of your search: What can you figure out about the root of the problem? Phrase that concisely, <strong>as generically as possible</strong>, <strong>with appropriate jargon</strong>.</li><li><strong>Add the name of the language and/or tech</strong> you’re working with to your search terms! The solutions may be the same in principle whether you’re working in JavaScript, Python, or Ruby, but until you’re experienced enough to translate, cut yourself a break and look for what’s familiar.</li><li>Results appear outdated? (More on how to tell this below.) <strong>Append @2019 to your search</strong> string to prioritize recent results (or whatever the current year is — hello readers from the future; I’m flattered you still find this useful).</li><li>Before naively searching your error message, <strong>delete your filenames and variable names</strong>, or replace them with <em>*</em>. This is especially important (the <em>*</em>) if you decide to enclose part or all of the error in quotation marks.</li></ul><h3>Great, we’re at where I started before reading this, thanks</h3><p>Well, If you’re feeling that impatient, I hope you just skipped the bits above! (But we’ll talk about skimming in a moment.) Now let’s look at which results to click on and how to figure out quickly whether they have anything to offer you.</p><p>Occasionally you figure something out just by looking at your list of results, before even having to click on any! Usually that conclusion is just that your search terms were unhelpful, either too narrow or too broad. (See the next section.)</p><p>Conventional wisdom suggests the following hierarchy of programming websites:</p><ol><li>Official documentation of the language/library/whatever</li><li>Stack Overflow</li><li>Medium, Github gists (tie)</li><li>Reddit, other blogs (tie)</li></ol><p>So let’s take a look at these. Wherever you go, it’s tempting to open a page and just begin reading, but we can be more efficient than that! It’s entirely possible that your search terms don’t appear in a relevant way anywhere on the page. So a good first step is always to do a simple find (cmd-F/ctrl-F) for some of them. This doesn’t always indicate that you’ve found a winner, but it’s great for weeding out lemons quite fast!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*5hZkQCIs8ya26j98CBcZhw.png" /><figcaption><a href="https://xkcd.com/722/">https://xkcd.com/722/</a></figcaption></figure><h4>Official documentation</h4><p>This varies <em>wildly</em> depending on what language, what library, what piece of tech you’re using. Mozilla’s excellent docs for <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">JavaScript</a> are considered the industry standard for JS, and <a href="https://reactjs.org/docs/getting-started.html">React</a>’s official documentation is likewise extremely thorough and easy to navigate.</p><p>On the other hand, the docs for <a href="http://docs.sequelizejs.com/manual/installation/getting-started.html">Sequelize</a>, despite appearing extensive, are so notoriously unhelpful that my bootcamp actually recommended we use an <a href="https://sequelize-guides.netlify.com/">alternative</a>! To look to a different category, the <a href="https://developer.spotify.com/documentation/general/guides/">Spotify API</a> also provides documentation that is woefully inadequate to the mammoth task of working with it.</p><p>So it’s always a good idea to start here (possibly even before you hit up Google), but if you come up short, know that it’s not just you.</p><h4>Stack Overflow</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*fLKlsc7p1HfhTG7M35S16w.png" /></figure><p>Stack Overflow <a href="https://stackexchange.com/tour">designed their site to have the best answers</a> to every programming question (a model so effective they <a href="https://stackexchange.com/sites#">cloned</a> <a href="https://math.stackexchange.com/">it</a> <a href="https://bicycles.stackexchange.com/">for</a> <a href="https://cooking.stackexchange.com/">numerous</a> <a href="https://worldbuilding.stackexchange.com/">other</a> <a href="https://physics.stackexchange.com/">subjects</a>). To manage this, their threads are less conversational and more answer-driven, with users voting to make helpful answers rise to the top. They also endeavor to avoid repeat questions on the same topic — which means that the questions hosted there tend to be <em>very specific!</em></p><p>I don’t know how many times I laboriously tried to puzzle through 50+ lines of code before discovering that the original poster’s problem bore no resemblance to my own! I do not recommend reading the post carefully, except maybe if you’ve already determined it will be helpful.</p><p>Instead, head straight for the comments. Remember that OP is there in the first place because their code is buggy! The real meat is in the replies; after you have a potentially useful idea from there, you can skim the original post for context.</p><h4>Medium</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*yUwhmg0Ycptqn39HukpGyQ.png" /></figure><p>Medium has a lot of tech hubs, but you needn’t look for one of those to confirm that a post’s content is trustworthy. The thing you can rely on in a Medium article is a high proportion of words to code. So if you learn well by having someone narrate for you where they went and how they got there, Medium will always be a good site to favor.</p><h4>Github</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6QWMn0DApM4jmbubKuCmNA.png" /></figure><p>Github is mostly known for its code repositories (❤ version control), but it also has gists, which are single-page repos — with comment functionality — that can hold anything from a brief snippet of code to a full article’s worth of code and explanations. In practice, I’ve found most Github search results to be gists that function rather like unmoderated Stack Overflow questions.</p><h4>Reddit</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*D8rpmY0O9SrMWi2aidi-Ww.jpeg" /></figure><p>I really expected reddit to be a brilliant resource for coding questions, being such a nerd hotspot; and there indeed are plenty of programming subreddits, but it seems that most redditors jump ship to someplace like Stack Overflow once it’s time to ask or answer a complicated question.</p><h4>Other blogs and websites</h4><p>The internet’s a big place! It contains other tech blogs, other forums, but the patterns are the same as what we’ve already seen here. I’ve found it to be surprisingly reasonable to trust whatever you’re reading on a random website, though. If you’re looking at something this technical, chances are very good the author already considers you “one of us” and is more interested in helping you than misleading you. (Of course, they may have their own bugs in the code, but how else do we learn?)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*S4zy7rvOuZAOxk5R1TuRpg.png" /><figcaption><a href="http://turnoff.us/geek/death-and-the-programmer/">http://turnoff.us/geek/death-and-the-programmer/</a></figcaption></figure><h3>But none of that did it! Refining or reorienting a search</h3><p>Sometimes it’s clear how to refine a search: if similar-ish errors are coming up (but not similar enough to be relevant to you), put the most specific part of your search terms in quotation marks; if the answers coming back address React alone, say, but you need them to address React and Redux working together, add <em>redux</em> to your search terms. If it’s not clear, see whether any of the tips above look sensible, with the new context of the search you’ve just finished.</p><p>No results, or too few? Remove quotes, or add terms, and see if that changes things. Otherwise, you might be stuck with the worst case scenario:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*J3Ygm52dcu75LQkQ6McuEw.png" /><figcaption><a href="https://xkcd.com/979/">https://xkcd.com/979/</a></figcaption></figure><p>One notable exception: Are you trying to resolve a problem or confusion with Git, and the search results just aren’t cutting it? Is there any way at all for you to save your work in your local filesystem and bruteforce reintegrate it? This doesn’t sound ideal, but it’s <em>exceptionally </em>common practice, especially for the more unusual git commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*gb8fZJp2yJyNNa--qQJmSg.png" /><figcaption><a href="https://xkcd.com/1597/">https://xkcd.com/1597/</a></figcaption></figure><h3>Some closing notes</h3><p>Here’s hoping that helped! Now, of course, getting the code to work is only half the battle (even if many coders do tend to stop there). Understanding why can save you the exact same search stress in the future. (I keep a list of lessons I’ve learned from particularly thorny bugs.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBUZQjjUGkrg6FwkoasxwA.png" /><figcaption><a href="https://github.com/thepracticaldev/orly-full-res">https://github.com/thepracticaldev/orly-full-res</a></figcaption></figure><p>Sometimes even Google won’t provide helpful answers, at which point I’m very grateful that software is such a social community. Reach out to a friend or co-worker, or (if you understand your bug in enough detail) even <a href="https://stackoverflow.com/help/how-to-ask">ask Stack Overflow</a>.</p><p>And don’t worry! Remember that, in this field, everybody is always learning, so there will always be strange new error messages for you to Google, no matter how skilled you get!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*wU6oJH7v7wkGRrhwA9XRVA.gif" /><figcaption><a href="http://phdcomics.com/comics/archive.php?comicid=946">http://phdcomics.com/comics/archive.php?comicid=946</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c9b0081fef4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>