<?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[Functionite speaks JavaScript - Medium]]></title>
        <description><![CDATA[We write about front-end development, JavaScript and developer culture. - Medium]]></description>
        <link>https://medium.com/functionite-speaks-javascript?source=rss----b7cecf33997c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Functionite speaks JavaScript - Medium</title>
            <link>https://medium.com/functionite-speaks-javascript?source=rss----b7cecf33997c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:48:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/functionite-speaks-javascript" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Effective communication techniques for remote front-end developers]]></title>
            <link>https://medium.com/functionite-speaks-javascript/effective-communication-techniques-for-remote-front-end-developers-d72fca21a7c0?source=rss----b7cecf33997c---4</link>
            <guid isPermaLink="false">https://medium.com/p/d72fca21a7c0</guid>
            <category><![CDATA[communcation]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Functionite]]></dc:creator>
            <pubDate>Tue, 05 Apr 2016 14:34:18 GMT</pubDate>
            <atom:updated>2016-02-29T16:45:45.957Z</atom:updated>
            <content:encoded><![CDATA[<h3>Effective communication techniques for (remote) front-end developers</h3><p>At <a href="http://functionite.com/">Functionite</a>, a front-end dev shop that specializes in JavaScript hybrid applications, our developers are free to choose a place they want to work from. Although we have our own office in Warsaw, Poland, a part of our team is distributed around the country, while locals love being flexible. In this environment, having effective communication skills becomes necessary to get things done in a timely fashion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pmGSknFC7S9JVnu50u_E_Q.jpeg" /></figure><h4>Communication</h4><p>Recently, we have been honored to process almost 150 job applications for Junior Front-end Developer position. After selecting the final 10, we set up a round of meetings to see what it’d be like to work together. Unfortunately, we’ve met quite a lot of extremely talented developers who lacked an ability to express their thoughts correctly. They had difficulty to formulate exact questions or to tell us more about problems they were tackling.</p><blockquote>Before each technical interview we always try to provide a comfortable atmosphere for the candidates. For instance, we tell them that it’s fine to seek for a solution in Google or ask us for help (that’s what their first months at the company would look like, so why not?) as this is normal in programming world. We openly admit it before we can start an interview.</blockquote><p>Sadly, after having a series of interviews we find it a major problem in the industry i.e. a significant group of brilliant developers out there are unable to describe their problems with the code in an understandable manner.</p><p>However, working in a remote team means you need to be precise. It begins with the minor things. For example, if you’re a developer who needs to leave a <em>virtual </em>desk. it’s always better to notice your coworkers about how long it would take. A<em>t least 1h </em>sounds a way better than <em>for some time</em>. It means your fellows can plan ahead and spend that hour productively. The state of unsureness is always the worst and paralyzes any further actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*HIr6lDUZwTzSgNMT0fkveg.jpeg" /></figure><h4>Silence</h4><p>Many developers like silence more than anything, though. While it’s absolutely fine to let them work alone to focus on a problem that requires a special attention, it’s doesn’t necessarily help manage projects to be delivered on time.</p><p>Programmers can be classified in a few groups based on how they tackle problems. For instance, there are developers who get stacked and troubled with a task for hours without communicating it to the team. Although sooner or later a talented programmer you certainly are will find an answer, in a professional environment you can’t afford such trade-off. That kind of ego-driven-development destroys trust among team members. Most importantly though, it costs companies a lot of money (imagine what could be accomplished during 5 days spent on solving an algorithm issue in a solo mode, if you’d asked early enough…). If there is a way to deliver code on time or even faster — we must use any tool we have to accomplish that. Asking for advice is often the smartest choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-8CFbhliYBXxl6xcpaHQQ.jpeg" /></figure><p>Of course not every team’s setup is ready for incorporating such behaviors. If the smell of contention wafts in your offices, people may think they are part of a negative competition, where it’s not natural to admit their weakness. It’s important to establish the clear rules about that in the first place.</p><blockquote>We need to realize that effective communication is as crucial as programming is for growing as a professional front-end developer. Especially for those of us, who work remotely.</blockquote><h4>Practice is the key</h4><p>We may be born good communicators, however being one is a thing you can learn. You need to observe how people react and how they respond to your questions. It will definitely take you some time to realize which moments are not ideal to disrupt a colleague speaking to the group at a Hangout meeting or, on the contrary, when you’re welcome to be proactive (for sure having a technical problem counts in here). It’s not a binary skill and requires a lot of work with other people to develop practical communication strategies. It’s also important to receive proper feedback — you can rarely improve without an objective manager that can give you advice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*laiXjYT1tZe4JnMxeVU9Ig.jpeg" /></figure><p>Fortunately, some of the communication rules are universal and repetitive. Given that, let’s take a look on the examples of good and bad communication patterns at work.</p><h4>Presence or absence</h4><p>As we wrote above, it’s vital to give predictions as precise as possible. If we’re taking a break for 50 minutes, let’s inform others about our 50-min absence. When we are at desk, let’s indicate that in our status on Slack or any other communicator you use for a group chat. Some people (actually, not a few) may not dare to trouble you, if they see you inactive. However, if we’re away from the keyboard, it’s unlikely to set a ‘do not disturb’ mode —let’s choose a status description explaining what we’re doing and why we’re busy. Then turn the ‘DnD’ status on.</p><p>Same goes for appointments we make in advance. We should inform our managers about day-offs as soon as possible (a week’s notice is always better than a day’s). It shows respect our coworkers as well as allows them find a temporary replacement for a project we’re in.</p><p>Another situation when effective communication matters is working in pairs. Every time we promise a meeting to someone else, we should reserve a safe time slot when we can fully focus on the job. It means feeding a cat in advance and not picking up the calls in the meanwhile. If your time is limited, it’s polite to inform your colleague about that.</p><h4>Describing your issues</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*ljXC_CPtdAiFv6VaOXqaiA.jpeg" /></figure><p>Another major case when communication matters is explaining the coding issues to other developers. At <a href="http://functionite.com/">Functionite</a>, our golden rule is to set a proper context first. For example, we find it unfortunate to blame <em>CustomMaps being inefficient in storing data </em>when we start presenting a problem. It’s very likely a developer we speak with is not familiar with the app or the exact place you refer to. It’s always better to work on a wider picture like <em>hey, look, if you click here on that button, you wait a lot of time. I suspect our poor CustomMap implementation. It starts off with that event handler, let me show you. </em>This way, we give them a better context that opens sort of a black box in their minds and help guide their thoughts to a proper place in the code.</p><p>Giving a meaningful context may be a trap though. Some developers tend to over describe the code they are working on. For example, “<em>I used a special event handling system so I’m adding a click event which, when fired, in turn finds a target node in the list. It’s a valid target only when it happens to be a link” </em>is way to long as we could replace it easily with “<em>I added click events to any link in that list using event delegation”.</em></p><p>Why the former is that bad? It introduces a few levels of abstraction that can provoke extra questions from a reader:</p><ul><li><em>special event handling system — </em>what makes it so special? Is it the first time we have used it? Does it differ from the native implementation like <em>addEventListener</em>?</li><li><em>target node– </em>what is a target node? ev.target or ev.currentTarget or maybe something else? How it finds that node — recursively, using querySelector or other API?</li><li><em>valid target</em>–what valid stands for? How you determine it’s valid?</li></ul><p>As we can see, using a fussy language may lead into unnecessary discussions. If we’re not good in precisely describing our code, let’s try to refer to the concepts commonly known as <em>design patterns</em>.</p><h4>Commits</h4><p>Ability to express your actions clearly is also useful in writing commit messages. It has probably been written in many books on good programming practices that an extensive and profound commit message is the boldest evidence of good communication skills. Every time we’re about to commit some code, let’s make a pause and relax our brain, since we will need to thoughtfully inform other users about our work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*Ugu3Nk-bOMfTiFc9bnGD-A.png" /></figure><p>For instance, when we changed CSS code which impacts the whole layout, “<em>changes CSS layout”</em> is rather a poor commit message, if left alone. It’s worth adding more description to it: “<em>It uses flexbox instead of floats as we dropped support for IE8 and flexbox will work for all of our customers now. Flexbox makes us capable of using more sophisticated cross-browser layouts with ease.”, which </em>is much more informative<em>.</em> Such text contains three major parts that every commit description should mention: <em>what was the problem,</em> <em>what has been changed</em> and <em>why the change was necessary. </em>It will tell a reviewer more and it’s going to be easier to scan through the commit history. Well written messages and descriptions should tell you a story about how the application evolved over time. You can read on writing good commit messages <a href="http://chris.beams.io/posts/git-commit/">here</a> and <a href="http://codetunes.com/2015/101-to-commit-message/">there</a>.</p><p>By the way — if you’re not satisfied with the commit history before making a Pull Request, you can always <em>rebase</em> your branch and rewrite some commit messages (or even merge them together). It’s always better to have a few meaningful commit messages than a hive of useless.</p><h4>Code reviews</h4><p>The purpose of code reviews mainly is to share the knowledge about new code with your reviewer, while they can give a feedback with suggestions about how to improve it. To make reviewer’s life easier, as we said, we can clean up the commit history. But it’s not enough. Certainly, a reviewer will have a lot of questions and they (usually) do not come out from the one’s obsession about blaming someone. As a reviewer you want to do your job right. This, they need to have as much information as possible. That’s why they ask questions. It’s not about offending other people or hurting their feelings. The purpose of code reviews is primarily to learn from each other. There is no room for sarcasm or letting your reviewer know you’re not interested in getting feedback. In fact, everyone should be interested.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6RQOauCPY5fjUQ1SlP8sWg.jpeg" /></figure><p>One of the worst review scenarios may be:</p><ul><li><em>Why have you used it?</em></li><li><em>I have been using it for years. It just works.</em></li></ul><p>It actually tells nothing and leaves a status quo. No one learns from each other while the code gets changed based on personal preferences.</p><p>In the best-case scenario a reviewer should try to give a context of their questions. Almost always we can find something that would make a dialog more fruitful. In front-end programming, it may be our experiences with other techniques —it makes sense to write about them:</p><p><em>Why have you used it? Isn’t it because flexbox doesn’t work on IE9? There is a nice polyfill that actually would allow us to use flexbox everywhere.</em></p><p>Now, knowing our motivation, author can write a concise answer like:</p><p><em>Right, it’s because flexbox is out of the game in IE9. I knew that script, however I tested it carefully and it doesn’t perform well in Maxthon. The majority of our users are still on it.</em></p><p>It’s dramatically different than the first answer, giving the reviewer more insight into why we actually have done what we have done.</p><h4>Final credits</h4><blockquote>Most people do not listen with the intent to understand; they listen with the intent to reply.— Stephen R. Covey</blockquote><p>We presented only a few useful advices as a good start. There is much more to be said on the topic and we are certain you will find many comprehensive resources. Communication is hard and has roots in psychology, society you live in, culture and even your childhood (as habits get developed early in your life). It requires a lot of practice, though it doesn’t take much to start improving it right away. Ask your colleagues, if they experience same issues and organize a seminar about communication rules in your company. You may suddenly find that more developers in your team struggle with ineffective communication strategies. Being honest about that is the first step to get off the dime and make your workplace a better place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d72fca21a7c0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/functionite-speaks-javascript/effective-communication-techniques-for-remote-front-end-developers-d72fca21a7c0">Effective communication techniques for remote front-end developers</a> was originally published in <a href="https://medium.com/functionite-speaks-javascript">Functionite speaks JavaScript</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Tips For Writing More Maintainable JavaScript Code]]></title>
            <link>https://medium.com/functionite-speaks-javascript/5-tips-for-writing-more-maintainable-javascript-code-b87de1147e94?source=rss----b7cecf33997c---4</link>
            <guid isPermaLink="false">https://medium.com/p/b87de1147e94</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[code-architecture]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Functionite]]></dc:creator>
            <pubDate>Tue, 05 Apr 2016 14:34:11 GMT</pubDate>
            <atom:updated>2016-03-11T14:40:34.254Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WX2C-mryurczmcsJ_7GGfw.png" /></figure><p>There are at least a few development rules we are always aware of at <a href="http://functionite.com/">Functionite</a> while working on the JavaScript applications. We have picked 5 of them to show what we have learned over the last couple of years that makes our code way more maintainable.</p><h4>Always stay conservative</h4><p>We believe that removing code is better than adding it. Being adventurous in writing new functionality is often looking for troubles by introducing another level of complexity. Instead, we should measure our code quality by how many lines we removed or how little code we’ve added. Never the other way around.</p><p>We strongly recommend reading this nice write-up on Programming Is Terrible blog– <a href="http://programmingisterrible.com/post/139222674273/write-code-that-is-easy-to-delete-not-easy-to">http://programmingisterrible.com/post/139222674273/write-code-that-is-easy-to-delete-not-easy-to</a> — on how to create code that is easy to delete.</p><h4>Avoid fat views</h4><p>Another thing everyone should avoid is implementing a business logic in the views. It always puts our application off the track so it becomes unmaintainable in the long run. In MVC design pattern it’s a model who keeps the business logic and never a view. Let’s take a look at the following example in which a view removes a single model, which in turn is linked with the other items that also should be removed:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/74b5d1e5223a29fe2d06ea2d5b24a861/href">https://medium.com/media/74b5d1e5223a29fe2d06ea2d5b24a861/href</a></iframe><p>View that contains such part is often called a <em>fat view</em>. It means it is implementing a lot of unnecessary business logic whereas it should have a single responsibility. In the above snippet, the view is responsible not only for calling remove function on the model, but also for removing <em>otherThings</em> from that model. It makes the code harder to test and maintain.</p><p>In order to write some unit tests, we’d need to test both the view and the model, instead of just the model. This is a sign that something is wrong. Code that removes <em>otherThings</em> should be put into remove method in a model.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b0b8a00d37a21ed71d11eccf741ea7b2/href">https://medium.com/media/b0b8a00d37a21ed71d11eccf741ea7b2/href</a></iframe><h4>Make your errors informative</h4><p>For a programmer who works in a dynamic environment (like startups are) it’s always tempting to skip checking your functions’ input or the conditions required to make an algorithm work. In fact, we should go a little overeager and throw errors wherever it may occur important to quickly debug an app:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5f39367bb6590288fb143348f0f64081/href">https://medium.com/media/5f39367bb6590288fb143348f0f64081/href</a></iframe><p>As you can see, it’s worth including information about which function (and/or module) failed and what a given input was. It makes debugging faster and environment-independent.</p><h4>Return early</h4><p>We believe also that it is a more effective strategy to return a value early instead of wrapping it in long <em>if else</em> statements. Having the code below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c779d31c4db7598840d721b1282cee87/href">https://medium.com/media/c779d31c4db7598840d721b1282cee87/href</a></iframe><p>we should have failed early and remove the <em>else </em>part making the code more readable:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/599133974bfd172dfd34b0ac0f5857aa/href">https://medium.com/media/599133974bfd172dfd34b0ac0f5857aa/href</a></iframe><p>Now, this is a way more readable, allowing us to keep the edge cases at the beginning of the file, so we don’t have to switch between <em>if/else</em> branches.</p><h4>Avoid logic in if statements</h4><p>If we do program using OOP style, we need to be aware of reducing a logic put into switch or if statements. It’s a very similar case to what the fat views case is, showing that our object structure may have been better thought. What is it about really? Let’s consider the following code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ae6cb9df044645cd638e2ad9c41d49f4/href">https://medium.com/media/ae6cb9df044645cd638e2ad9c41d49f4/href</a></iframe><p>What happens here is that in a single makeWords function we do certain actions like <em>setWord</em> or <em>sayIt</em> depending on the model’s type. Now, what if we add more types in a future? Will we have to keep adding more corresponding <em>else if</em> statements in <em>makeWords</em> function, which can be placed in a different package or module? It would make our code verbose and hard to maintain as we would need to always synchronize that function with the current state of models’ code.</p><p>Instead, we should encapsulate <em>makeWords</em> logic for each model type so they can decide individually what to do when <em>makeWords</em> is called:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/62b595259b1ca907200d79b12fc32d8a/href">https://medium.com/media/62b595259b1ca907200d79b12fc32d8a/href</a></iframe><p>This is just a tip of the iceberg of examples showing when you can make your code easier to maintain. Hungry for more? <a href="https://twitter.com/functionite">Follow us on Twitter</a> where we often tease our work and visit our <a href="http://functionite.com/">website to get in touch</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b87de1147e94" width="1" height="1" alt=""><hr><p><a href="https://medium.com/functionite-speaks-javascript/5-tips-for-writing-more-maintainable-javascript-code-b87de1147e94">5 Tips For Writing More Maintainable JavaScript Code</a> was originally published in <a href="https://medium.com/functionite-speaks-javascript">Functionite speaks JavaScript</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make better websites]]></title>
            <link>https://medium.com/functionite-speaks-javascript/how-to-make-better-websites-644bb1e74611?source=rss----b7cecf33997c---4</link>
            <guid isPermaLink="false">https://medium.com/p/644bb1e74611</guid>
            <category><![CDATA[css3]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Functionite]]></dc:creator>
            <pubDate>Tue, 05 Apr 2016 14:34:01 GMT</pubDate>
            <atom:updated>2016-04-01T15:44:49.537Z</atom:updated>
            <content:encoded><![CDATA[<p>We are all keen to improve our coding skills every day, right? So we asked for advice some of the greatest minds in web development industry on how to write better JavaScript and CSS code. Here’s what we’ve got:</p><p><strong>Brendan E.:</strong></p><p>You need to write a new browser language. The shorter time it takes the better.</p><p><strong>Lea V.:</strong></p><p>Sorry, it’s my sweet <a href="http://shop.oreilly.com/product/0636920031123.do">Secret</a>.</p><p><strong>Jan L.</strong></p><p>Commercialize all the things. Reach to good attorneys and get a decent software license. Also, apply for as many patents as possible.</p><p><strong>Juriy Z.</strong></p><p>Here’s the table. I categorized each step you need to take on. Look at column B3 about writing in ES6.</p><p><strong>Jed S.</strong></p><p>コーディングの仕方がわかりません。僕は翻訳者です。</p><p><strong>Douglas C.</strong></p><p>Listen carefully to your coworkers and contributors. Always provide a meaningful feedback. Never use semicolons — it’s a waste of space.</p><p><strong>TJ. H.</strong></p><p>For a good start I would advice publishing ca. 1000 modules on npm.</p><p><strong>Azer K.</strong></p><p>Unpublish ca. 1000 modules on npm to begin.</p><p><strong>Isaac Z. S.</strong></p><p>^ Not funny.</p><p><strong>Harry R.</strong></p><p>Not sure, but I can always run a workshop about that, if you’re interested.</p><p><strong>Addy O.</strong></p><p>I wrote about it 5 years ago. <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">Here’s</a> the incomplete list of my 512 publications.</p><p><strong>Kyle S.</strong></p><p>First off, <a href="https://www.kickstarter.com/projects/getify/you-dont-know-js-book-series">you don’t know JavaScript</a>.</p><p><strong>Mathias B.</strong></p><p>Go to view source in Firefox 30 at any page, write “belgian chocolate” and then press “cmd + alt + 4 + ]”. You will see a prompt window. Type “☃💩֍” in. Funny? NO! How can it be even possible?!</p><p><strong>John-David D.</strong></p><p>Learning JavaScript? It’s all about functions.</p><p><strong>Miško H.</strong></p><p>Put together every idea you ever had in one framework. Then publish it.</p><p><strong>Jeffrey Z.</strong></p><p>&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;.</p><p><strong>Todd M.</strong></p><p>Not sure, however here’s the number to my hairdresser.</p><p><strong>Axel R.</strong></p><p>ECMAScript spec covers it pretty well. Go to page 183, paragraph 2, third sentence and read it carefully.</p><p><strong>Christian H.</strong></p><p>In 1960 when I started writing websites I already had a bold opinion on improving yourself as a developer. I still have it.</p><p><strong>Chris C.</strong></p><p>Found <a href="https://css-tricks.com/writing-better-html-css-slides-from-fowa-london/">it</a> in Google, hope it helps.</p><p><strong>Max O.</strong></p><p>Ask your cat.</p><p><strong>Yehuda K.</strong></p><p>Actually, we are completely wrong about how we teach web development these days.</p><p><strong>Sara S.</strong></p><p>Neither CSS nor JS. Everything you need are vectors. Have you already seen my Angular.js implementation using SVG? (IE5+ compatible).</p><p><strong>Gary B.</strong></p><p>Wat?!</p><p><em>Btw. the above statements are a fiction and do not belong to any real person or a company. It’s an April Fools’ joke. If you though wanted to improve your code, you can always reach to us at </em><a href="http://functionite.com/"><em>Functionite</em></a><em>. We do not only make jokes, but also code great websites and JavaScript applications.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=644bb1e74611" width="1" height="1" alt=""><hr><p><a href="https://medium.com/functionite-speaks-javascript/how-to-make-better-websites-644bb1e74611">How to make better websites</a> was originally published in <a href="https://medium.com/functionite-speaks-javascript">Functionite speaks JavaScript</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Popularity-driven development]]></title>
            <link>https://medium.com/functionite-speaks-javascript/popularity-driven-development-dd28dcd0b061?source=rss----b7cecf33997c---4</link>
            <guid isPermaLink="false">https://medium.com/p/dd28dcd0b061</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Functionite]]></dc:creator>
            <pubDate>Tue, 05 Apr 2016 14:33:29 GMT</pubDate>
            <atom:updated>2016-04-05T14:28:14.667Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The article comes from Damian Wielgosik’s (Functionite’s CEO) blog, ferrante.pl.</em></p><p>For the last ten years I have been publishing various things on the web about JavaScript and front-end development. I also have organized meetups and conferences like <a href="http://front-trends.com/">Front-Trends</a> or <a href="http://summit.meetjs.pl/">Meet.js Summit</a>. I’ve met a lot of people, worked on exciting projects, got to know different views on certain topics and heard many exciting life stories, either good or bad. Recently, when I looked back at all of these moments I noticed I used social media channels to make them happen. I wasn’t aware though of the responsibility I had.</p><h3>I was there</h3><p>Truth be told, I went down the path of yet another teenager enchanted by countless possibilities of web technologies that became a professional front-end developer who is paid for his job. In 2007, at the beginning of my journey I started this blog. I remember the JavaScript tutorial I’ve written which gained a lot of readers, even though I wasn’t the expert in the field. Although I had like 20% of my current JavaScript skills, the entry-level articles I wrote got some nice publicity. People were massively sharing them and positive comments were endless. Shortly I became a recognizable JavaScript developer in the Polish community and people seemed to listen to what I have to say. I got a good creditability. It convinced me to write more things. After some time I realized I influence the choices of other developers. So when I recommended jQuery, some people followed me in this opinion and tried it. Although it was just my personal preference and I didn’t have skills to judge it well, I felt like I helped them make a choice for a good reason. I found myself special. It’s a great position to be for a 18 years old developer, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IYe2mPc1d1xKpJoL.jpg" /></figure><h3>With great power comes great responsibility</h3><p>I wanted to tell you about that (even though it’s a tl;dr version of my online presence written from a certain perspective) to set a historical context for this article, because now after almost ten years it’s even more common — I mean it’s not demanding to influence other developers by what you write or say. And people love to have an impact on something. Today we have way more communication channels than we had in 2005. A decade ago our online creditability was measured by a number of RSS subscribers in <a href="http://feedburner.google.com/fb/a/myfeeds?gsessionid=a_DoeF_GOxvpxiZXliJN2w">Feedburner</a>, now it can be expressed in many ways, for example in how many people follow us on <a href="http://twitter.com/">Twitter</a> or how many developers starred our stuff on <a href="http://github.com/">Github</a>, not to mention number of retweets, likes and shares. Our community is amazingly active and socially engaged, as we love to read and explore new things. And your tool might be the next thing people will talk about. Actually it’s great, because a good work always deserves a great reception. Having a group of people that admire your hard work can be for some also one of the biggest motivational factors to write even more code and share better ideas. However, we tend to forget that “with great power comes great responsibility” and while above apps helped us solve some of the problems, they on the other hand introduced new issues as well as redefined the old ones (including our laziness).</p><h3>Numbers</h3><p>Imagine you want to add charts to your application. What you do? You probably don’t have time and money to write your own library. And it wouldn’t make sense anyway. So you either know a perfect fit from your past projects or have to find one on the web. If latter, you search for it in Google or Github. And what eventually helps you make a decision is most likely information on how many devs have used it in their own projects. In times we live in, this knowledge is often expressed by a number of followers/likes the project has gotten. So usually an ordinary developer takes the most popular project and tries to adapt it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/0*CKuL9o9nsbl4EbHy.png" /></figure><p>At this point it’s worth to realize that most of us just can’t keep trying different things for ever or write their own solutions. Our budgets are not infinite and deadlines are tight. We need to make quick decisions. So we often measure the quality of software by a number of watch/stars at Github, but we don’t know why the project gathered so many and who clicked what. We don’t know the marketing efforts behind some of the numbers. And what is most important, how can we trust that let’s say 2000 developers have even used it? Maybe some of them clicked the star button, because they admire author’s efforts and like their blog posts? Whatever concern you’d had, you never know. A number of stars/followers is the most untrustworthy factor you can take under consideration to pick a tool for your project.</p><p>In these circumstances other variables matter. For instance, using Github you can always inspect issues reported by other users. It will help you have a better understanding of what is going on and what kind of problems you will face while using a program you consider for your next endeavor. You will also see how fast the bugs are resolved. After all, it’s crucial to know, whether a project I will be using for months is/will be actively maintained by the authors and fellow contributors. Does it have the roadmap? What version is it at? Is the versioning logical?</p><h3>Responsibility — think before you share</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*lsRF1Se5yjEpEkuI.jpg" /></figure><p>Another thing related to our social media presence is a responsibility for others. Each day the front-end community welcomes a new member who has a little experience and asks questions like <em>how should I start?</em> <em>what library to use?</em> And more. Unfortunately, when answering these questions, we — as more experienced developers — don’t want to leave our comfort zone and understand who asked them and why. Thus, although we want to help, we give answers that are most suitable for ourselves. We simply answer how we would learn JavaScript, if we started today. We don’t consider other people’s background and motivation that comes with a question. Beginners don’t want to hear “learn Angular.js”, because you use it. They look for an answer crafted well for the place they come from. Using a strongly opinionated tool won’t help them learn JavaScript. Instead, it’s worth to look back and see how we used to learn JavaScript and based on that give useful tips that will help somebody grow as a JS developer.</p><h3>I know better attitude</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/0*fxuHQTxM7BIkKoMz.png" /></figure><p>By the way, do you remember Prototype.js library? Its authors saluted to extending the native objects such as Function.prototype. Today we name such things as bad practices. Back then, it was like — <em>wow, do you see what we can do? Awesome man!</em>. And there are more things that we used to appreciate and then abandoned. Not to mention “with” part of the language or advocating for avoiding <em>new</em> keyword as it can mess up with what <em>this</em> references to. Or declaring DOM events directly inside HTML code like &lt;a onclick=””&gt;, which now seems to be a foundation for reactive-dom-like tools. We actually don’t mind history as we are constantly busy with moving forward. We don’t try to understand other perspectives. We get fascinated by new and shiny things, even if they were not tested well yet or proved to be an actual improvement. We are hungry for inventing something for the sake of inventing so we create something, share it and ask for a feedback.</p><p>All that is great, this is how we invent things, however in this pursuit to become an author of anything, only a few can acknowledge they can be mistaken. For me, being able to publicly confess that I was wrong was one of the most important events in my life. Having a big number of followers you need to be more responsible for your actions and have to consider different points of view. It can only improve your code and a way you act. This is one of major skills a developer can have. However, it’s in opposite of how we are thinking. We often feel we need to be smarter than others, know better and call Steve Jobs an uncle. It’s not a way to resolve problems. And that Stevie guy wasn’t alone, he had a great team behind.</p><h3>I’m not a ninja</h3><p>And this way of thinking is our fault as we allowed to call us Ninja Developers or Rock Star Developers, whatever. It has been a cool terminology for a long time. However, it had negative effects in the community and credited us to be infallible. It gratified developers’ vanity. That brings up another subject that is being able to constructively listen as an example of acting pragmatically. I think we are not always aware of importance of this and it doesn’t have to come down only to the code. What I mean is we don’t think on our own. We imply that a developer with 10,000 followers on Twitter is a star and someone who knows how to program better than you just because of the numbers. In the social media world, some of us seem to be under impression that a popular developer always has to be right. I’ve witnessed it several times when people actually took the number of their followers seriously as it would be a way for them to look better in front of other developers. Actually, smart developers and speakers don’t feel like rock stars and they don’t want to be called like that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WUO1EL9Jy9MvpQnI.png" /></figure><p>This race for a fame is also visible in a conference world. Conferences are often used by speakers as marketing tools. We often trust them just because they have spoken at conferences. Remember that having “speaker” on their business cards doesn’t necessarily mean they are good engineers. Most of them are, but from my organizer perspective there are people that make their PR on top of this which is just unfair.</p><h3>Evangelists</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SuNHCC19fXT-gNGK.jpg" /></figure><p>Increase in popularity of Twitter and Github also made up a fantastic opportunity for creating positions like Developer Relations Manager/Evengelist. Companies hire those people to talk to other developers and advocate their products. Some of them (yes, mainly browser vendors!) have also a privilege to talk about brand new HTML5 APIs, because their companies work on them. Following developer evangelists is a perfect way to get to know about new technologies and stay up to date with what’s going on in the market. However, when I chat with evangelists or hear about their work, they mostly focus on writing short snippets of code and traveling around the world to give talks. While I appreciate this work, I think it’s actually not as cool as it sounds. These people always complain of too many conferences they have to speak at as they are just tired of traveling here and there every week. Sometimes you feel you deal with tired people who don’t like their jobs. Sadly, they usually don’t code apps anymore because of other duties, while one of their main tasks remains to help us write better applications thanks to technologies they evangelize for. In age of the extremely fast JavaScript growth that doesn’t sound convincing.</p><h3>People, not numbers!</h3><p>Why does it all happen? I think the major problem lies in the fact that we became the consumers of an overwhelming piece of information and we can’t process all of it. There is too much noise and we don’t have time to properly analyze the content we are served and check where it comes from. And our brains work faster, if we feed them with clear numbers. On the other hand, having a big number of followers is just tempting for authors.</p><p>Services like Github and Twitter have certainly improved our lives in a lot of areas. Thanks to them we can share gigantic portions of knowledge every day using an outstanding range of social media options like sharing and liking. These tools helped us understand each other better and learn about different perspectives. However, they also have negative implications. We forget that people are still human beings and they are not a number of followers as well as a popularity can be just one of the factors you can measure software with. Despite the social media revolution in our industry, programs still have bugs and people still make mistakes. Github stars definitely won’t fix this.</p><p><em>Originally published at </em><a href="http://ferrante.pl/frontend/javascript/popularity-driven-development/"><em>ferrante.pl</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd28dcd0b061" width="1" height="1" alt=""><hr><p><a href="https://medium.com/functionite-speaks-javascript/popularity-driven-development-dd28dcd0b061">Popularity-driven development</a> was originally published in <a href="https://medium.com/functionite-speaks-javascript">Functionite speaks JavaScript</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>