<?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 Roberto Ferraz on Medium]]></title>
        <description><![CDATA[Stories by Roberto Ferraz on Medium]]></description>
        <link>https://medium.com/@roberto_ferrazn?source=rss-fe3c4538796f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1vFzQ0N1XxfqlMP4VKOSsQ.jpeg</url>
            <title>Stories by Roberto Ferraz on Medium</title>
            <link>https://medium.com/@roberto_ferrazn?source=rss-fe3c4538796f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 14:38:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@roberto_ferrazn/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[7 Passos para o profissional de TI sair do Brasil e trabalhar no exterior]]></title>
            <link>https://medium.com/@roberto_ferrazn/7-passos-para-o-profissional-de-ti-sair-do-brasil-e-trabalhar-no-exterior-7067e86f93c0?source=rss-fe3c4538796f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7067e86f93c0</guid>
            <category><![CDATA[emprego]]></category>
            <category><![CDATA[desenvolvimento-software]]></category>
            <category><![CDATA[trabalho]]></category>
            <dc:creator><![CDATA[Roberto Ferraz]]></dc:creator>
            <pubDate>Wed, 13 Apr 2016 10:15:07 GMT</pubDate>
            <atom:updated>2016-04-15T08:39:54.955Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*743myJkDJZBoGkCARF2iEw.jpeg" /><figcaption>Photo by (Sofia Sforza) <a href="https://unsplash.com/raisedheroes">https://unsplash.com/raisedheroes</a></figcaption></figure><h4><strong>1. Fique no Brasil</strong></h4><p>Não, você não leu errado, talvez a idéia não seja convencer você a ficar, mas se questionar se é isso mesmo que você quer, e o mais importante, identificar se você já sabe que não vai se adaptar.</p><p>As razões para deixar o país são sempre diversas e fáceis de se encontrar, melhor saúde, melhor educação, melhor segurança, melhores salários, etc..</p><p>Mas e as razões para não sair do Brasil, elas existem?</p><p>O Brasil é um país conhecido pela hospitalidade, pelo povo que mesmo nas adversidades consegue sorrir, é conhecido também pela sua cultura, comida, cores, clima, músicas e festas. É um lugar onde a felicidade está presente em locais que não conseguimos entender.</p><p>Não, esses <strong>não são motivos</strong> para pensar em cancelar os planos de uma nova vida em outro país, os aspectos que precisam ser considerados são muito mais pessoais do que gerais como comida e clima.</p><ul><li>Se você não puder, ou não estiver planejando, levar a família, você conseguiria passar longos períodos de tempo sem vê-los?</li><li>Você consegue ficar sem visitar a família ( mãe, irmãos, filhos, avós) por longos períodos?</li><li>Você tem pessoas próximas com idade avançada que você gostaria de aproveitar os últimos anos de vida?</li><li>É um problem pra você não ver sobrinhos ou até filhos crescerem?</li><li>Como você imagina que seria lidar com a morte de um ente querido ficou no Brasil?</li><li>Você se adapta bem à longos períodos de frio ou calor? Lembrando que frio não é escolher 18 graus no ar condicionado, e calor não é o final de semana na praia.</li><li>É crítico pra você fazer amigos no ambiente de trabalho?</li><li>É importante ter programas de amigos nos feriados e finais de semana?</li><li>Você entende que sempre será visto como estrangeiro, e algumas pessoas vão até não gostar de você pelo simples fato de ser estrangeiro?</li></ul><p>São perguntas que não representam muito para algumas pessoas, mas se você ficou em dúvida em algumas das respostas, talvez seja melhor pensar um pouco mais, e começar se mudando para outra cidade, possivelmente há no Brasil alguma cidade que tenha melhor estrutura do que a que você mora agora.</p><h4><strong>2. Escolha um país</strong></h4><p>Bom, considerando que você pensou sobre todos os motivos pra ficar e ainda sim gostaria de ir embora, é chegada a hora de escolher o país. Muita gente assume a posição de “qualquer lugar é melhor”, e isso é longe de ser verdade. Não existe um lugar perfeito no mundo, todo lugar tem problemas, você só precisa escolher com qual problema vai viver.</p><p>A escolha do país deve ser feita baseada primeiramente no motivo que você está deixando o país. Por exemplo, se você está frustrado com o sistema de saúde brasileiro, não faz sentido migrar para um país apenas por conta de salários altos onde você não teria fácil acesso à saúde. Se você planeja ter filhos, ou já os tem, é importante um local onde seja seguro, onde a educação seja barata ou gratuita, e de qualidade. Caso segurança seja a principal preocupação, isso também é um aspecto importante. Existe um mito de que todo país é seguro ou de que não há crimes, isso de fato acontece em algumas cidades de países específicos, mas não é regra e sim exceção, obviamente que certos países são notáveis pela segurança, e por isso você deve pesquisar e se informar sobre os países que possuem o que você mais busca.</p><p>Muita gente procura emprego em diversos países ao mesmo tempo, eu particularmente acho importante ter um <strong>foco</strong>, estudar o local, saber o que vai encontrar, e principalmente saber responder a pergunta “por que você quer morar em X?”.</p><p>Escolhido o país é bom estudar o mercado de trabalho, e principalmente a área específica que você trabalha. Então se você é programador, é bom analisar como está o mercado da linguagem de programação que você domina melhor, a faixa salarial, quanta experiência eles pedem.</p><p>Durante as entrevistas você será questionado sobre o salário que você quer, e a sua resposta vai decidir desde se você continua sendo uma opção até o quão eles acreditam que podem esperar de você. Saiba essas informações antes de ir para entrevista, dizer “estou aberto para negociações” não vai te ajudar.</p><h4><strong>3. Fortaleça o idioma necessário</strong></h4><p>Sempre que vejo pessoas falando sobre sair do país, a frase quem vem em seguida é sempre relacionada à aprender inglês. “Eu preciso voltar pro curso”, “Mas meu inglês ainda não está bom”, “já faz tempo que eu não falo inglês”, “vou melhorar meu inglês, e então…”. Tem também aqueles que não consideram países que não tem inglês como língua oficial, principalmente por pensar que todo lugar é igual ao Brasil onde, dependendo da cidade/estado, é extremamente difícil achar pessoas que falam inglês.</p><p>Sobre a primeira parte, não vale a pena entrar no mérito do que porque as pessoas criam barreiras para correr atrás dos objetivos, vamos tratar do mais importante, que são as soluções. Existem diversas maneiras de se aprender ou aprimorar o inglês, que vai do gratuito até as mais caras:</p><ul><li>Apps e sites de idiomas — Existem diversos Apps de idiomas bastante usados para aprender não só inglês como outros idiomas, os mais famosos são <a href="https://www.babbel.com/">Babbel</a> e <a href="https://www.duolingo.com/">Duolingo</a>. Na minha opinião eles não são as ferramentas mais poderosas de aprendizado, mas estes apps são bastante convenientes já que te permitem aprender em pequenas pausas do dia a dia, como em filas de espera, no transporte público, antes de dormir, etc.</li><li>Filmes e series — É provável que você já assista muitos filmes e series, e possivelmente até já mantém o áudio original, uma técnica que eu mesmo adotei quando comecei foi assistir um episódio ou filme legendado em português, depois assistir novamente legendado em inglês, nas duas vezes com o áudio em inglês. A idéia da primeira vez é entender claramente o que é dito, e na segunda que você já sabe o contexto, se concentrar na pronuncia e vocabulário, sem se distrair com a história que você já sabe. Assistir duas vezes também garante que você realmente está focado no idioma, e não apenas na sequencia de episódios.</li><li>Hospedando turistas — Existem sites especializados em oferecer hospedagem para turistas (de graça ou não), como <a href="http://couchsurfing.com/">Couchsurfing</a> ou <a href="http://airbnb.com/">Airbnb</a>, que te permitem criar oportunidades de conversar e até fazer amizade com pessoas de outros países. Perceba que esse tipo de experiência vai fortalecer exatamente o ponto mais crítico no aprendizado de inglês, que é a conversação, e o enriquecimento de vocabulário e pronuncia.</li><li>Hospedando intercambistas — Existem escolas de idiomas e instituições que trazem intercambistas de outros países e hospedam em casas de pessoas voluntárias, como <a href="http://aiesec.org/">AIESEC</a> por exemplo. É uma experiência bastante enriquecedora, já que você terá alguém por algumas semanas ou meses no seu apartamento o que contribuirá imensamente para aprender parte da cultura e da lingua de outro país. Procure se informar na sua cidade.</li><li>Cursos de inglês — Esse é o mais obvio de todos, mas mesmo assim deve ser escolhido com muito cuidado, não adianta ir para uma turma com 40 pessoas e um professor que fala tudo em português. Também é possível, por um custo não tão alto, encontrar estrangeiros que dão aula particular, é só procurar na internet.</li></ul><p>Sobre a segunda parte, pra quem trabalha com TI, se o país tem ou não inglês como língua oficial, muitas vezes é irrelevante, com a escassez de mão de obra qualificada em diversos países da Europa, por exemplo, boa parte dos departamentos de TI são formados por estrangeiros, que muitas vezes nem falam o idioma local. Então inclua países como Alemanha, Noruega, Holanda na sua lista de busca.</p><h4><strong>4. Prática e teoria caminham juntos</strong></h4><p>Perceba que as empresas trazem profissionais de fora do país quando elas acreditam ter encontrado alguém que domina o conhecimento sobre a tecnologia que elas buscam, esses profissionais são os então chamados especialistas (nada tem que ver com especialização académica). Dito isso, é importante mencionar que um especialista tem experiência profissional na área e domina a teoria sobre o assunto.</p><p>É comum achar profissionais de TI, que possuem um longo currículo, acreditando que isso, por si só, vai garantir uma vaga em uma empresa em outro país, e justamente por isso terminam não indo bem na entrevista. Isso porque os processos seletivos nas empresas no exterior, muitas vezes incluem uma rodada de perguntas teóricas sobre a tecnologia que você trabalha, e não tenha duvida que essa fase é de extrema importância. Então antes de aceitar fazer uma entrevista na empresa que você realmente quer trabalhar, use algumas semanas ou meses para estudar a teoria sobre a tecnologia que você está buscando emprego.</p><h4><strong>5. Procurando emprego</strong></h4><p>Procurar emprego no exterior não é uma tarefa difícil, todos sabem que há uma falta de mão de obra especializada em basicamente todos os países desenvolvidos. A melhor maneira de achar emprego de TI depende do país que você quer trabalhar, eu diria que no geral duas ferramentas se destacam em todo o mundo <a href="http://linkedin.com/">LinkedIn</a> e <a href="http://careers.stackoverflow.com/">StackOverflow Careers</a>.</p><p>Ter um perfil no LinkedIn (em inglês obviamente) é imperativo, esse perfil vai ser o seu CV e por isso trate ele como tal. Inclua uma foto profissional, descreva a sua experiência profissional (se possível a cópia dos textos do CV), inclua links para os seus trabalhos, e seja profissional no uso da ferramenta, LinkedIn não é Facebook. LinkedIn também inclui um app chamado LinkedIn Jobs, que como o nome já diz, é especifico para a busca de empregos, incluíndo vagas em todo o mundo.</p><p><a href="http://stackoverflow.com/">StackOverflow</a> já é uma ferramenta conhecida por todo desenvolvedor, e ajuda bastante ter um bom score na ferramenta. O que muita gente não conhece é o StackOverflow Career, que é justamente a parte de busca de empregos da ferramenta. Neste site você pode escolher cidades no mundo todo e achar vagas de empregos nessas cidades.</p><p>Fora isso, a maioria das empresas possuem uma sessão de vagas no site, cabe ao profissional saber as empresas interessantes.</p><h4><strong>6. Enviando currículo</strong></h4><p>Bom, essa é a parte que parece simples, mas não é. Recentemente recebi uma mensagem dizendo “enviei mais de 100 CV e nunca recebi uma resposta”. O motivo para isso podem ser vários, mas existem coisas importantes que devem ser levadas em consideração quando fazendo um CV para uma vaga no exterior:</p><p>Foco — Para mim essa é a palavra que define todo o processo de sair do país, e é também a palavra que deve definir o seu CV. No Brasil é comum achar vagas de empregos que pedem experiência com dezenas de tecnologias, linguagens, para trabalhar com uma coisa específica, e por isso os CVs vem recheados de coisas que o profissional ou nunca usou, ou tem um conhecimento extremamente superficial. Isso não é bem visto no exterior. Como eu mencionei antes, as empresas buscam especialistas, e para se tornar um especialista um profissional precisa principalmente de foco, e o CV mostra se houve foco ou não. Quando descrever as atividades em cada empresa, não tente mostrar que você fazia do levantamento de requisitos ao pós venda, pois isso vai trazer o seu CV para o lixo, foque na tecnologia que você está buscando trabalho, e nas que você realmente trabalhou todos os dias, não esqueça da entrevista teórica, colocar tecnologias que você não domina só vai te atrapalhar.</p><p>Cover letter — Muitas empresas gostam de receber uma cover letter junto com o CV, pode até ser no corpo do email que você está anexando o CV, ela deve brevemente descrever você, o motivo que você acredita que você se encaixa naquela empresa, e no que o seu conhecimento vai contribuir para o time, para o produto e para empresa em si. Como estamos falando de uma mudança de país, incluir o motivo que você gostaria de se mudar para o país pode ser interessante.</p><h4><strong>7. Se preparando para entrevista</strong></h4><p>Normalmente as entrevistas serão feitas por conferência, algumas vezes apenas por áudio e outras também por video. Então algumas instruções básicas:</p><p>1 — Construa uma lista de perguntas e respostas e estude-a. Responder o maior número de perguntas possível com confiança faz uma grande diferença, principalmente considerando que você estará falando outro idioma. Então comece pesquisando algumas perguntas na internet, depois adicione as que você encontrar nas entrevistas que fizer, escreva boas respostas para elas e depois ensaie, isso dará mais confiança e fluidez à conversa.</p><p>2 — Vá para um local com boa internet e que seja silencioso. Desligue telefones, separe um momento onde você não será interrompido, faça exatamente como você faria se fosse à uma entrevista de emprego na empresa.</p><p>3 — Esteja bem vestido. Você não saberá se a entrevista vai ser por video ou não, e estar preparado é sempre importante. Antes da entrevista ligue a camera, e veja como está a visão deles, evite ambientes bagunçados ou com pouca luz.</p><p>4 — Dependendo o quão confiante você é no idioma, praticar antes da entrevista pode ajudar, cada pessoa tem a sua maneira, encontre uma que ajude o seu cérebro à se acostumar com a mudança da lingua, leia um texto, assista um filme ou seriado, leia as respostas das perguntas em voz alta, qualquer coisa que ajude a evitar a gagueira inicial da conversa em outro idioma.</p><p>5 — É provável que você fará mais do que uma entrevista, então sempre anote as perguntas/tópicos que foram abordados na entrevista e você não foi bem na resposta, e use essa informação para se preparar melhor para a entrevista seguinte.</p><p><em>Do meu lado é isso, foco e boa sorte.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7067e86f93c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why companies should encourage side projects]]></title>
            <link>https://medium.com/@roberto_ferrazn/why-companies-should-encourage-side-projects-b056d677ab76?source=rss-fe3c4538796f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b056d677ab76</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[side-project]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Roberto Ferraz]]></dc:creator>
            <pubDate>Wed, 24 Feb 2016 09:33:36 GMT</pubDate>
            <atom:updated>2016-02-24T10:23:17.085Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*26s2GutN6X7uwM54EoYzQQ.jpeg" /></figure><p>There are two big reasons why I support that developers should be encouraged to have side projects. One is the technical improvement they bring, and the second is their possible outcome, which can be psychological improvement and/or a product improvement (even a completely new one).</p><p>There are several studies in the field of psychology about the benefits of side projects and creative hobbies (for example <a href="http://onlinelibrary.wiley.com/doi/10.1111/joop.12064/abstract;jsessionid=D345351D89C653ABFA032E325F390FDA.f03t04">this article</a> from the Journal of Occupational and Organizational Psychology). They provide a good base for what companies like Google, 3M, HP, Altassian are doing when <a href="http://lifehacker.com/5932586/make-work-feel-less-like-work-with-the-8020-rule">giving 20% of the working time</a> for the employee work on something they want.</p><p>So, in 40 hours working time, the employees have 8 hours to work on something they choose, which is obviously different from their daily projects. This is also done as 20% of the month or even the year, but in my opinion this is way more complicated to achieve as you lose man power for long periods of time and many companies can&#39;t afford this.</p><p>The result of letting your employees choose what they want to work during 8 hours per week can go from becoming more motivated, through learning about new technologies, to possibly creating <strong>completely new products</strong> that can change the whole business or <strong>disrupt the market</strong>.</p><blockquote>“(…)many cool technologies have their origins in 20 percent time, including Gmail, Google News and even the Google shuttle buses that bring people to work at the company’s headquarters in Mountain View, Calif.” <a href="http://www.nytimes.com/2007/10/21/jobs/21pre.html?_r=0"><em>NY Times</em></a></blockquote><p>In the book <a href="https://www.w3.org/People/Berners-Lee/Weaving/Overview.html">Weaving the Web</a> (1999) written by <a href="https://en.wikipedia.org/wiki/Tim_Berners-Lee">Tim Berners-Lee</a>, he mentions how the 10% time for side projects offered by HP in 1993 made possible for <a href="https://en.wikipedia.org/wiki/Dave_Raggett">Dave Raggett</a> to contribute to the creation of the HTML. Apparently Berners-Lee himself also made use of a side project time to create the World Wide Web, as he described <a href="http://www.ted.com/talks/tim_berners_lee_on_the_next_web">on his TED presentation</a>:</p><blockquote>“So going back to 1989, I wrote a memo suggesting the global hypertext system. Nobody really did anything with it, pretty much. But 18 months later — this is how innovation happens — 18 months later, my boss said I could do it on the side, as a sort of a play project (…) So I basically roughed out what HTML should look like:hypertext protocol, HTTP; the idea of URLs, these names for things which started with HTTP. I wrote the code and put it out there.” <em>Tim Berners-Lee</em></blockquote><p>In fact, there are in the technology field, plenty of remarkable examples of how great things can be done by letting your developers choose what to work on, even if it is just during 4 to 8 hours per week.</p><blockquote>My employees can always bring me ideas, and I will listen to them carefully, they shouldn&#39;t waste time with projects that doesn&#39;t interest us</blockquote><p>It is common that managers claim to have an open channel to listen to their employees, and most of them actually believe on it. Don’t understand me wrong, they probably want to listen and analyse every single idea they receive, which are often too many, but sometimes it’s just hard to see the value on something that is working in front of you, imagine just listening about it. Plus, after listening to hundreds of ideas, you probably get more skeptical about something being as good as their believers claims.</p><p>Take Paul Buchheit for example, working as side project he developed Gmail and AdSense, people didn’t believe in any of them, in fact some of his superiors said Gmail would destroy Google&#39;s name. The second project, AdSense, when he described the concept to his superior, he heard a clear order to NOT work on this <strong>creepy</strong> idea of a system that reads people email to offer targeted Ads. He didn’t listen to them, he worked during the night and released AdSense by morning. After the founders saw it working, it became a high priority project, and the result is: AdSense generates more than $10 billion per year, and Gmail is the world’s top e-mail service. If he had trusted in the open channel and the expertise from his managers, imagine the impact of it on the company today.</p><blockquote>Nah, these companies are huge, they have money, I can&#39;t have people not working in our products for one hour</blockquote><p>That is a common mindset, and it is completely wrong, in fact, many companies that today are huge, came from side projects of companies that had nothing to do with their initial business. For example, Flickr, came from a side project of a nearly broke game company, Blogger also came from a side project from a management software company, and the same for Twitter that came from a 20% time project in a Podcast company. As you see I could go on with the list to show how this concept is not only possible for big and rich companies, as in fact it saved some small companies from breaking and helped others to innovate. There is an interesting book called <a href="http://www.amazon.com/The-20-Doctrine-Tinkering-Breaking/dp/0062003232/ref=tmm_hrd_title_0">The 20% Doctrine</a>, by <a href="https://medium.com/u/d44eb573da12">Ryan Tate</a> that you can find more about these and other companies.</p><p>Instead I would highlight some of the benefits from a developer point of view.</p><ul><li>Developers need to constantly update themselves about new technologies, and to rely on their free time out of the company (shared with hobbies, family, friends, health, sports, sleeping, tv series) might sound fair, as every professional needs to be updated, but it might also be too less. Of course, you already invest in training and conferences (you should), but side projects create a time at work to explore new technologies, frameworks, to face new problems and improve. The result will be a developer which is experienced in different fields and technologies.</li><li>The ownership of a side project can give a better understanding about things that someone just sitting on the last part of the execution might not. It will improve the empathy with managers and founders, create sense of priority and will make it easier to understand the changes in the product and the company. Many companies want to find employees with an &quot;entrepreneur profile&quot;, but normally they don&#39;t want to create it.</li><li>Some companies like Spotify understand very well the role of making mistakes in the evolution of a product (<a href="https://labs.spotify.com/2014/03/27/spotify-engineering-culture-part-1/">check Spotify engineering culture</a> for more info), but unfortunately many others still don&#39;t embrace this, creating a very stressful environment. I believe that in everything in life we learn from mistakes, and this is the best thing about side projects, you can make mistakes all the time, there is no stress about it, there is always room to start again, improve, and this will also contribute strongly to an inner growth.</li><li>Confidence. I could just end this item with this word, it just explains itself, after acquiring more skills, learning about ownership, improve technically and getting more motivated, a developer will also be more confident about his own work and himself. Confidence will then lead to faster results.</li><li>Your team might see your software in a different way than you do, some would use it, some believe stuff could be different, some other would love to see that missing feature on it, sometimes to explain and defend an idea is not simple for everybody. When you let people do whatever they want with your product, the result might be a very interesting feature or a complete new product you didn&#39;t imagine before.</li><li>Many developers are just frustrated because they have expectations, ideas, probably a different view of success than you have. But what they normally don&#39;t have is time, to put these stuff down, and because of that they hate their job, not for what they do there, but for what they can&#39;t do because they are there. Needless to say that the opposite will be true, people that has time to work on the stuff they love, will be happier and like their job more. The testimonies claims that the work done on the 20% results in a <a href="https://open.buffer.com/side-projects-creative-hobbies/">80% time that is more</a> productive and more creative, even more than when working 100% of the time on the same thing (which doesn&#39;t exist).</li></ul><blockquote>So my releases won&#39;t be delayed?</blockquote><p><a href="https://open.buffer.com/side-projects-creative-hobbies/">As I said the 20% time boosted the work performance</a>, but I can&#39;t say that will happen in your company as it depends on a lot of other factors, specially on how you manage the remaining 80% and how seriously your team takes the working time, but everybody agrees that a productive and motivated team working 32 hours will deliver more than a frustrated team working 40 hours.</p><p>The result can&#39;t be measured only on the number of releases, as your employees will be working more satisfied, the company will benefit on better technologies and possible cool new features. It is like Ryan Tate mentioned on his book:</p><blockquote>They trust that people will do awesome things when given room to do it, and they take great pains to create that room.</blockquote><p>It is not written anywhere that a 40 hours work load is what you need and that it will result in better products than a 32 or 36 hours for example. Actually it is written the opposite, the side projects time brings better results. You need to decide what you want to achieve, if it is all about numbers, releases, bugs and downloads. Then I am surprised that you read till here, but if you want to build something meaningful, you should be thinking about other factors. Keep in mind that talented people won’t stay in a company that lock them up and more, lock their creativity.</p><p>Give marketing time to explore new concepts, give IT room to create new prototypes, new features, let the product team create and rethink your product, encourage new ideas, reward creativity, and in the worst case, you will end up only with a strongly motivated team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b056d677ab76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your team needs some Code conventions]]></title>
            <link>https://medium.com/@roberto_ferrazn/your-team-needs-some-code-conventions-fdd9826ef585?source=rss-fe3c4538796f------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdd9826ef585</guid>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[app-development]]></category>
            <dc:creator><![CDATA[Roberto Ferraz]]></dc:creator>
            <pubDate>Tue, 16 Feb 2016 13:31:08 GMT</pubDate>
            <atom:updated>2020-01-23T16:08:39.395Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been an iOS developer for a bit more than six years, and from these years, four of them I was coding almost by my own rules on my own company. I always saw my code as a great thing, wrote comments, had nice naming strategies, read books, went to courses, conferences, how could my code be bad?</p><p>Today I looked at that code and laughed, it was terrible. Don&#39;t understand me wrong, my logic was fine, but the code had no standards at all, feels like 5 different people were writing it without talking to each other, when actually was just me.</p><p>In 2014, my objectives changed, I wanted to be part of something that would reach the world, so I grabbed my computer and moved to Germany, where I still live. As my first job in Germany, I started working for a company that gave great importance to standards and quality, and in this company, to get code merged wasn’t a matter of simply making something work as I was used.</p><p>In my first day, I was presented to the code convention document, which was a Git page with a set of &quot;do&quot; and &quot;don’t do&quot;, that would go from avoiding unnecessary white lines to method naming strategies or which kind of data types or enumeration we should use. That was new for me, at first I thought a bit old school, in a agile world you had to stick with some rules that were not even the &quot;new trends&quot; or the fastest codes? Just rules!</p><h4>So the first thing: The idea of a Code convention is not to describe the &quot;high level code&quot; or the code that brings the best performance.</h4><p>Some people believe that code convention is a waste of time because a good developer should know how to write good code. But to think that code convention is about writing good code is not really right, the real objective of the code convention is to create a standard code style, that will make every piece of code look and feel the same, as it was written by one single developer. At the end this will result in code that is more readable and maintainable.</p><blockquote>Does every team need code convention?</blockquote><p>For sure and I would go beyond, if you are developing software by your own, you should have a code convention for yourself. If you don&#39;t agree, just go and check some code you wrote alone and see in how many different ways you might have written the same thing. It just depends on how tired/lazy/distracted you were. I am not saying you have to create a document with code conventions when coding alone (not saying to not do it either, might be a good exercise), but you should get used to write code in a consistent way. So, needless to say that a team needs a code convention, what I can say is that there are signs showing how much not having one is being bad for your team.</p><ul><li>When your team is growing fast and you always have new developers &quot;jumping&quot; in the middle of the code, writing stuff their own way.</li><li>When the same kind of comment/questions shows up in all pull requests.</li><li>When often there are discussions about which kind of logic should be used for a common behaviour (e.g enumerations), and the discussion runs about opinion, performance or readability.</li><li>When people start to wonder why something was coded in that way or <strong>by who</strong>.</li><li>When you can see by looking to the code, <strong>who</strong> wrote which part.</li><li>When some developers can&#39;t understand a piece of code written by someone else, and worse, one developer asks the other to explain a piece of code.</li></ul><h4>The code convention should be written, discussed and agreed among the team.</h4><p>There are many coloborative places where you can create your code convention, I like to use Git because the developers are already familiar with it, and who likes to have one more tool in their stack? But what I think it is the most valuable feature on this choice is the pull request. It creates a nice process every time a new convention is added, or an old one updated. Every developer can comment, discuss, and at the end decide to approve or not. After the whole team decided, the update gets merged or declined. With this you make sure not only that everybody is aware of the convention changes, but they can also give their opinion and you end up with a very good set of instructions for everybody.</p><blockquote>I don’t think the developers will like to change the way they code</blockquote><p>A code convention is mainly necessary to set a default way of coding, which basically means that not everybody is coding that way. Of course, it will result in someone giving up a code style in order to follow what is best for the project, but that is part of working in a team, and more, a good developer needs to have in mind that the code convention is better for the group and project, and this is much more important than personal interests.</p><p>So, the right team won’t make the convention a problem, but it is likely and strongly recommended that some discussion about performance and readability will come up. They spread knowledge, enrich the convention, and the result is always good. But if the discussion is not coming to an end, my solution for this problem is to answer the question with another question, is the performance improvement relevant and needed in this case? Should we sacrifice readability for this improvement? If it is, then go for it, and add it to the convention, if it is not, readability is the one. Readability or Performance should be part of your code convention to settle questions that your conventions don&#39;t clarify.</p><blockquote>So, we worked for months/years/ages without any code convention, are we lost?</blockquote><p>For sure, the perfect scenario would be to have some code convention right before starting writing a line of code (which will happen in your next projects), but the world is not made of perfect scenarios, but we can still make it work.</p><ol><li>Get the current state of your code, it can be a fast scrolling between few of the classes that are constantly updated or by checking the latest pull requests if you have them (you should) and see what the developers are coding in different ways. With this you will find all sort of things, people using different types of variables for the same kind of situation, method names that are written in different ways, abbreviations, different enumerations with the same objective, random data types in all kind of situations, etc. Get all these items and write them down. You will have your first bunch of code &quot;not following any convention&quot;.</li><li>With your list in hand, you can either make a short meeting with your developers to discuss why they code in that particular way and from that get the best way (for the software). Or you can write already an initial convention, then make a pull request and each member write their comments and get to the best decision.</li><li>After the discussion when all items are settled, you merge the convention and people should start coding using what was agreed.</li><li>From now on, <a href="https://medium.com/listen-to-my-story/why-i-code-reviews-a2f3df8037a3#.tl3i0p5pa">code reviews</a> (you should do that too) should also check for the code convention.</li></ol><blockquote>Sound great, but that won&#39;t fix the old code and I don&#39;t want to use time to change it</blockquote><p>This is a normal thing, the same way you didn&#39;t have conventions and now you have, they might (and should) change in the future and that doesn&#39;t mean that you will go back and change all your code or search and replace everything (please don&#39;t).</p><p>The approach I follow is, if you touch existent code, that doesn&#39;t fit the convention, now that code is yours and you have to fix it, even if you were not it&#39;s former author. This will ensure that your software will always be improved, specially when you start refactoring it (I hope you are doing it too).</p><p>The advantages of having a good code convention are plenty, the most important for me are:</p><ul><li>Everybody codes the same way, which means that everybody should be able to read all the code, doesn&#39;t matter who wrote it.</li><li>When a new developer joins the team, the adaptation time is short and less time is wasted explaining why this method name is not right or why he should use an <em>unsigned int</em> instead of an <em>int </em>here and there.</li><li>The team relies less in the developer’s common sense and more in a set of discussed and clear conventions.</li><li>If the convention is nice, the code always looks and feels nice! (Is there anything better than to look through code we understand?)</li></ul><p>Writing code following a convention will, for sure, result in a more readable and maintainable software for the whole team, and this is extremely valuable. Less time will be spent understanding the code and the evolution of the software can go in a more linear way, reducing the time that pull requests need to be merged. Aren&#39;t these enough reasons to stop and write down some conventions?</p><p>If you work in a team that doesn&#39;t have a code convention, create one and share how it went, if you do have a code convention, I will be glad to know how that changed the way you code and the impact on your project!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdd9826ef585" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>