<?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 Thomas Salandre on Medium]]></title>
        <description><![CDATA[Stories by Thomas Salandre on Medium]]></description>
        <link>https://medium.com/@thomassalandre?source=rss-7ee0c083c5b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xx1h-_UoiYth112XGWiGQA.png</url>
            <title>Stories by Thomas Salandre on Medium</title>
            <link>https://medium.com/@thomassalandre?source=rss-7ee0c083c5b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:48:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thomassalandre/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[The more devs the merrier ? (Part 2)]]></title>
            <link>https://medium.com/blablacar/the-more-devs-the-merrier-part-2-7488b0ff18c5?source=rss-7ee0c083c5b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7488b0ff18c5</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[organizational-culture]]></category>
            <dc:creator><![CDATA[Thomas Salandre]]></dc:creator>
            <pubDate>Thu, 20 Aug 2020 09:45:46 GMT</pubDate>
            <atom:updated>2020-08-21T12:50:40.316Z</atom:updated>
            <content:encoded><![CDATA[<h3>The more devs the merrier? (Part 2)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QfxoF4TtLdVpEJTZuyNYeA.jpeg" /></figure><p><em>In the </em><a href="https://medium.com/blablacar-tech/the-more-devs-the-merrier-part-1-e3fd041c0a10"><em>first part</em></a><em> by Android dev </em><a href="https://medium.com/u/71befbdeadda"><em>Anthony Reboul</em></a><em>, we talked about the technical improvements you can make to work with a bigger team of engineers. Let’s talk now about the team management and organization with the example of BlaBlaCar’s Android team.</em></p><h3>3 — Team spirit and organization</h3><p>We all know this: change can be painful! <br>Communicating between a group of engineers is not simple: new colleagues, different points of view, expertise and personalities… There is a lot to handle!</p><p>One of the biggest challenges for our team was<strong> to maintain good communication </strong>as we grew<strong>.</strong></p><p>We decided to work on:</p><ul><li>Defining and writing clear<strong> coding and architecture rules</strong></li><li>A <strong>review process </strong>that allows us to be fast, efficient and maintain high quality in the app</li><li>Determine a <strong>recurring moment</strong> for the team to communicate and improve its process</li><li>Settle an <strong>onboarding policy</strong> and a set a <strong>positive</strong> <strong>team mood</strong> that allows each level of expertise and personality to work on the project</li><li>Finding the <strong>right team organization </strong>within the company</li></ul><h3>Coding and Architecture rules</h3><p>The more engineers you get, the more technical opinions you have! <br>There is an infinite way to write the same code, and each software engineer has his background. <br>The main benefit of writing coding rules is to make each code review easier and smooth. <strong>No more debates or long discussions</strong>. The code has to follow this rule that has been voted. Of course, anyone can challenge the rules or discuss adding new ones.</p><p><strong># Tip 1: Take time to define Code Style with your team.</strong> <br>56% of the code review comments are for code style convention (totally random statistics ;-))</p><p>You can save a lot of time by spending some editing the code style file of your project.<br><em>Preferences -&gt; Editor -&gt; Code Style</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fIteM5UaE9bSzSFy" /></figure><p><strong># Tip 2: Write a coding rule document and update it</strong></p><p>It can be very useful to write all the coding conventions of your team. Be exhaustive and cover all the aspect of your code :</p><ul><li><em>PR Process</em></li><li><em>Git Flow</em></li><li><em>What is a good template for a PR</em></li><li><em>Usage of Presenter in MVP</em></li><li><em>Testing convention</em></li><li><em>…</em></li></ul><p>It will help at 3 aspects :</p><p>1- Newbies can have a very well defined framework and feel more confident to push their first pull requests and have it validated faster</p><p>2- As a checklist for PR to be sure to cover all the aspect of the code when you review it</p><p>3- The more engineers you get, the more debate you have. After hours of discussion, you will eventually find a good compromise for the best way to write this kind of code. <strong>It’s important to write it</strong> so that next time you will encounter this debate there will be an immediate answer to it.</p><p><strong>#Tip 3: Debate and build an architecture guide of your code</strong></p><p>Once again, it‘s first of all a matter of saving time by setting all the rules when you start coding a feature:</p><ul><li><em>What should my architecture be?</em></li><li><em>Should I create a new module?</em></li><li><em>How should I navigate from one feature to another?</em></li><li><em>Should I do this logic in my activity? (No you shouldn’t!)</em></li><li><em>…</em></li></ul><p>But it’s more than that. Architecture is something in the long run, that evolves with years, testing and experience. And there is a high probability that you work on an architecture that was defined by someone else that isn’t on the team anymore, or that you define an architecture that someone you don’t know yet will follow. <br>This document should explain the logic and idea of the team at the <em>present</em> time and how it should evolve in the <em>future</em>. And how it handles legacy code from the <em>past</em>. This is why it should also include a <strong>legacy migration plan</strong> into it!</p><p>Don’t hesitate to put a lot of code examples into it. See some sample from our architecture guide :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rJ532_quafRt5OVM" /></figure><p><strong><em>Important:</em></strong><em> even if those rules are written, make them live! Iterate on it, debate it with your team whenever it’s relevant! it should be a guide, not a dictatorship!</em></p><h3>A review process full of kindness and efficiency</h3><p>As the team keeps growing, the code review becomes more and more important because there is a lot of code is changing every hour. <br>If we want to keep a high standard of quality for the app, we need to pay particular attention to the code review process.</p><p>Warning: This is a very critical step in your team organization:</p><ul><li>A too light process would let some bad quality code in production, and the team would not be aware of the evolution of a large part of the code</li><li>A too restrictive process would be discouraging, would affect trust between the members of your team and set a very bad mood, and it would decrease the productivity of the team</li></ul><p><strong>#Tip 1: Find the best number of mandatory approval for your Merge Request :</strong></p><p>If you are a team of 3 people, having 2 mandatory approvals to merge a request can feel a little too much (what happens if someone is busy or on holiday…) It represents a large amount of work.</p><p>On the other hand, with a growing team and some juniors in the team it can be dangerous to accept a Merge Request with just one approval.</p><p>In the BlaBlaCar’s Android team, we feel like<strong> 25 %</strong> is the magic number. One quarter of your team should have approved your work to be merged.</p><p><strong>The wrong good idea: </strong>Considering the team was growing fast, and we had a lot of new people that didn’t know the legacy code and junior in the team, we decided to create two groups of reviewers :</p><p>-the optional reviewers and the mandatory reviewers. Basically you had to have one approval from a mandatory reviewer to be able to merge your Merge Request.</p><p>Why was it not a good idea? It created a difference of judgment between reviewers where you need trust ! And furthermore it results in disengagement from some reviewers (why should I review if my point of view is not taken into consideration). So we changed this.</p><p><strong>#Tip 2: Use symbols to prioritize your reviews :</strong></p><p>To help prioritize the review and being more efficient, we use a symbolic code. In order to differentiate a critical bug from a trivial one and accelerate the process review:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/44/0*-Ro0Q8OfNXQXhDHk" /><figcaption><em>Change is mandatory, it means the current code has or will have a serious negative (if not damaging) impact, it must be fixed before merging.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/44/0*BYCbp0n92v9XAmzA" /><figcaption><em>Change highly recommended, it means the current code has problems that are detrimental to good practices or to operation, this should be fixed at some point but preferably in the same PR to avoid forgetting about those.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/44/0*e_O73WrI0xuJHjIm" /><figcaption><em>Information, question or suggestion.</em></figcaption></figure><h3>Recurring time to talk and continuous improvement</h3><p>Because the team has grown very fast, a lot of things are evolving on a daily basis. Change in the architecture, in the process, in the scope of the project, in the way you work on a daily basis. That is why communication is very important! How do we communicate as an Android Team within Blablacar?</p><p>Every Tuesday, we have a recurring meeting called <strong>Chapter Android Meeting.</strong></p><p>This idea of this meeting is to have a moment for the team to improve itself. Here we can talk about everything that affects our Android team and processes :</p><ul><li><em>Discussion about architecture</em></li><li><em>How can we improve our coding review process?</em></li><li><em>Our onboarding process</em></li><li><em>What are the next technical developments we want to do?</em></li><li><em>Presentation of POC / New libraries / Coding rules / An article you want to talk about</em></li><li><em>Testing strategy</em></li><li><em>Delivery process</em></li><li><em>…</em></li></ul><p><strong>#Tip 1: This is not a BlaBlaCar meeting :</strong></p><p>Mmm yes, technically it is, but ! This is a meeting to talk about Android, and not the current company projects. You should stick to how you can improve your team.</p><p><strong>#Tip 2: Write everything, it will be useful later.</strong></p><p>2 hours per week, with 10 engineers, is a lot of time. A lot of what you will talk about during this meeting is very valuable and will be useful later. A lot of debate occurs and a lot of important decisions are made. <strong>Designate a copywriter</strong> at the beginning of the meeting and write everything down. Each coding rule decision should be written clearly in the coding rule document, and same with the architecture document.</p><p><strong>#Tip 3: Assign tasks</strong></p><p>Each decision that starts with <em>“we should try to do this…” </em>should be transformed into a task assigned to someone of the team. At the beginning of the Chapter meeting, you can review the task of the last week to monitor the progress.</p><h3>“Let me set the mood right“</h3><p>The team at BlaBlaCar keeps growing and we are welcoming more and more software engineers.</p><p>You can encounter a lot of different personalities, depending on the level of experience and it is not always easy to make everyone work together.</p><p>For example, you all have heard of the <a href="https://medium.com/@rajeefmk/why-does-software-developers-suffer-from-imposter-syndrome-ccf961d0c29a">imposter syndrome</a> for software engineers. <a href="https://medium.com/@rajeefmk/why-does-software-developers-suffer-from-imposter-syndrome-ccf961d0c29a"><br></a>How can they manage to work with those who have the opposite: <a href="https://dev.to/fatosmorina/for-developers-ego-is-the-enemy-214">huge software engineer ego</a>! (<a href="https://www.jesuisundev.com/ego-des-developpeurs/">in french</a>)</p><p>To make everybody feel good and happy, we work on a lot of dimensions:</p><p><strong>#Axis 1:</strong> <strong>recruit people with a good mindset</strong></p><blockquote>“If you want to go fast go alone, if you want to go far go together”</blockquote><p>This is the philosophy of how we recruit people for our team, we want people that can fit in the team and help us go far! <br>In the company, your technical skills are as important as your mindset</p><p><strong>#Axis 2: Onboarding process</strong></p><p>Because when the team grows fast, a lot of people arrive in the project with no knowledge of the legacy code and team convention, it’s important to have an efficient onboarding process.</p><p>Take a lot of time explaining :</p><ul><li><em>How the company works</em></li><li><em>What are the coding rules of the team</em></li><li><em>What is the architecture</em></li><li><em>What is the Git flow of the team</em></li><li><em>Explain the release process</em></li><li><em>What is the vision of the evolution of the application</em></li></ul><p>Remember: <em>“Share more Learn more“</em>, this is one core value of BlaBlaCar, it’s important to give everybody in the team the same level of knowledge, to work efficiently as a team!</p><p><strong>#Axis 3: Learn to communicate</strong></p><p>Because there are a lot of people in the team, hence a<strong> lot of different personalities</strong>, it’s important to adapt your communication to the other ones. <br>Some tools are very useful :</p><ul><li><a href="https://www.processcommunication.com/"><em>Process Communication Model</em></a><em>: The art to adapt your communication to the personality you have in front of you</em></li><li><a href="https://medium.com/@eriktorenberg_/a-primer-on-nonviolent-communication-ac24fef17717"><em>Non Violent Communication</em></a><em>: How to communicate more efficiently by expressing your needs instead of expressing reproaches.</em></li></ul><p><strong>#Axis 4: Team building</strong></p><p>There is nothing more efficient to feel as a team, to go out of the office and do something cool together. This is once again important because the team at BlaBlaCar has grown very fast and we need to get to know each other better !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*akHQxemaTORKZi_R" /><figcaption>The BlaBlaCar Android &amp; iOS Team</figcaption></figure><h3>How BlaBlaCar organization enable bigger development teams</h3><h3>Squad + Chapter organization</h3><p>As we are a bigger tech team (not only on Android, but on every front team, iOS, Web and also backend) it’s not always easy to synchronize everybody. Let’s imagine meetings with 40 people in the room…</p><p>That is why BlaBlaCar decided to group people from each tech team into <strong>Squads</strong>.</p><blockquote>“A Squad regroups a team of multiple competences (tech / product / design / qa..) and the scope of the squad is restricted to a part of the customer journey (the search / the booking …)”</blockquote><p>So the same way our architecture enables us to work on a different part of the code together without any pain point, the squad organization enable us to work on different features without conflict!</p><p>There are 5 squads inside BlaBlaCar, and we feel it’s important to keep 2 people of each front technology inside each squad to be able to take the decision together. <strong>This is why we aim to be an Android team of 10 people.</strong></p><p><strong>Important Tip: Don’t colocalize your team by Squad / colocalize them by Chapter</strong></p><p>Yes, this is counter-intuitive! <br>But if you think about it, as an Android engineer, <strong>90% of your day time</strong> is spent writing Android code, thus it’s more convenient to sit close to your Android colleague, than your Product colleague. <br>It’s also easier to talk on slack about a product issue than a coding issue. <br>And finally, you will work on a specific scope within your squad, and it’s important to keep abound with your chapter colleagues to have a technical consistency.</p><h3><strong>Wrap up</strong></h3><blockquote>“You never change things by fighting the existing reality.<br>To change something, build a new model that makes the existing model obsolete.”<br>― <strong>Buckminster Fuller</strong></blockquote><p>What we learned during this journey is that we <strong>needed to reinvent ourselves</strong>, our model, our way of working to adapt to this new team size.</p><p>We needed a new architecture (modularization + clean architecture) to be able to work together on the same code, clear coding rules and processes to work efficiently. Organize ourselves as a team and work on our communication.</p><p>We also had to split our scope and responsibility to adapt to our size and company need, then we shifted to Squad organization. We then worked on our way to keep consistency as a team, a continuous improvement and a fun team spirit!</p><p>This is a work in progress, and you have to keep in mind that this should <strong>always be improved </strong>on a daily basis!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7488b0ff18c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blablacar/the-more-devs-the-merrier-part-2-7488b0ff18c5">The more devs the merrier ? (Part 2)</a> was originally published in <a href="https://medium.com/blablacar">BlaBlaCar</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Notes #2 —No more freezing in Android Studio simply by increasing the memory heap!]]></title>
            <link>https://medium.com/@thomassalandre/android-notes-2-no-more-android-studio-freezing-by-increasing-its-memory-heap-5e7b952fb172?source=rss-7ee0c083c5b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e7b952fb172</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[memory-management]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Thomas Salandre]]></dc:creator>
            <pubDate>Wed, 26 Sep 2018 14:44:22 GMT</pubDate>
            <atom:updated>2018-09-26T15:07:04.800Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This series of articles is a transcript of all the good inputs given on a daily basis by my fellow tech lead Nicolas Mouchel and other colleagues.</em></p><p>If you use Android Studio on a daily basis, you could experience annoying freeze especially when editing XML interfaces…</p><p>I used to restart the IDE twice or three times a day to avoid this but there is a much better solution :</p><p>If you go to <em>Help -&gt; Edit Custom VM Options </em>you will be able to<em> </em>Customize options for Studio’s Java Virtual Machine (JVM), such as heap size and cache size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*-T6jINOIkGP659Zwr7F86Q.png" /></figure><p><strong>Increase the maximum heap size</strong></p><p>By default, Android Studio has a maximum heap size of 1280MB. If you are working on a large project, or your system has a lot of RAM, you can improve performance by increasing the maximum heap size in the VM options for Android Studio</p><p>change the line using this pattern -Xmx<strong>heapSize</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*5o_FGNtc3Z0dVF7yHSYAkg.png" /></figure><p>Here it is, now you have a heap size of 2Go, which is largely enough to avoid freezing of Android Studio.</p><p><strong>Check the memory indicator</strong></p><p>And if you want to check how much heap memory Visual Studio is using in real time you can activate the indicator :</p><p><em>Preferences -&gt; Appearance -&gt; Show Memory Indicator</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*szIRGr4SN0MG68nyH3vl_Q.png" /></figure><p>And then you will have a small indicator at the <strong>bottom right</strong> of your Android Studio</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/110/1*jrywAApUp2dlkjDSCIz7aw.png" /></figure><p>Great isn’t it ?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e7b952fb172" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Notes #1 —Easier code review with call argument names on your data class]]></title>
            <link>https://medium.com/@thomassalandre/android-notes-1-easier-code-review-with-call-arguments-names-on-your-data-class-7affe0abb06e?source=rss-7ee0c083c5b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7affe0abb06e</guid>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[code-review]]></category>
            <dc:creator><![CDATA[Thomas Salandre]]></dc:creator>
            <pubDate>Wed, 26 Sep 2018 14:43:23 GMT</pubDate>
            <atom:updated>2018-09-26T14:58:50.070Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This series of articles is a transcript of all the good inputs given on a daily basis by my fellow tech lead Nicolas Mouchel and other colleagues.</em></p><p>In my company, we have a strong code review process and there has always been an issue with readability when dealing with classes which have several arguments. We used to use a Builder Pattern on Java but there is a much better solution with Android Studio and Kotlin data class.</p><p><strong>Problem</strong></p><p>Let’s define a data class in Kotlin with several arguments, for instance</p><pre>data class InboxThread (<br>        val message: String,<br>        val dateLastMessage: LocalDateTime,<br>        val memberPhotoUrl: String?,<br>        val memberNickname: String,<br>        val isPremium : Boolean,<br>        val isScam : Boolean,<br>        val scamReason : ScamReason?,<br>        val isAnonymized : Boolean,<br>        val threadMessageType : ThreadMessageType,<br>        val directionThread : ThreadMessageDirection,<br>        val isOnline : Boolean,<br>        val lastMessageRead : Boolean<br>)</pre><p>Android Studio, in a very smart manner, will automatically help you find which argument you are filling by writting the argument in small and grey letters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*G28PGcX-CbWfsFk2TRFsEA.png" /></figure><p>But unfortunately this is not the case when you are somewhere else. For instance on Gitlab it will look like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I9gB1dlnEXbnJqs6rviHew.png" /></figure><p>Not easy peasy to find out which argument it corresponds to…</p><p><strong>Solution</strong></p><p>So if you want the argument to always be displayed you can use the call arguments name option like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*wi0GmSWiKlWM1EFUizS90A.png" /></figure><p>It will look in blue in Android Studio :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*qGZ-UQ3J-oFKC2AjFp0B1g.png" /></figure><p>And be visible everywhere else, for example on Gitlab :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gPbh08GBAV1qkpPeXjenwg.png" /></figure><p><strong>Why it this so important?</strong></p><p>Without using the call arguments names, if one of my colleagues changes the order of two arguments (let say <em>isPremium</em> and <em>isScam</em>) nobody will see it because the signature of the code will be the same.</p><p><strong>This can lead to terrible failures!!</strong></p><p>With the use of call arguments name, you can change the order of any arguments of your data class without affecting the rest of the code :)</p><p>Great, isn’t it ?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7affe0abb06e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>