<?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 Gilli Carmon on Medium]]></title>
        <description><![CDATA[Stories by Gilli Carmon on Medium]]></description>
        <link>https://medium.com/@gillicarmon?source=rss-2b0325af6a56------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*ZTLIkbz5hzmWEIT0tUKpWg.jpeg</url>
            <title>Stories by Gilli Carmon on Medium</title>
            <link>https://medium.com/@gillicarmon?source=rss-2b0325af6a56------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 08:03:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gillicarmon/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[How to Ask Questions as a junior developer]]></title>
            <link>https://medium.com/@gillicarmon/how-to-ask-questions-as-a-junior-developer-1f0c724ac902?source=rss-2b0325af6a56------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f0c724ac902</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Gilli Carmon]]></dc:creator>
            <pubDate>Tue, 31 Mar 2020 06:45:46 GMT</pubDate>
            <atom:updated>2020-03-31T06:45:46.753Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6DVq_3MqA8ByQqQ4" /><figcaption>Photo by <a href="https://unsplash.com/@nesabymakers?utm_source=medium&amp;utm_medium=referral">NESA by Makers</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Asking questions is a common part of a junior developer’s workday. As junior developers, we often feel afraid to ask questions because we are either afraid to ask dumb questions or interrupt our busy coworkers. <br>So if you’ve found yourself thinking —</p><ul><li>Should I ask this?</li><li>Maybe this question will make me look bad.</li><li>I don’t think this question is important enough to disturb her.</li></ul><p>You are not alone. This one is for you.<br>First, it is essential to understand — asking questions is crucial for junior developers to grow, learn, and improve. Avoiding asking questions is like holding yourself back and can also lead you to make mistakes.</p><p>I am a junior developer, I’ve worked with junior developers, and I’ve learned that there is a right way to ask questions and a wrong way.</p><blockquote>I have learned that not all questions were born the same.</blockquote><p>The most important thing about questions, from my experience, is that asking questions must result in you learning something new.</p><blockquote>If you haven’t learned something new, than you are probably asking it wrong.</blockquote><p>Let’s say you need to find a file in your codebase. You don’t know the project yet, and it’s your first time dealing with other’s code, you don’t have a single clue of how to find it.<br>So you go to the nicest coworker that you met, and you ask her where’s the file. She is so nice that she takes your laptop and open it for you. Great, in 3 seconds, you got the answer, you can keep going. But what have you learned? What will happen next time? Will you go and ask each time you’ll need to find a new file?</p><h3>Ask “How” and not “What.”</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kfyJB8v2j-nZG0hk" /><figcaption>Photo by <a href="https://unsplash.com/@antoine1003?utm_source=medium&amp;utm_medium=referral">Antoine Dautry</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Let’s say that your teacher asked you how much is 2+7. You don’t know how to solve it, so you ask your parents. They can tell you — “oh, it’s 9”, but it won’t teach you how to solve the next similar problem. They <em>will</em> tell you the <strong><em>way</em></strong> to solve it, so from now on you will be able to solve similar exercises <strong>by yourself</strong>. Why is coding any different?</p><p>My suggestion is to ask yourself first what do you need to know. Do you need to know where the file is, or do you need to know <strong>How</strong> to find files in the codebase?</p><p>Side Note → sometimes, for this kind of questions, it is good to write down the answer, if you are a forgetful person like me.</p><p>Finding a file is quite a simple question. What happens when you try to do something, and it doesn’t work?</p><h3>Give it a real try first</h3><p>How many times have you asked a question, and when you got the answer, you thought, <em>“Oh right, I forgot about that”</em> or <em>“Oh, that’s a simple solution.”</em> <br>It means that you don’t try answering your question, and when you get the answer, you won’t feel like you’ve learned something new. <br>It is effortless and tempting just go and ask someone else. He will answer quickly, and you won’t have to think hard for the solution. But then again, you don’t improve, you waste other people’s time, and for a question that you and they know you can answer yourself. So before going and asking the question, ask it yourself first.</p><p>Then, when you gave it a real try, you can go to your coworker and ask —</p><blockquote>Hey, I’m trying to do X, and it doesn’t work.<strong> I have tried doing Y,</strong> but then happens Z, <strong>what do you think the next step is</strong>?</blockquote><p>With this question, you are achieving three things:</p><ol><li>You are showing that you attempted to solve it so you will be taken more seriously.</li><li>You save the coworker time asking — ‘have you tried Y?’ (when Y is the things you could have thought about yourself).</li><li>You are asking for the way (<em>the next step</em>) and not the whole solution.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*9ziVZ_k0VonU5ritvAqrsw.png" /><figcaption>Notice how many results for this simple question</figcaption></figure><h3>Befriend with Google</h3><p>Google has the answer to 99% of your problems. Anything that is not your code-specific / company-specific question, you probably will find a solution for it in Google. You can even Google how to Google.<br>It is a skill every developer must-have. It is painful at first, and it is much easier just to ask someone. But with Google, you can keep the difficult questions to your coworkers. All the small ones, or the things you are not sure about, just Google it.</p><p>A classic scenario when you should use Google is when you get an error. Just copy the error message to Google search, and within seconds you can see someone else asking it, and learn from the answers he got.</p><h3>Conclusion</h3><ol><li>Ask “How” and not “What”</li><li>Give it a real try first</li><li>Befriend with Google</li><li>Aim to learn something new from your question.</li></ol><p>Using these four tips, you can be <strong>sure</strong> that when you do ask the question, it is a relevant one, and you aren’t wasting your coworker time or making yourself look bad.</p><p>Remember, asking questions is an integral part for you to improve. Just do it properly and with thought.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f0c724ac902" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create color scheme for Vim]]></title>
            <link>https://medium.com/@gillicarmon/create-color-scheme-for-vim-335e842e29ea?source=rss-2b0325af6a56------2</link>
            <guid isPermaLink="false">https://medium.com/p/335e842e29ea</guid>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[color-scheme]]></category>
            <dc:creator><![CDATA[Gilli Carmon]]></dc:creator>
            <pubDate>Tue, 21 May 2019 12:26:23 GMT</pubDate>
            <atom:updated>2019-05-21T12:26:23.083Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z--mIwe7OjCnx4Jz" /><figcaption>Photo by <a href="https://unsplash.com/@clemhlrdt?utm_source=medium&amp;utm_medium=referral">Clément H</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When I first met Vim, I thought someone was looking to make his life more complicated. But after a while I figured that Vim is the perfect text editor for people who want the text editor to be perfect for them. Vim is very customizable in general, and in particular, it has a lot of themes you can choose from. But I have decided to create my own vim theme, and why not report about it?</p><h4><strong>Why create your own vim theme?</strong></h4><p>First of all, because you can, and it is also quite simple. Secondly, I don’t know about you, but I love change. I think almost every week I move something in my room to a different place to make it feel new. So if it works on my room, why won’t it work on my text editor?</p><h4><strong>How do you set your vim theme?</strong></h4><p>Well first, if you want to use any theme to your text editor, you need to save the name.vim (the .vim file of the color scheme) in your colors directory:</p><p><em>~/.vim/colors</em></p><p>If it doesn’t exists, you can create one. Then go to .vimrc file and add:</p><pre>colorscheme colorscheme_name</pre><h4><strong>Some terms you should know, before you start</strong></h4><p>In vim you have 7 terms for highlighting<strong>:</strong> <br><strong>guifg, guibg: </strong>The colors of your graphical vim (gui = graphical user interface). guifg is for your text color, and guibg is for the background<strong>. </strong><br><strong>gui: </strong>The text style. Can be bold, italic or underline (as far as I know). <br><strong>ctermfg, ctermbg, cterm: </strong>same as guifg, guibg and gui, but for the terminal.<br>There is also <strong>term</strong>, but we won’t talk about it now.</p><h4><strong>Writing your color scheme</strong></h4><p>First, we have a boilerplate code that we need to write in our <em>colorscheme.vim </em>file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/677183c7c9954d716d099caee9d72cbe/href">https://medium.com/media/677183c7c9954d716d099caee9d72cbe/href</a></iframe><p>What this code does is clearing any highlights defined before. <br>‘highlight clear’ resets the highlighting the user added, and ‘syntax reset’ gets the colors back to default ones. The default colors are determined by the background variable, that we should set too:</p><pre>set background=dark</pre><p>This sets the color palette, it can be dark or light. <br>And of course, naming our color scheme:</p><pre>set g:colors_name=”best-theme-ever”</pre><p>It helps identifying our color scheme. <br>So our final boilerplate code is:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6cab38696e96e81fcafc439a84b978f/href">https://medium.com/media/f6cab38696e96e81fcafc439a84b978f/href</a></iframe><p>That is it with the boilerplate, now the real deal — the command to set new highlight is:</p><pre><em>highlight group_name key=value</em> </pre><p>When key is one of the terms we met above (guifg, guibg, etc.) <br>Group name by syntax.txt:</p><blockquote><a href="http://vimdoc.sourceforge.net/htmldoc/syntax.html">syntax</a> group name is to be used for syntax items that match the same kind of thing. These are then linked to a highlight group that specifies the color.</blockquote><p>You can find the groups names conventions if you type in your vim</p><pre>:help syntax.txt</pre><p>and scroll down to NAMING CONVENTIONS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*9QmCEo2DiMWRozXli2neOw.png" /><figcaption>groups names</figcaption></figure><p>So for example, if you want to change the background of the gui vim to white, and the comment text color to red and bold</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2da0937c613163de15547771ec76bccf/href">https://medium.com/media/2da0937c613163de15547771ec76bccf/href</a></iframe><p>And let the magic happen.</p><h4>A big &amp; important note for those who want to highlight the terminal</h4><p>when you choose color for your gui, you use rgb, but in the terminal you use <a href="https://en.wikipedia.org/wiki/Indexed_color">Indexed color</a> which can include 8|16|88|256 colors, depends on your terminal. Mine is 256 so I found <a href="https://jonasjacek.github.io/colors/">this page</a> that contains the 256 colors and their numbers. So if you want your text terminal color to be red you write</p><pre>highlight Normal ctermfg=9</pre><p>As programmers, we should always search for shortcuts, so instead of writing command for each group, we should write a function!<br>My function assumes that you always pass it group name, guibg, guifg, gui, ctermfg, ctermbg (no need for cterm since it will be the same as gui). You can also checkout <a href="https://www.codementor.io/sandeepkumar4/vimleaning-how-to-create-vim-color-scheme-j7lmp1xkc">this article</a>, which shows a different kind of function for highlighting.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/691d0ee86c3e6ec4ac97a14e17c68a49/href">https://medium.com/media/691d0ee86c3e6ec4ac97a14e17c68a49/href</a></iframe><p>What this function does is simply building the command we met before, and in the end, execute it. So if, for example, we want our comment text to be red, we will call our function like this:</p><pre>call Coloring(“Comment”,&quot;NONE&quot;,#ff0000,”NONE”,&quot;NONE&quot;,&quot;9&quot;)</pre><p>Cool isn’t it?</p><h4>Linking highlights</h4><p>If you want some groups to have the same highlight you simply write</p><pre>highlight link x y</pre><p>When x copies the highlight of y.</p><h4>Get the syntax group</h4><p>An easy function I found <a href="http://vimcasts.org/episodes/creating-colorschemes-for-vim/">here</a> helps you get the syntax group of the word your cursor is on. Just save the function on your .vimrc file, and press ctrl +shift+p on the word you want to check its syntax word.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/490d6315df978d646c61cf7ee462ca18/href">https://medium.com/media/490d6315df978d646c61cf7ee462ca18/href</a></iframe><p>That’s it, thank you for reading, and I hope you found it useful 😎</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=335e842e29ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>