<?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[Lean-Coders - Medium]]></title>
        <description><![CDATA[Lean-Coders is a small software company specialized in web &amp; blockchain technology - Medium]]></description>
        <link>https://medium.com/lean-coders?source=rss----c0e881c8795---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Lean-Coders - Medium</title>
            <link>https://medium.com/lean-coders?source=rss----c0e881c8795---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 18:28:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/lean-coders" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understand const, as const and readonly in TypeScript — a comprehensive explanation]]></title>
            <link>https://medium.com/lean-coders/understand-const-as-const-and-readonly-in-typescript-a-comprehensive-explanation-1b54f24b35d6?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/1b54f24b35d6</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[strong-typing]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Stefan Woehrer]]></dc:creator>
            <pubDate>Wed, 07 Sep 2022 13:18:12 GMT</pubDate>
            <atom:updated>2022-09-07T13:17:24.012Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understand const, as const and readonly in TypeScript</h3><blockquote>“const” arrays and objects are not what you think they are!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9K5_wyYPnDiChG31" /><figcaption>Photo by <a href="https://unsplash.com/@mina_b?utm_source=medium&amp;utm_medium=referral">Amina bhh</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>… because you can actually change contents of arrays and objects, even when they are defined as <em>const!</em></p><p>In this article, we will dig into the hearts of the compiler and the type system in order to understand how to handle TypeScript’s mechanisms of defensive programming, what pitfalls there are, and how to cope with them.</p><h3>The role of the compiler</h3><p>To fully understand <em>const</em>, <em>as const </em>and <em>readonly</em>, we have to know that the TypeScript compiler operates sequentially in 2 big steps:</p><ol><li>Type-Checking</li><li>Transpiling TypeScript to JavaScript</li></ol><p>There’s a big difference to other programming languages like C#, C++, or Java: Strong Typing exists only until compile time, since at runtime we execute JavaScript!</p><p>The compiler tries to use as many JavaScript features as possible for the desired target. If the target JavaScript version supports the <em>const</em> keyword, the compiler will use it. Otherwise it won’t.</p><p>But <em>as const</em> and <em>readonly</em> are never translated, because they simply don’t exist in JavaScript. They are only used during the type-checking phase of the compilation.</p><p>As an example, look at the following code snippet:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c0b0ee2074d4bd83d5d0bc77960fa2d/href">https://medium.com/media/4c0b0ee2074d4bd83d5d0bc77960fa2d/href</a></iframe><p>If translated to ES2021 by the TypeScript compiler, the resulting JavaScript code looks like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/425d62604062aa051b5183db8a2f31b2/href">https://medium.com/media/425d62604062aa051b5183db8a2f31b2/href</a></iframe><p>As you can see, the const keyword is being translated, but <em>as const</em> and <em>readonly</em> have no effect on the JavaSript code itself. Therefore, we have to investigate further the type checking phase.</p><h3>Types in TypeScript</h3><p>If we don’t explicitly type a variable or constant, the compiler tries to estimate the best fit for a type. How this works in detail also significantly differs from how it works in Java or C#.</p><p>For example, if we declare a variable and assign a text, the compiler estimates “string” to be the best matching type for the variable.</p><p>But if we assign a text to a content, the compiler creates a new type that has only 1 valid value: The content of our constant:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c6882c989340e95bc24de150b982009/href">https://medium.com/media/2c6882c989340e95bc24de150b982009/href</a></iframe><p>This makes sense, because a constant should never have a different value than the one it was assigned to at first.</p><h3>What types do arrays get?</h3><p>But how about our 3 arrays of colors? They behavior here is a little different:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6876c5abaf77314f7e5cf1596669a4a2/href">https://medium.com/media/6876c5abaf77314f7e5cf1596669a4a2/href</a></iframe><p>For arrays (and objects), the <em>const</em> keyword does not impact the type. It just indicates, that we cannot assign anything else to the constant once it was declared. In detail:</p><ul><li><em>const/let</em> defines, if we can assign a new value to colors or colors2.</li><li><em>as const </em>defines, if the assigned array is readonly or not. The generated type is a type with exactly the values that colors2 and colors3 was initially assigned to.</li></ul><h3>The impacts of “const” and “as const”</h3><p>Here’s the thing: <strong>We are allowed to change the values of an array or an object, even if it’s <em>const</em>. If we want them to be readonly, we have to declare them<em> as const</em>.</strong></p><p>Wow! Let’s wrap this up and add some details:</p><p><strong>const</strong> prohibits us from assigning something new to the constant. But the initially assigned content itself can change, if it’s an array or an object:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7b813853b5d7a84984c45f700f446d6d/href">https://medium.com/media/7b813853b5d7a84984c45f700f446d6d/href</a></iframe><p><strong>as const</strong> defines a readonly type that is fixed to the initially assigned value and therefore prohibits changes:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a3cf7d8c7f5d5e104e7adfe82df6ea2c/href">https://medium.com/media/a3cf7d8c7f5d5e104e7adfe82df6ea2c/href</a></iframe><p>Look at the second error message: It indicates a type-mismatch. Since colors2 is not a constant but a variable, a new assignment is technically possible — but only if we assign something with the type readonly[“red”, “green”, “blue”].</p><p>This is exactly the type that colors3 has, so we can assign colors3 to colors2, but we cannot do it the other way round (since colors3 is constant):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a0c6a0c097c5fd5aca6139aec603d31/href">https://medium.com/media/1a0c6a0c097c5fd5aca6139aec603d31/href</a></iframe><h3>Also “const” objects can change</h3><p>What is true for arrays is also true for objects: The <em>const</em> keyword prohibits us to make any assignments to the constant, but the contents of the object can change:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4073fa845daeac5ed988df71d9c1e790/href">https://medium.com/media/4073fa845daeac5ed988df71d9c1e790/href</a></iframe><p>To make the object readonly, we have to declare it with <em>as const</em>:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c69c1d409354c963442f727525636788/href">https://medium.com/media/c69c1d409354c963442f727525636788/href</a></iframe><h3>How to use readonly</h3><p>So what about the <em>readonly</em> keyword? We can use it, for example, to make parameters <em>readonly</em> in function calls. I guess, most of your functions are designed in a way they don’t change the parameters within the function body. So why not mark them <em>readonly</em> and get an additional check for free?</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b84fbe16763c136470874dc12eeaae67/href">https://medium.com/media/b84fbe16763c136470874dc12eeaae67/href</a></iframe><p>Anoter way we can use the <em>readonly</em> keyword is within classes: Here, we can declare properties as readonly. While constants can only be assigned to directly when they are declared, readonly properties (and fields) can be assigned in the constructor:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7f761c802147f3cb48f02c956bdccf87/href">https://medium.com/media/7f761c802147f3cb48f02c956bdccf87/href</a></iframe><h3>Conclusio</h3><p>Defensive programming helps to avoid mistakes and therefore can reduce the amount of bugs produced in our programs. It is important to know the features that help us with defensive programming:</p><ul><li><strong>const</strong> indicates that no new value can be assigned to the constant, but the content of the value can change anyways, if it’s an array or an object.</li><li><strong>as const </strong>declares the content of a variable or constant as readonly and makes sure that the contents of the variable or constant are not changed</li><li><strong>readonly</strong> is a keyword that can be used to declare function parameters or class fields and properties readonly.</li></ul><h3>More TypeScript stuff</h3><p>If you want to learn more cool stuff about TypeScript, check out our youtube channel — here’s an example:</p><p><a href="https://www.youtube.com/watch?v=jOoE2GnVIDs">Video: In-depth Tutorial on Type-Safe Array Filtering</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b54f24b35d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/understand-const-as-const-and-readonly-in-typescript-a-comprehensive-explanation-1b54f24b35d6">Understand const, as const and readonly in TypeScript — a comprehensive explanation</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The tools that made us]]></title>
            <link>https://medium.com/lean-coders/the-tools-that-made-us-db8b86981125?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/db8b86981125</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[crm]]></category>
            <dc:creator><![CDATA[Christoph Ott]]></dc:creator>
            <pubDate>Sat, 22 Feb 2020 13:27:50 GMT</pubDate>
            <atom:updated>2022-03-14T15:42:43.047Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>How does Lean-Coders work?</blockquote><p>We use many products/tools and workflows in our daily business. Today we will showcase some of them in the hope it may help others as well.</p><p>All processes/tools we use were chosen based on our current member amount, financial situation and also our technical skills and willingness to customize.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1GMRdjA7qtxEGqxs" /><figcaption>Photo by <a href="https://unsplash.com/@carlevarino?utm_source=medium&amp;utm_medium=referral">Cesar Carlevarino Aragon</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>1) Database</p><p>We love JavaScript therefore we also love JSON and so it was pretty easy for us to decide which Database to use. MongoDB. At first, we launched our own instance in a docker container. After a while it felt a little bit stressful to administrate everything on our own, but thankfully MongoDB Cloud Atlas already had everything in place for us. MongoDB enables enormous speed and simple data modelling. Atlas gives us easy Security Setup and great Backup Features. The high quality of statistics and its alert system are an additional benefit and justify the high price.</p><p>2) Logging</p><p>Kibana/ELK Stack is already the enterprise standard. We searched for a hosted solution and sematext was the best fit for us. The pricing and alert system was really easy to setup, especially with the Kubernetes config files.</p><p>3) Office 365</p><p>Teams is the heart of our communication. It was not easy to leave Slack but in the end, it was the right choice. Everything is connected in the Microsoft world. From mails, appointments, inline editing of files to a good chat solution the single pieces work really well together. Office 365 delivers us great benefits in our daily business. Microsoft has a history of complicated setups so we had our doubts. I am still not a big fan of SharePoint, that’s why we replaced it by confluence. Our main tools: Exchange, Teams, Word, Excel, PowerPoint. The rest of the given tools are currently under inspection, but we have amazing alternatives in place.</p><p>Every tool that we use is connected to our Teams via webhooks and sends out messages in dedicated channels.</p><p>4) Microsoft Azure/Kubernetes AKS</p><p>In the beginning we were running Kubernetes on some Ubuntu hosted VMs but quickly switched over to using Kubernetes AKS by Microsoft. This delivers us good scalability and tons of benefits in terms of flexibility.</p><p>5) Confluence</p><p>Due to our disliking for SharePoint we started to use Confluence. We are only using it as a wiki and so I think the pricing is too high for us. Still, it is an amazing tool, but currently we are using just 1% of it. The biggest benefit are the easy setup and the good usability. If SharePoint or Microsoft would create a simple wiki system with file uploads capabilities in Office 365 we would probably move to that.</p><p>6) Passwork</p><p>As security first company we needed a central password manager system. Passwork is one of the smaller companies out there, but it does the job and the pricing is awesome. Protected by a master-key it has anything we need. Only the mobile application lacks a lot of features, but thankfully the desktop version works pretty well on my cell phone. In addition I also use KeePass for my family’s shared passwords.</p><p>7) Hubspot</p><p>While we are growing it gets harder to track all those leads, contacts and businessopportunities. Hubspot is our first step to get the perfect CRM for us. It is free and easy to use. The email and mobile apps are amazing. It lacks a lot of features we would need, but it provides an API which gives us a lot of opportunities to integrate it into our own processes.</p><p>8) Github</p><p>Still the best Online Repository system. Easy to use, easy to setup. It’s close to perfection.</p><p>9) CircleCI</p><p>After ditching Azure Pipelines/Visual Studio Online we switched to CircleCI. I like the speed and the settings brings a lot of features. The pricing is also really good.</p><p>10) Trello</p><p>One of the most underrated tools out there. Trello is the best Kanban board out there. All of our projects are managed by it. In addition, all our customer interactions are done via Trello. Thanks to this we currently don’t need any additional support ticket programs.</p><p>11) Clockify</p><p>Toggle was too expensive and clockify was the perfect clone with awesome pricing and it keeps getting better every day. Give it a try!</p><p>12) Fastbill</p><p>It’s our Go-To Solution for everything related to write and manage invoices.</p><p>In the next couple of blog posts we will show some details of how we use our beloved tools ;)</p><p>Cheers,</p><p>Christoph</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db8b86981125" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/the-tools-that-made-us-db8b86981125">The tools that made us</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Disabling Prod Mode in already Built Angular App in Chrome]]></title>
            <link>https://medium.com/lean-coders/disabling-prod-mode-in-already-built-angular-app-in-chrome-f29092d2eb9f?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/f29092d2eb9f</guid>
            <category><![CDATA[chrome]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Stefan Kerschbaumer]]></dc:creator>
            <pubDate>Wed, 22 Jan 2020 07:02:44 GMT</pubDate>
            <atom:updated>2020-01-22T07:02:44.644Z</atom:updated>
            <content:encoded><![CDATA[<p>In this small post i am talking about chromes “Override” tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gzu_yywahA7forBLGcfOFA.jpeg" /></figure><p>Maybe this is well known and widely used but I just found out about it today and wanted to push it for beginners or people which are not using this cool feature of the Chrome DevTools for debugging.</p><p>Since chrome version 65 — any yeah I know that this version has been released back in the beginning of 2018 — there is a tab called “Overrides” within its DevTools Sources section which can be used to replace files which are normaly requested from the server belonging to the frontend with local files.</p><p>For this to work you just need to open your DevTools and go to Sources, from there you click on “Overrides” and select a folder for overrides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*u_Fm86cSj0oyu8Kz.png" /></figure><p>After that you can go back to sources and right mouse click on a file to save it for overrides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*oCcrE1mTKdrrzM61.png" /></figure><p>Chrome will then create a folder within your selected override folder named like the page you saved the file from containing all files you saving for this domain.</p><p>From here on you can make changes using the DevTools itself or any editor you’d like to use.</p><p>I.e we can take any main Js file generated after angulars build process and search for “enableProdMod” to in the end remove that line of code and get “ng.probe” again even after reloads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/0*-O3qhn0hletE08P7.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*eRr7aCE45D3BDHmB.png" /></figure><p>happy debugging.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f29092d2eb9f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/disabling-prod-mode-in-already-built-angular-app-in-chrome-f29092d2eb9f">Disabling Prod Mode in already Built Angular App in Chrome</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A not angry look back]]></title>
            <link>https://medium.com/lean-coders/a-not-angry-look-back-b8494efc7e57?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/b8494efc7e57</guid>
            <category><![CDATA[2019]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[lean-coders]]></category>
            <category><![CDATA[2020]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Christoph Ott]]></dc:creator>
            <pubDate>Mon, 20 Jan 2020 20:54:00 GMT</pubDate>
            <atom:updated>2020-01-20T20:59:23.366Z</atom:updated>
            <content:encoded><![CDATA[<h3>2019 — A year in review / How we went from 4 -12 employees ;)</h3><blockquote>Harder, Better, Faster, Stronger. Work harder, make it better, do it faster, make us stronger. More than ever, hour after hour. Work is never over. — Daft Punk</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5PsNeQ1W8L4NKc0d" /><figcaption>Photo by <a href="https://unsplash.com/@tobiasc?utm_source=medium&amp;utm_medium=referral">Tobias Cornille</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>2019 is over and I failed terribly.</strong></p><p>I was not able to blog. Nevertheless, 2019 was a huge success, with tons of stuff that happened and, like in 2018, I will try to recap the year and will give you a little preview of the many challenges and opportunities that we want to tackle in 2020.</p><p>Where to begin?</p><p>My last blog post was in February 2018. Back then I made the announcement, that I’m going to tell you more about our future plans. Sorry for not keeping my promise! I will make up for it with this long blog post.</p><p>2019 began with a big bang. After several months, two of the most technically adept as well as socially amazing people that I’ve ever met, Flo &amp; Steve, joined as equal partners of Lean-Coders. How come, you may wonder?</p><p>On a party, Steve told me, that he had the plan to create his own business, and that he needed to ask me some questions about how to be a freelancer.</p><p>This conversation was the trigger for a lot of upcoming events.</p><p>Some weeks later he called, to tell me that he is now an entrepreneur as well and wants to thank me with a dinner.</p><p>Anyone who knows me knows — I never reject a free dinner.</p><p>Back at that time, my plan was, to gather the biggest talents of the it-business under one entity. I met with a lot of great entrepreneurs and freelancers, but all of them rejected my offer.</p><p>When I told Steve about this idea during our dinner, he reacted totally different. He had the same mindset as me, which means he is striving for going big and is willing to sacrifice a lot to achieve this goal. His vision was also to rather have a small piece of something big, than have a big piece of something small. And so it began. We held hundredths of meetings and finally settled an agreement to create a company together. But destiny played us a trick. Just when we wanted to close our deal, a new challenger arrived from nowhere. Flo, a frontend developer I knew from a past project called, to tell me that he just recently started freelancing and would love to get some advice.</p><p>As soon as the call was over, I called Steve and presented him the crazy idea to throw our plans of a company with two equal shareholders away. Why, you might ask?</p><p>The biggest uncertainty we faced, discussing the fusion of our two small companies was: What should we do if we had different opinions on a specific topic? We played around with many strategies and solutions, but actually nothing really played out the way we wanted. Having 3 equal partners, would solve this easily, I thought, so my idea to create a three headed monster was born.</p><p>Steve did not know Flo really well and so at first, he was not super amazed about it. But, after meeting Flo just once he came up to me to tell me: “Flo is our guy, he is the chosen one and will bring balance to our main problem.” Our solution was quite simple. 2 of 3 votes will settle all future confrontations.</p><p>Due to this decision we had to re-discuss everything again and 2018 turned out to be a very tough and exhausting year. While doing normal business, we had thousands of meetings, discussing the legal aspects of the deal with lawyers but also planning new branches, products and strategies for Lean-Coders.</p><p><strong>Start 2019 — A new Hope</strong></p><p>After the best Christmas party ever, we were striving for new fields. Two new amazing additions joined our little company. Thomas (Hochi) and Benjamin. Thomas responded to one of our advertisements on twitter to work remotely for Lean-Coders. Flo already knew from working together with him in the past, what a great developer Thomas was and so it was a no-brainer for us to hire him. His impact could be felt from day one. He is leading the frontend team with his huge amount of knowledge, willingness to share his expertise and amazing work attitude.</p><p>Besides his normal work he additionally helped out in any way he could.</p><p>He never holds back his opinion on how to better solve technical challenges. This highly valuable feedback allowed the rest of the team to get better and better every day. Currently he works fulltime for one of our most important clients, but nevertheless still finds some time to work on a really cool side project, which we will hopefully publish soon.</p><p>At the same time as Thomas, we welcomed Benjamin in our team. Benjamin is an old mate of Manuela and this kid got some serious talent. He worked for one of the biggest Austrian startups as a process manager and the transition to be a Javascript Fullstack Developer was enormous. Benjamins strength is his eye for detail. He always brings new perspectives into play, like privacy and security. Today he is the lead developer of one of our products, serving some hundreds of clients a day. Thanks to him I was able to free some time and be more productive in other areas: I still wanted to pursue my idea of bringing together the best talents in the software business as independent entities, sharing/outsourcing the administrative overhead and therefore, allowing them to focus on the one thing they are best at: Creating software of the highest quality.</p><p>The idea of launching a franchise system was born. Our plan was to give people our network, assets and knowledge. Together with a lawyer, we created a franchise contract. In addition we had some talks with potential franchisees, but unfortunately, up till now, no one signed up. Due to our many obligations as CEOs we did not put 100% of our focus and effort into this project, but we still have the contract in our portfolio even without any real opportunities in this area.</p><p>Our second idea to create a steady income stream was Steve’s little side business, where he created content and was selling books.</p><p>Similar to the franchise system, this project did not become the huge success we had hoped for. The books took a lot of Steve’s time and he did an amazing job, only to find out, that without fake reviews and bought followers the revenue is just too small, to justify the amount of time/money it costs to create the content. That’s why we put this idea on hold as well.</p><p>Despite all these failures we created assets which could help us in the future.</p><p>And even though things did not play out the way we had hoped, we will keep our mindset that it’s better to try something and fail, than to never trying at all.</p><p>In the middle of the year Stefan came back from his year in civil service. He joined us in old strength and helped us manage new projects with new clients. He did not miss a step and he is growing as a software developer day by day. Manuela also made amazing progress as a software developer. She was already a design genius and keeps improving her skills in this area, but she also stepped up her javascript game as well. Niki, as always, is our superstar. You can drop him any technology or challenge and I am pretty sure he solves it. This man is not human, he is a machine.</p><p>Last but not least we also had a great addition in our back office. My wife Roberta joined our group. She helps us with her expertise as assistant. It was a big step for Roberta and me to let Lean-Coders enter even deeper into our private life, but it was the right choice and it is great to see her finally having a job, where she finds a purpose and in which she can evolve in the direction she wants to.</p><p>She also took over a lot of my past agendas, e.g.: creating invoices, checking timetables, administration of sick leave, and all other kinds of bureaucratic matters. For all CEOs that meant, that we could go on with our newly generated plans.</p><p>In general, I am very proud of the pack and I cannot wait to see all the progress we will achieve in the next couple of years.</p><p><strong>Middle of 2019 — The Force Awakens</strong></p><p>One of my best friends invited me to a Tony Robbins seminar in London. Man, this was a life changing experience.</p><p>I was always a dream chaser and wrote my goals and targets down, but this seminar was mind blowing. After a fire walk, plenty of hours of jumping around, hugging people and screaming my soul out, I was energized more than ever.</p><p>One of the most intriguing things that I took from it was to find a tutor, pro or coach that challenges you. So, I was scanning my Facebook friend list and wrote only one message to Gerald Eder. This guy is a selling machine and one of the greatest entrepreneurs I know. After Gery wrote back, Steve, Flo and I met for a business lunch with him where he scanned our assets and skills. After amazing tips, we convinced him that it would be awesome to have him as our mentor/coach. From then on, week after week he showed us our flaws and shortcomings. It was not cheap, but it took us to another level in our decision making and to grow as group together. Heading full power in our expansion and trying to create value after value, our financial struggles also came into play. We were never in big troubles, but we had to pay a lot of taxes upfront, so cashflow was always on the bleeding edge. A big thank you to the whole group but especially to my co-owners, which were sacrificing everything and showed me again, that my choice to work with them was the right thing to do.</p><p>Still, in all the time we had great fun with our amazing group. Our quarterlies are legendary, and every event was special for me. With the help of Gerald, we were working every day on ourselves and we knew that we still had a missing piece.</p><p>In the meantime, Samuels decided to leave Lean-Coders because he wanted to focus more on his final school year. Due to this we had a gap in our support/maintenance work. With some luck Elias and Flo were willing to join our team. They are great talents with a bright future. Their current main goal is to finish their study about AI/NLP/ML. They will play a big part in our new strategies in the next couple of years.</p><p><strong>End of 2019 — The Seller strikes back</strong></p><p>Back on my first day as a naive entrepreneur, I had a challenging occurrence with some contractors. Due to my unawareness, I was attending two interviews for the same client but with different contractors. This was an unspoken no-go and so one of the contractors was really pushy and aggressive. The other one was really nice and told me, I should not worry and that we should have lunch together. This event was the first meeting of many to follow with one of my most favorite contractors in time. Even though we never worked together, we met from time to time and discussed future trends and technologies. This is the short story, of how I met Tahir. After one of Gerald’s sessions we discussed the option to add a seller to our group. All of us owners are technology professionals, but none of us is a seller or negotiator. Like everything in my life, after several days of planning how to find the right person for this position my telephone was ringing. Tahir was on the other side of the line and told me that he will leave his company and wants to leave the country to build or find something new. Long story short, Tahir, Steve, Flo and I were all in to go again to a lawyer to add a fourth owner. Tahir came, saw and conquered. We created new meeting formats, brought more feedback from our people into the game and focused on finding solutions for it. Thomas was one of the loudest voices for the wish to work together more collocated and less distributed with different customers. Hence Tahir found us a space and our CEOs and Roberta surprised everybody with our first physical office.</p><p>This was 2019 in a nutshell. Tahir is now managing all of our contracts and we adapted our focus again. Together we created a big vision to empower people. In different mission statements and goals, we will create value over time in any kind of aspects to deliver top opportunities for software developers and hopefully soon for all kind of people.</p><p>Cheers,</p><p>Christoph aka Uter</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8494efc7e57" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/a-not-angry-look-back-b8494efc7e57">A not angry look back</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Effective Home Office]]></title>
            <link>https://medium.com/lean-coders/effective-home-office-how-to-get-the-most-out-of-your-remote-working-experience-6f3560a1bfc3?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/6f3560a1bfc3</guid>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[work-from-home]]></category>
            <category><![CDATA[digital-nomads]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Stefan Woehrer]]></dc:creator>
            <pubDate>Sat, 13 Jul 2019 18:23:37 GMT</pubDate>
            <atom:updated>2019-07-13T18:25:53.520Z</atom:updated>
            <content:encoded><![CDATA[<h3>Effective Home Office - How to Get the Most out of Your Remote Working Experience!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQq22yC6LvWMUzFBVyWuRA.png" /></figure><p>In this article, as an employee, you will learn how to boost your home office experience. If you are an employer, you will learn how to teach your teams to excel at remote working.</p><p>It is getting more and more common. While there are still a bunch of employees and employers that see home office somewhat skeptical, more and more people realize the benefits. As CEO of a software developing company, I highly appreciate and encourage remote working, because:</p><ul><li>We need fewer office resources (which keeps the costs low)</li><li>Our teams maintain an awesome work-life balance</li><li>We can employ and work with people from places that are hours away<br>and much, much more.</li></ul><p>But working remotely comes with a few changes in work-life balance and the way you are going to work. In this article, we are discussing five essential tips and strategies on how to improve your home office experience by being more productive while also maintaining a high work-life balance. Here are the 5 tips:</p><ol><li>Stay in touch, but take your time</li><li>Make your work transparent</li><li>Set goals!</li><li>Use the right tools</li><li>Get together from time to time</li></ol><p>I have over six years of experience in working remotely with teams from all around the world, and I had a lot of fears in the beginning. They were all proved wrong.</p><p>As a CEO, I want my developer teams to have the highest degree of freedom possible while enjoying work. Working from home is not a privilege in our company; it is a basic right. When hiring a new team member, we always include the following 5 tips in our introductory training.</p><h3>Stay in touch, but take your time</h3><p><em>The fear: We are losing contact with our team members. When working remotely, team members don’t communicate well with each other.</em></p><p>I understand that fear, but in every single team I have worked with as a remote developer, I have seen that the quality and quantity(!) of communication was often better compared to on-site teams.<br>The key phrase here is “communication culture.”</p><p>Remember: <strong>You can also not communicate while sitting next to each other!</strong></p><p>The team itself defines the quality and quantity of communication. As part of the team, YOU are therefore also responsible to keep communication on a high level. In tip 4 we will talk about how to use tools that support communication in your team. For now, I want to point out something important that is often missed while defining a comunication culture:</p><p><strong>Define when and how fast you want to respond to each other.</strong></p><p>It sounds simple, but it’s vital. Typically, you will have many tools in place, like an Instant Messenger, Email, voice tools/phones, etc.<br>It is critical to define which medium you want to use for “synchronous” or “asynchronous” communication.</p><ul><li>I often use voice tools/phones as “synchronous” tools in the sense that I usually (but not always) expect my peer to instantly answer or at least call me back after I pinged him or her.</li><li>On the other hand, Emails are typically an asynchronous means of communication in the sense that I do not always expect a quick answer from the person I write an email to.</li><li>In my teams, I consider Instant Messagers to be somewhat in between.</li></ul><p>The general rule-of-thumb is that whenever you want to contact somebody, you try to reach out over an asynchronous channel first (email or Instant Messaging) while not expecting an answer right away. We all know that software development demands a high level of concentration and focus on details. Therefore, the less a developer is disturbed with having to reply to some random questions, the more productive she/he can be.</p><p>If you need a quick response, you can always “escalate” to the more synchronous communication channels. But use that only for things that are both really important and very urgent.</p><h3>Make your work transparent</h3><p><em>The fear: People are lazy, they don’t get anything done if they are not checked on.</em></p><p>Do you admit it? Or not? Yes, you also thought that, right? I want to debunk one of the biggest misconceptions in software development history.</p><p>If you are an employer, it is your responsibility to make people love their job! Somebody who loves their job will be productive. It’s as simple as that.</p><p>But guess what, also employees often ask themselves: Will my work be appreciated, or will “they” think I’m just lazying around?</p><p>There is a simple solution for both sides to all of that: Make your work transparent.</p><p>It should be the case even for on-site teams, but even more for remote ones: Document (and communicate) what you have done.<br>Use a ticketing system like Jira or Trello, mention your work in your team meetings/calls, and keep in touch with each other.</p><p>It doesn’t only show what everybody does; it also helps distributed teams to keep up-to-date on the latest developments of your software or whatever product or project you are working on. Every team member, as well as your bosses” must have a chance to know what user stories you are working on, what features you implemented, and what to expect in the next couple of days.</p><h3>Set goals!</h3><p><em>Fear: I am alone in a room; there is so much work to do. I’m sure I’ll get crazy!</em></p><p>What appears to be a big problem can be solved pretty easily: Set yourself some goals. Weekly goals, daily goals, hourly goals, whatever suits you.<br>You can plan your day so much easier if you know in advance what you want to achieve. This way you don’t get lost under a big pile of work.</p><p>Communicate your goals to your team. In most cases, you should have a daily-standup call (even if you don’t to scrum) to stay in touch with your team. This is where you can tell others what you are going to do on that day.</p><p>And you should try to achieve your goals. It’s like a promise you make to the other team members and yourself.</p><p>That being said: Don’t forget your work-life balance. If for any reason, it is not possible to accomplish your goal on time, you should, at some point, stand up and leave your desk.</p><h3>Use the right tools</h3><p>Welcome to the 21st century! Although it is possible to write great software remotely even without using modern communication tools (think of all that great open source projects of the last century), they are making our lives as remote workers a lot easier.</p><p>The most useful tools are:</p><ul><li>An instant messaging tool like <a href="https://slack.com/">Slack</a>, <a href="https://products.office.com/microsoft-teams/free">MS-Teams</a>, <a href="https://www.skype.com/">Skype</a>, etc. ideally with call/voice functionality</li><li>Project Management / Ticketing software like <a href="https://atlassian.com/software/jira">Jira </a>or <a href="https://trello.com/">Trello</a></li><li>Software for technical and organizational documentation. Ideally a Wiki (<a href="https://www.atlassian.com/software/confluence">Confluence</a>, <a href="https://www.mediawiki.org/">MediaWiki</a>, …)</li><li>Software to share and manage files (<a href="https://www.dropbox.com/">Dropbox</a>, <a href="https://onedrive.live.com/">OneDrive</a>, <a href="https://www.google.com/drive/">Google Drive</a>, …)</li><li>Any other collaboration tool you’d like to try</li></ul><p>Obviously, if you are a software developer, you need to work with a version control system. This is not optional, also for on-site teams.</p><p><em>Do you have any favorite tools/categories that are not listed above? Feel free to leave a comment below and tell me what you think!</em></p><h3>Get together from time to time</h3><p>Working remotely is fun, but nothing beats going out for a beer or a strawberry milkshake (greetings to Mr. Stoll). You should get together with your team — ideally on a regular basis. Depending on how distributed the team is and how easy it is to meet physically, it could be once a week, once a month or once a year.</p><p>But these get-togethers glue together. Just tell your boss, you’d like to have a team-building event.</p><p>And you can have a great dinner and drinks with nice people.<br>And your boss pays.<br>And what’s better than that?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f3560a1bfc3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/effective-home-office-how-to-get-the-most-out-of-your-remote-working-experience-6f3560a1bfc3">Effective Home Office</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Essential Tips That Make Your Source Code Shine]]></title>
            <link>https://medium.com/lean-coders/3-essential-tips-that-make-your-source-code-shine-949fe171930f?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/949fe171930f</guid>
            <category><![CDATA[programming-tips]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[lean-coders]]></category>
            <dc:creator><![CDATA[Stefan Woehrer]]></dc:creator>
            <pubDate>Fri, 10 May 2019 11:02:31 GMT</pubDate>
            <atom:updated>2019-05-10T11:06:00.001Z</atom:updated>
            <content:encoded><![CDATA[<p><em>With examples in Python and JavaScript</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CrFqwgXJ274Xsd2C-UVBGQ.png" /></figure><p>In this article, you will learn about 3 essential tips that will help your source code to rise and shine. See, there are some <strong>unwritten laws </strong>that every good programmer obeys. Even if you are facing a tight schedule and you try to pump out your code as quickly as possible: You still have to follow these rules.</p><p><strong>Even if you are an experienced programmer!</strong></p><p>I’m not talking about algorithms, data structures, software architecture and design. I’m talking about something much more fundamental, much more vital: Readability</p><p>Source code needs to be <strong>carefully crafted</strong>. Always. There is no such thing as “quickly hacking around”. If you try to be fast by skipping these basic rules, you always end up being slower in the end.</p><p>See, source code is written once, but it is read many times. <strong>Optimizing code for readability</strong> is therefore paramount. I present to you 3 vital rules you have to follow so that you can produce highly-readable code. Following these rules helps you and everybody else working with your code to maintain, extend and adapt it. Also, readable code is far less error-prone.</p><p>The best thing about those 3 rules is: You can implement these rules right away. No training time needed. You will be a better programmer in just minutes!</p><p>Let’s start.</p><h3>Use meaningful variable and function names</h3><p>A line of code says more than 1000 words. Well, sometimes not. To use self-explanatory variable and function names makes your code so much easier to read, understand, maintain and extend. Here’s an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*7dwpkJwf3JQCqUqnL71UmQ.png" /></figure><p>Of course, when writing that piece of code, I knew exactly what kind of formula I was implementing. Do you know as well? Maybe yes, maybe no. I could have added a comment to describe the purpose of that formula, but a much better way is to just use descriptive variable names like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*XhSt3qPuAHP4l9KYGnEzwA.png" /></figure><p>Wow, now it’s crystal clear. Just by using descriptive variable names, the reader can immediately learn that this code converts Fahrenheit to Celsius. Now let’s put that code into a function and observe the degree of readability according to function names and parameter names.</p><p>Compare the “short” version:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*-1wuq_B8ljOCcAGFxQ2bYg.png" /></figure><p>with the more elaborate version:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*DLy0AIYczK1lseIepVVc9Q.png" /></figure><p>I know what you are thinking: <em>It takes much longer to write that “long” words instead of just using single letters for variable and function names.</em></p><p>However, let me ask you a question: How much longer does it take to understand a piece of code that is written in either style? Self-explanatory code is not only a big time saver for other people reading your code but even for yourself. How often did you went back to extend or change some code that you wrote 3 months ago? And how often did you think: “Gosh, what the hell did I do here?” Remember:</p><p><em>Code is written once, but it is read many times.</em></p><p>Anything you can do to optimize reading performance is worth the additional writing effort.</p><h3>Use proper indentation</h3><p>If you are programming in Python, you can as well skip this tip and thank <a href="https://en.wikipedia.org/wiki/Guido_van_Rossum">Guido van Rossum</a> for his decision to make indentation mandatory in “his” programming language.</p><p>For most other popular programming languages like C/C++, Java, JavaScript, PHP, C#, PHP, etc. read carefully:</p><p><em>Indent your code hierarchically</em></p><p>I don’t care if you use tabs or spaces. (ok .. I do, but that’s something for another blog post..) I don’t care if you use 3 or 4 spaces. I just want you to understand that indentation is a <strong>must </strong>in programming. Let’s compare some pieces of JavaScript code. This code:</p><ul><li>Converts the values from 100 to 110 from Fahrenheit to Celsius</li><li>Rounds the converted values to 0 places after the comma (making them integers)</li><li>Outputs to the console all <em>even </em>celsius values (<em>This is done by using the </em><a href="https://www.w3schools.com/js/js_arithmetic.asp"><em>modulus operator</em></a><em> “%”, which returns the remainder of an integer division. Thus, 11 % 2 equals 1, and 12 % 2 equals 0</em>)</li></ul><p>Compare the non-indented form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*_TZ4NtZECU58X9p4CajB-g.png" /></figure><p>with the indented form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*98dOUX4CrC_Rh8ME7u8g-w.png" /></figure><p>I also added some blank lines to structurize the code even more. Which of those two code snippets is more readable?</p><h3>Use Functions (properly)</h3><p>Create re-usable building blocks by using functions. These also help you to structurize your code and make it more readable and understandable. The most important feature of functions is that they avoid repetitive code. Remember:</p><p><em>Avoid Repetition!</em></p><p>If you see the same lines of text distributed multiple times all over your codebase, you most likely missed to create a function (or a class, or a module, etc… depending on which programming language you use). Let me give you an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*basSKysgq-7JiUrI7SGzKg.png" /></figure><p>The above code prints out the 4 values in deg. Fahrenheit and their converted values in deg. Celsius. We can easily see that we are dealing with code duplication here, so let’s get rid of it by creating a function that does the conversion and printing for us:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*3Hs6m3wA9VojTGijTkTUbw.png" /></figure><p>Much better right? The code looks “clean” and “lean”. Also, it is far more descriptive than the first example. Anyways, we still have that formula residing there in the ConvertAndPrint function. What if we would like to convert Fahrenheit to celsius without printing their values? Let’s extract the formula to its own function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*SiwzCPLQxQrsKJzZlnox1g.png" /></figure><p>Et voila! We produced some self-explanatory piece of code that consists of building blocks that we can re-use in many ways in different scripts.</p><p>However, we are not done yet.</p><p>See, we still have some bit of repetitive code. And our <em>PrintFahrenheitAndCelsius</em> function takes 4 values. But what if you want to print only 3 values. What if you want to print 300? There’s a better way to do this.</p><p>Depending on your programming language, there are most likely several options to abstract the number of parameters of a function. What is almost always a valid idea is to use a container (like an Array or a List) instead of multiple variables. See that final example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*lsIa_4KcyVLzx7myBUG8KA.png" /></figure><p>This last change made our function far superior:</p><ul><li>It is shorter and easier to read</li><li>It is much more generic</li></ul><h3><em>Conclusion</em></h3><p>Source code is much easier to read (and thus to understand, maintain and extend) if you follow some simple rules / styling guidelines.</p><p>Also, we have seen the power of abstraction: Use functions (or whatever means of abstraction the programming language of your choice offers) to create <strong>reusable </strong>building blocks.</p><p>Upgrade your variables and functions by using<strong> proper naming</strong> so that your source code becomes <strong>easy to read</strong>. Some people even claim that Source code must read like a story.</p><p>Implement these 3 tips, and I promise you, you’ll see amazing results.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=949fe171930f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/3-essential-tips-that-make-your-source-code-shine-949fe171930f">3 Essential Tips That Make Your Source Code Shine</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Binding WebAssembly Module functions to Typescript Class Methods]]></title>
            <link>https://medium.com/lean-coders/binding-webassembly-module-functions-to-typescript-class-methods-ad233f1dad3d?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/ad233f1dad3d</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[wasm]]></category>
            <category><![CDATA[build-tool]]></category>
            <category><![CDATA[webassembly]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Stefan Kerschbaumer]]></dc:creator>
            <pubDate>Sun, 20 May 2018 14:32:11 GMT</pubDate>
            <atom:updated>2018-05-20T16:59:30.916Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vo8uwfj5PU5iX7KjGdZKHQ.png" /></figure><h3>About this article</h3><p>Since I think that WebAssembly is a awesome technology I decided to create a Typescript Decorator for binding Methods from a WebAssembly Module to a Typescript Class Method easily</p><p>Well actually there are 2 Typescript decorators.</p><p>1 class decorator which takes two parameters and 1 method decorator which takes a single parameter.</p><p>This Module I created is just to let you know a little Test which I wrote in a short time.</p><p>Since i think that this is a smart idea though which could be improved and stuffed with features like lazy loading for example when taking some time for it, I decided to share it using a Github Repo ( <a href="https://github.com/xsip/webasm-binder">https://github.com/xsip/webasm-binder</a> ) and create a Medium Article. So yeah. now you are reading it.</p><h3>The class Decorator</h3><blockquote>„getWasmModuleByClassName“</blockquote><p>resolves a webasm module using the help of a provided location in its first parameter which could be a link or a disk location and the type of it’s resolve method which could be selected from a enum and will be fetch – for frontend projects – or require for using it in a backend project.</p><p>The module it trys to resolve needs to have the same name as the class, so when you are decorating a class declared as „Demo“ the decorator will resolve this name by target and resolves the module – Demo.wasm – from the link or location provided in it‘s first parameter with using the help of fetch or require depending on the second parameter as mentioned before.</p><p>The fetched module Instance will be added to a array within a collection to resolve it‘s methods at the method decorator</p><h3>The method decorator</h3><blockquote>getFunctionFromAsmModule</blockquote><p>Binds a function from the module Instance by getting it from the instance holder.</p><p>To actually make it use the right module you need to provide the module name – which needs to be again the class name ( so when the method is within class Demo , you need to provide „Demo“ as its parameter ) – since i wasn‘t able to get the parent class name within this method decorator.</p><p>If you got a possibility to get the parent class name using a method decorator feel free to create a pull request and make it able to use the method decorator without a parameter.</p><p>The decorator will then when i.e your function deceleration below is named „add“, execute „add“ from the wasm module instance and returns it result when executing the class method</p><p>There is actually no error handling or something simular at the point of writing this article.</p><h3>Executing the demo</h3><p>To execute the demo on your local machine clone the github project from <a href="https://github.com/xsip/webasm-binder">https://github.com/xsip/webasm-binder </a>and build /start it by executing „npm run demo“.</p><p>But make sure to copy the added .wasm module to dist/demo since I didn‘t add any copy process for the demo in it‘s build process.</p><h3>More soon</h3><p>So just to let you know i also wrote a source parser which parses typescript classes, takes the original function body when a class method has the method decorator above it and compiles a WebAssembly module using the original method body programmaticly.</p><p>After that it will clear the original function body at build time and create a Javascript file for runtime out of it.</p><p>So there will be the possibility to write everything int Typescript at build time but execute it from the Javacript class by resolving it from the WebAssembly module at runtime with the help of the AssemblyScript compiler and the Typescript compiler API as build tools soon.</p><p>So, Stay tuned..</p><p>If you got any questions though feel free to contact me at kerschbaumer@lean-coders.at.</p><p>Don‘t forget to Clap ;-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad233f1dad3d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/binding-webassembly-module-functions-to-typescript-class-methods-ad233f1dad3d">Binding WebAssembly Module functions to Typescript Class Methods</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Where should Business Analysis reside within the organisational structure?]]></title>
            <link>https://medium.com/lean-coders/where-should-business-analysis-reside-within-the-organisational-structure-be778c3475ab?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/be778c3475ab</guid>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Patrick Schmöllerl]]></dc:creator>
            <pubDate>Fri, 30 Mar 2018 08:51:28 GMT</pubDate>
            <atom:updated>2018-03-30T08:51:28.111Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I was invited to a meeting of the Austrian IIBA Chapter by one of the board members who happens to work for the same client as I do. The topic for the evenings discussion was “Where should Business Analysis reside within the organisational structure?”.</p><p><strong>The prelude</strong></p><p>To be honest I hadn’t given this topic too many thoughts before and therefore I had no fixed opinion on it. A quick check of the BABOK also doesn’t reveal any guideline on the issue, since it only states “Business Analysis is the practice of enabling change in an organizational context, by defining needs and recommending solutions that deliver value to stakeholders.” Well, actually, I never expected to find the answer there. How could they even give the one and only answer!?</p><p><strong>The discussion</strong></p><p>The evening started with three short key-note speeches and continued with an open discussion. All three speakers and all participants in the following discussion described drastically different organisations and set-ups that they were working in. There was a good mix between internal employees, some were external employees working for consultanting companies, some freelancers like me or running their own business. In most organisations Business Analysis was a part within the IT-organisation, some were considered to be part of Demand Management, some as an executive department.</p><p>Of course, everyone agreed on the common places “business analysis is a bridge between business and IT” or “business analysis has to consider all sides”, so therefore “they should be part of IT and business at the same time”. Don’t get me wrong, I also fully agree with these statements, but they are so general that they don’t deliver a lot of value when it comes to the questions of how to set-up Business Analysis in a real-world organisation.</p><p><strong>Benefits of different alignments</strong></p><p>After the discussion I was hooked and started searching for more information. One of the first things I found was a comprehensive article by Lora McCoy <a href="http://masteringbusinessanalysis.com/mba128-business-analyst-reside/">“Where Should the Business Analyst Reside?”</a></p><p>Lora McCoy mentions advantages and disadvantages of different alignments of Business Analysis. The main advantages of an alignment with IT — as it was most commonly stated during the discussion evening — is “that Business Analysts understand the technical capabilities and feasibility of solutions. They can offer technical solution options and easily relay information to software engineers about the solution requirements.”</p><p>As you’d imagine, there is also a disadvantage: “When you’re aligned with IT, every problem gets solved through technology. This is the case even when the best solution isn’t technology based. Perhaps the real problem can be solved by a simple process change or better communication. This type of bias leads to sub-optimal solutions.”</p><p>This relates well to what I frequently experience on projects. If you are already set up on an IT solution, you lack the oversight to reject or propose a drastically different that requires some painful organisational change.</p><p>A Business Analyst that is part of a business department will always have the better leverage when it comes to understanding the business and people in it, however, “because you’re so imbedded with the business functions on a daily basis, it’s difficult to think holistically.As a result, upstream and downstream impacts of changes may be missed. Additionally, you may be unable to see innovative or disruptive solutions because you’re too close to the problem.”</p><p>This relates well to a side-note one of the participants made about rejecting a business department’s demand for a new CRM, because there was work on a corporate wide solution which, in turn, lead the business department to pursue their own shadow solution. Sunk costs. Had the business better understood the how corporate IT works, that could have been avoided.</p><p>The downsides of any alignment leads McCoy to conclude that “Instead of alignment with IT or the Business, being part an objective, strategic group outside of both of those areas brings together the best of both worlds.”<br> <br> She admits that there it needs “a certain level of maturity and openness to learning”, but fails to see the outsider dilemma. She acknowledge that IT will see you as an outsider when you are aligned with business, and business will see you as an outsider when you are aligned with IT. Maybe it’s only my lack of imagination, but why wouldn’t there be a risk that both see you as an outsider instead of a valuable and unbiased consultant?</p><p><strong>My “responsible for the money” hypothesis</strong></p><p>Now maybe it has to do with my personal understanding of what I do day in day out and not so much with the definition of the BABOK, but I want to deliver value. As an external employee you should always strife to deliver the most value possible to your client. As an internal employee maybe that’s not always of the same importance, but it should be!</p><p>The issue with delivering value is that value is perceived in very different ways. Value to the IT deparment could mean a simple solution with low maintenance costs or high flexibility for furtehr developments. If that leads to a solution that oversimplification the business problem, value will be perceived quite different by the business deparment.</p><p>So whose value is it that should be important to you? You could answer the “company as a whole” and that’s true in general terms, but just like above, a definition that is too broad and general doesn’t help you much in the real world. So my more practical hypothesis is: You are responsible for the value of the one whose got the money. Don’t get me wrong here! I am not talking about being a puppet of your master to cash in the next pay check! I suggest you to ask yourself:</p><ul><li>Who is paying for all of this (project / program / development / demand)?</li><li>How can they get the most value for the money they provides?</li><li>Is it possible to achieve the same result for less?</li></ul><p>If business side pledges the budget, their money has to be used in the outmost economical way. At the same time they need you to help them understand the real limits of IT. If seen both, IT keeping quite about the impact and the long term costs, but I’ve as often seen IT overstating the complexity of a solution just not to adapt to change themselves.</p><p>If IT owns the budget for changes and has to prioritize the wave of demands, you need to help them to understand the given business problems, so they won’t just listen to the one who shouts loudest. Business will overstate problems and priorities given they don’t have to pay for the remedy.</p><p>The payer needs you! As a consultant and as an advocate.</p><p><strong>Me and Lean Coders</strong></p><p><em>My name is Patrick Schmöllerl. I work as a self-employed Business Analyst, currently with a focus on Requirements Engineering. I met Christoph on a project where we were working together on an e-Commerce solution for our client. I hold him in great esteem and therefore, when he asked me about writing a guest post for his blog I was more than willing to do exactly that. If you want to find out more, check me out at </em><a href="http://patrickschmoellerl.com/"><em>patrickschmoellerl.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be778c3475ab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/where-should-business-analysis-reside-within-the-organisational-structure-be778c3475ab">Where should Business Analysis reside within the organisational structure?</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Requirements Discovery Canvas]]></title>
            <link>https://medium.com/lean-coders/requirements-discovery-canvas-717515d87b6e?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/717515d87b6e</guid>
            <category><![CDATA[requirements]]></category>
            <category><![CDATA[canvas]]></category>
            <category><![CDATA[business-analysis]]></category>
            <category><![CDATA[product-ownership]]></category>
            <category><![CDATA[requirements-engineering]]></category>
            <dc:creator><![CDATA[Patrick Schmöllerl]]></dc:creator>
            <pubDate>Tue, 06 Mar 2018 20:21:56 GMT</pubDate>
            <atom:updated>2018-03-06T20:21:55.638Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is the Requirements Discovery Canvas?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g8Z1ehmJPKw7imx4N1vYag.jpeg" /></figure><p>We’ve seen a surge of Canvas Models in the last years. Especially the Business Model Canvas has seen a has gained a lot of popularity mostly thanks to today’s StartUp Hype. Many more Canvases for specialized topics have been proposed, such as the Product Canvas, the Service Model Canvas or the Lean User Experience Canvas.</p><p>And what if you are a Business Analyst in a software project like me? We’ve got your own canvas! Let’s check out the “Requirements Discovery Canvas” as proposed by Phil Robinson. Phil Robinson runs <a href="http://blog.lonsdalesystems.com/">Lonsdale Systems</a>, an IT consulting company that provides training courses for clients throughout Australia and SE Asia. He has also published a number of articles on IT Architecture in various journals.</p><p>In 2015 he published the Requirements Discovery Canvas, which he describes as follows: “The Requirements Discovery Canvas is a visual tool that helps teams discover and organize software requirements. Inspired by the <a href="http://www.businessmodelgeneration.com/canvas/bmc">Business Model Canvas</a>, it provides a framework for collaboration, that can be used by both agile and traditional software development teams.”</p><p>It’s important to understand that the canvas is not confined to the use in agile teams even though sometimes we have the feeling that agile teams like to embrace and adopt new ideas or tools faster than traditional teams.</p><p>Let’s be clear, in the same way the Business Model Canvas is not a tool to manage your business, the Requirements Discovery Canvas is not a tool to manage your requirements, but to provide context. It is best used in the initial stages when you are about to start your project and have nothing but an idea or maybe a vague concept. That can be well before we even think about setting up the project in an agile way or not, or at least at the same early stage.</p><p>The Requirements Discovery Canvas is designed to fill the gap between a vague idea or a business case that hasn’t got a whole lot to do with the real implementation and “provide teams with a context for populating a product backlog.”</p><p>Instead of populating a product backlog the canvas can also come in handy for the initial scope definition in a traditional project handbook. In my opinion it is also an excellent instrument that you can use when you are trying to price your service or frame a contract.</p><p>At the beginning of a project the business side is usually never slow to state their perceived needs, after all, why would they want a new project if they hadn’t plenty if needs to begin with. Enabling the stakeholders and/or product owners to understand the context and their own real business problem in a more concise fashion, usually leads to a higher quality of requirements, since many perceived needs or requirements are solving the wrong problems. There is an short, yet interesting article on <a href="https://www.solutionsiq.com/resource/blog-post/the-product-owners-dilemma/">solutionsiq.com</a> by David Bland to encourage product owners to be relevant in their respective projects.</p><p>But let’s get back to the Requirements Discovery Canvas.</p><p><strong>Major Questions of Requirements Engineering</strong></p><p>What the canvas does is to make you think in a structured way about some fundamental questions of requirements engineering regarding „who“, „what“ and „how“.</p><ul><li>Who is involved? Who is using going to use the solution? Who has other interests? Who are my stakeholders?</li><li>What do they do? What are the tasks or processes they perform?</li><li>What do they need? What are their current problems?</li><li>How could they use a software tool? How does can the solution support them? How can it relieve their pains? How can it increase their gains?</li><li>What is the existing vs. propose solution? What do we actually want to provide for them?</li></ul><p><strong>Major sections</strong></p><p>So let’s jump into the three major sections the canvas is comprised of. The Business section, the need section and the solution section. That’s also the order you will usually walk through the canvas in a workshop when trying to populate it.</p><ul><li>The “Business“ section prompts the team to identify the product owner, subject matter experts and stakeholders and understand their goals as well as the activities they perform.</li><li>The “Need“ section prompts the team to explore stakeholder needs. The context for exploring stakeholder needs is provided by the “Business“ section of the canvas. The need section itself is broken down into the strategic needs, information needs and into business rules.</li><li>The “Solution“ section prompts the team to propose solutions that will satisfy stakeholder needs. The context for proposing solutions is provided by the “Need“ section of the canvas. On the one hand the “Solution” section describes the Features and Vision of the software product, one the other hand adds a more technical perspective by looking at the most important interfaces and components.</li></ul><p>Note that I didn’t cover every detail here, but if you want to read more, why not check out Phil Robinson’s blog first-hand!?</p><p><strong>Pros?</strong></p><p>So what kind of advantages do I see?</p><p>A canvas-sized approach makes you want to scale it down to fill only the most-important aspects of each part, which hopefully leads to a little less feature creep.</p><p>The advantage of the canvas over a mere checklist is that it also inspires communication and discussion and leads to better and more creative ideas, while a checklist often focuses more on completeness.</p><p>The canvas is vendor and domain independent and doesn’t focus on any specific kind of IT project. The canvas can be applied to a cloud storage solution as well as to an E-Commerce system. Should be a given anyway, yet is not always the case.</p><p><strong>Any cons?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KwPznOUr6gJnH4CUQ4QeOA.jpeg" /><figcaption>Does Requirements Discovery sometimes feel like a ride on a merry-go-round?</figcaption></figure><p>The canvas doesn’t help you much in prioritizing features other than sticking them top to bottom in the sense of a backlog. A small weakness, if you want. You could however argue that that’s just not it’s focus.</p><p>The canvas doesn’t really help you in requirements validation. The canvas gives you a good context spanning from the business section via needs to solution, therefore it lessens the concerns on validity of the discovered requirements, however, consistency, completeness, realism and verifiability are still issues to be addresses by the Business Analyst. If you are concerned with requirements validation, you can also check out Omar El Gabry’s blogpost on requirements validation on <a href="https://medium.com/omarelgabrys-blog/requirements-engineering-requirements-validation-part-6-29778d7bde24">medium.com</a>.</p><p>So far I haven’t found any tool that explicitly supports the requirements discovery canvas, but I don’t really see any special tool-support as necessary as it would be pretty easy to customize Jira or Trello to it. If you know any tool, I’d appreciate if you told me in the comments below.</p><p>If you want to use it in a workshop-style the way I would, Phil Robinson also offers a blank template of the canvas <a href="http://www.slideshare.net/lonsdalesystems/requirements-discovery-canvas">here</a>. Some classic approaches never go out of style.</p><p><strong>Summary</strong></p><p>Personally I see the canvas as a great tool for requirements discovery. You just need to know when to use it.</p><p>If you want to learn more on how to properly fill the different sections of the Requirements Discovery Canvas in a meaningful way, tell me in the comments below or follow Lean Coders.</p><p><strong>Further ressources</strong></p><p>If you need more resources on the Requirements Discovery Canvas check the affiliate-links down below. These are two of the books I often recommend in order to get the most out of your requirements workshops:</p><ul><li>“<a href="https://www.amazon.de/gp/product/0321784138/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=fairytalenigh-21&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=0321784138&amp;linkId=8f4512bb63d2899501ae303673d50272">Executable Specifications with Scrum: A practical Guide to Agile Requirements Discovery</a>” by Mario Cardinal AND</li><li>“<a href="https://www.amazon.de/gp/product/B00W2DIRR6/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=fairytalenigh-21&amp;creative=6742&amp;linkCode=as2&amp;creativeASIN=B00W2DIRR6&amp;linkId=93ec01858760310a12ed50ebf9420b1c">How to Run Awesome Discovery Sessions</a>” by Trond Frantzen.</li></ul><p>If you want to take a shortcut, try reading: <a href="http://www.bridging-the-gap.com/what-questions-do-i-ask-during-requirements-elicitation/">What Questions Do I Ask During Requirements Elicitation?</a> It’s much shorter and, well, you don’t need to buy a book.</p><p><strong>Me and Lean Coders</strong></p><p>My name is Patrick Schmöllerl. I work as a self-employed Business Analyst, currently with a focus on Requirements Engineering. I met Christoph on a project where we were working together on an e-Commerce solution for our client. I hold him in great esteem and therefore, when he asked me about writing a guest post for his blog I was more than willing to do exactly that. If you want to find out more, check me out at <a href="http://patrickschmoellerl.com/">patrickschmoellerl.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=717515d87b6e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/requirements-discovery-canvas-717515d87b6e">Requirements Discovery Canvas</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[being a Software developer at Lean Coders.]]></title>
            <link>https://medium.com/lean-coders/beeing-a-software-developer-at-lean-coders-61dd96b64052?source=rss----c0e881c8795---4</link>
            <guid isPermaLink="false">https://medium.com/p/61dd96b64052</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Stefan Kerschbaumer]]></dc:creator>
            <pubDate>Fri, 02 Mar 2018 09:04:16 GMT</pubDate>
            <atom:updated>2018-03-02T09:27:09.492Z</atom:updated>
            <content:encoded><![CDATA[<p>„It’s been a while since I started as a Software Developer at Lean-Coders“- that’s what I want to say in some years!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJmbZeuRozuxmKdgxyJM8g.jpeg" /></figure><p>I’m developing for Lean-Coders since the time of summer 2017. It’s been a great time anyway, and the day I started to write code for Lean-Coders is also the date where I’ve got the awesome chance to be part of a great team and start earning money while doing my most loved hobby even without having a graduation degree or something similar.</p><p>Currently i would say nodeJs is my main language and frontend-development is what I’m doing most of the time.</p><p>I’ve worked with Angular 1 till 5 and also use technologies like graphQl, typescript, webpack and so on. I’m pretty sure that I wouldn’t be who I am right now if I didn’t met my awesome boss Christoph Ott, who gave my bootcamp possibility and told me to read book over book which got contents like JavaScript basics and Software Patterns to learn these from scratch.</p><p>While writing on this blog entry I was thinking about how I started to write code, and I remembered that this happened when I was like 10 years old. I „wrote“ — or „drag and dropped“ — my first projects using Visual Basic and Continued using C++ in combination with Reverse Engineering to get deeper into the world of development while creating process manipulating software and/or projects.</p><p>I actually used Reverse Engineering to find space in a process or a memory location/pointers to them at runtime which holds needed information or gives me space to inject new functions.</p><p>After that I wrote programs which got me deeper into games. I also used dll Injection to archive my goals like aimbots — which is a program to detect enemy in shooter games automatically and aim on them when the key which is binded to the shoot function was clicked, wallhacks which gave me the possibility to see through walls in this game and so on.</p><p>After a short time I started to create webpages using PHP and html, but I promised myself never using PHP again and start going into the right direction at the day where I met Christoph.</p><p>I think that Lean-Coders is a company which will be as big as Microsoft in the future, will write great code — as we do right now — and serve even better Software to the publicity.</p><p>I’m sure you will hear a lot more about us in the future!</p><p>Stay tuned!</p><p>Stefan</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61dd96b64052" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lean-coders/beeing-a-software-developer-at-lean-coders-61dd96b64052">being a Software developer at Lean Coders.</a> was originally published in <a href="https://medium.com/lean-coders">Lean-Coders</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>