<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alex Yelenevych on Medium]]></title>
        <description><![CDATA[Stories by Alex Yelenevych on Medium]]></description>
        <link>https://medium.com/@a.yelenevych?source=rss-dcd4a792444f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*DKVHR-wpa3A1sCc3v3X8hw.jpeg</url>
            <title>Stories by Alex Yelenevych on Medium</title>
            <link>https://medium.com/@a.yelenevych?source=rss-dcd4a792444f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 09:48:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@a.yelenevych/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How To Run a Ukrainian IT Business When the World is Falling Apart]]></title>
            <link>https://ehandbook.com/how-to-run-a-ukrainian-it-business-when-the-world-is-falling-apart-f93aecda5872?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f93aecda5872</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[ukraine]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[founders]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Fri, 01 Apr 2022 11:21:54 GMT</pubDate>
            <atom:updated>2022-04-01T11:21:54.313Z</atom:updated>
            <content:encoded><![CDATA[<h4>As a co-founder, I never imagined that my employees would have to work under bombing raids or flee our city on a bike.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*0BsiMnJ_QMzrIWj4uIvjjQ.jpeg" /><figcaption>A fire was caused by a GNP hitting a high-rise apartment building next door to mine. Photo from the <a href="https://www.facebook.com/MNS.GOV.UA/posts/321103850057511">Facebook page</a> of the SES of Ukraine.</figcaption></figure><p>The main product of our company helps people from many countries learn Java online and become developers. Right before the war started, things looked pretty good for us. The number of users was growing, and we were working on a new product called Java University. We had ambitious plans: after the launch of the free version in China, the EU, and the USA, we started preparing the content for the paid version. We were also thinking about creating a platform that would connect students learning Java with mentors who can help them solve problems. We were considering attracting investments and expanding quickly and widely. All our ideas seemed so exciting, and the future looked so bright.</p><p>We had heard the news about Russian troops near our borders, and we were feeling tension and anxiety. But, as strange as it may sound, since 2014 (when Russia started sending its troops to the eastern regions of Ukraine and annexed Crimea), we have gotten used to these emotions and the danger coming from our so-called “neighbor”. We hoped for the best. None of us thought such madness could happen.</p><p>I live (I don’t want to say “lived”) in Kyiv, on the left bank of the Dnipro river. On February 24th, around 5 am, I woke up because of sounds I’d never heard before: shots or explosions. “Maybe it’s nothing,” I said to myself. But then came the next ones. I reached for my phone. The news was overwhelming: many Ukrainian cities under attack, missiles flying, bombings. It was the end of my plans for the day — and the beginning of our new reality.</p><p>During the next several days, I stayed in Kyiv and tried to connect with my colleagues. Some of them left the city for the villages in the suburbs; others were running much further. People were worried about money and the future. My employees kept asking me: what if I left? Would I be able to work? Would the company survive?</p><p>My wife was also asking me whether we should leave or not. I didn’t know what to do. But then our army shot down the cruise missile, and it fell one block from our house. So, we decided to leave Kyiv. My parents refused to go with us. “It’s our city, and we’ll stay with it,” they said.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*DG-4h0uYLNa_BSdDWvjDag.jpeg" /><figcaption>One more photo of the ruined house near my own. Taken from <a href="https://24tv.ua/kyivnews/budinok-poznyakah-kudi-potrapila-rosiyska-raketa-mozhe-obvalitisya_n1878229/amp">24tv.ua</a></figcaption></figure><p>After leaving Kyiv and finding a safer place, I had to act fast to keep the business afloat. This huge task required several steps.</p><h4>Safety</h4><p>We made sure our employees also came to safe (or at least safer) places. Today, every Ukrainian has a story: scary, tragic, and sad. Our employees do too. Some of their stories are very unusual. For example, one of our colleagues left Kyiv for Vynnytsya (the city in the center of Ukraine) by bicycle. In a single day, he rode 50 km, found a place to stay in some village, worked for several hours, and resumed the journey the next day. Ukrainians are unbreakable!</p><h4>Tools</h4><p>We did our best to provide all the devices people need to work. Some of the employees managed to take laptops from the office (luckily, we had some there). Several PCs at the office still are on, so our developers can connect to them through the internal network. The main infrastructure is in AWS, and the servers are located in Germany and the USA. So, our products are stable and work without any problems.</p><p>Most of our employees have been using mobile internet since the war started. Their smartphones have become access points, and it allows them to work.</p><h4>Communication</h4><p>Sure, there were some communication problems as our people were spread around Ukraine and abroad. For example, our designer is still in the village near Kyiv. She has a laptop, but the internet connection is awful. She found a spot with a slightly better signal — and has to go there whenever she needs to send or receive some files. And it often takes a long time.</p><h4>Resuming work</h4><p>Despite all the difficulties, we resumed work. We want to strive and continue paying out salaries even in these terrible circumstances. But because of the war, we lost a big part of our income. So, we needed new ideas. We met online and started brainstorming. Maybe the reason was the adrenaline rush, but we came up with solutions very quickly.</p><p>For example, we started a promo campaign with no closing date: 50% discount on our Java course. We are very grateful to all the people from Europe and the USA who are buying subscriptions. They help us support our employees who had to leave their lives behind and keep our company alive. Our biggest fear is closing the business we’ve put all our efforts and hearts in. Our old and new clients are saving us from the worst scenario.</p><p>Before the war, we were actively expanding to the Chinese market, and now we’re still pursuing this goal.</p><p>Also, we decided to launch Java University. Instead of 12 months, as we initially planned, we’re offering three months course, “Java Fundamentals”, with mentors’ support. We hope it will increase our revenue and stabilize our financial state.</p><h4>Mental health</h4><p>We knew our people were experiencing enormous stress and wanted to help them cope. Our game designer is also an expert in psychology. So, to support our employees, we conducted sessions at the end of every meeting. Everyone could share their emotions, fears, and thoughts. It made people feel they weren’t alone and lowered their anxiety.</p><h3>It’s everyone’s fight</h3><p>Today, all of us keep helping the country to fight. Ukraine must defend itself on two battlefields: physical and informational. We are trying to do as much as we can on both. As early as possible, we sent emails to our users in several languages (Polish, English, German, etc.) with information about the current situation and ways to help Ukraine. We assured them we’d continue supporting our products, so they could learn Java regardless of where they were. After all, we need to stay in business to rebuild the Ukrainian economy after our victory!</p><p>The response we’d gotten extremely touched us. Our customers from numerous countries were writing to us offering help. They even suggested accommodating our employees! It felt like our users stood with us and supported us at the darkest time. They gave us faith that we could survive, stay together, and keep our business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TMZTpy46Dq1QmsWiYSEsIQ.png" /><figcaption>Screenshots from our support team show the reaction of our users to the letter about the situation in Ukraine.</figcaption></figure><p>Then, we focused our efforts on three projects:</p><ul><li><a href="https://global.donor.ua/">Donor.ua</a> — his project accumulates information about blood donors all over Ukraine and coordinates the blood donating process. We’re helping them with the advertisement for potential donors and money collection. This organization needs funding, and we’re doing everything we can to attract foreign investments.</li><li>The project “<a href="https://www.myporuch.org/">Ми поруч</a>” (“We’re near”) — provides psychological support for children during the war. Kids are very vulnerable today. They may be scared of hearing sounds of alarm sirens, or explosions, staying in bomb shelters for days, seeing terrible things. This project connects children with therapists.</li><li><a href="https://dostupno.ua/">Dostupno.ua</a> — The project which purpose is to evacuate people with disabilities from hot spots.</li></ul><p>Also, many employees join different volunteer projects by themselves and help spread the information about what’s really going on. Many of our team members are helping the army and refugees with medicine, equipment, etc.</p><p>Yesterday, we were developers, designers, and managers. We lived our ordinary lives: worked, went for lunch with colleagues, made Friday night plans with friends, and booked tickets for the next trip somewhere.</p><p>Today, everyone in our company is not just an employee but also a volunteer. We work to protect our business, our people, and our country. And we won’t give up until we win.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f93aecda5872" width="1" height="1" alt=""><hr><p><a href="https://ehandbook.com/how-to-run-a-ukrainian-it-business-when-the-world-is-falling-apart-f93aecda5872">How To Run a Ukrainian IT Business When the World is Falling Apart</a> was originally published in <a href="https://ehandbook.com/">Entrepreneurship Handbook</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Skills Gained From Professional Swimming Help Me Become a Better Manager]]></title>
            <link>https://ehandbook.com/how-skills-gained-from-professional-swimming-help-me-become-a-better-manager-ea45d7c91bac?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea45d7c91bac</guid>
            <category><![CDATA[management-and-leadership]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Wed, 09 Feb 2022 16:27:06 GMT</pubDate>
            <atom:updated>2022-02-09T16:27:06.411Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why do so many leaders play sports</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e0TVEsOFpHzU-EJo_ZIZYA.jpeg" /><figcaption>Source: <a href="https://www.dreamstime.com/stock-illustration-swimmers-swimming-pool-vector-illustration-image76981448">Dreamtime</a></figcaption></figure><p>What makes a great manager? This question is the source of numerous discussions, expert opinions, and books. Nevertheless, we don’t have an answer yet. I decided to find my own, based on my professional experience (I’m the co-founder and the CMO at <a href="http://codegym.cc/">CodeGym.cc</a>, the company with over 2.5 million users) and personal path.</p><p>I’ve been in professional Finswimming for over eight years now. I’ve taken part in numerous competitions in Ukraine and abroad. I even took part in two Finswimming World Cups, in Serbia and Hungary, where I came fourth and fifth. I’ve invested so much time and effort in this activity, so it’s become a part of who I am. It shaped my personality and helped me to learn multiple lessons. Surprisingly, they turned out to be extremely valuable for my business and product management in particular. In this article, I’m sharing these lessons with you.</p><p>Why do I think my personal experience matters? Because it’s not just mine. Mark Zuckerberg was a fencing star in high school. Whole Foods ex-CEO Walter Robb was the captain of the soccer team back at Stanford. Also, I read about the survey Ernst&amp;Young conducted <a href="https://www.cnbc.com/2017/01/11/want-to-be-a-ceo-later-play-sports-now.html">several years ago</a>. They found out that 96% of women in C-level executive positions used to play sports. Of course, it doesn’t mean that every athlete is an efficient entrepreneur, but it looks like there’s a certain connection between sports and skills that managers can benefit from. And although I’m not a researcher, I tried to summarize what Finswimming taught me — and how I’m using it in my work.</p><h3><strong>1. Surround yourself with the best people</strong></h3><p>It will stimulate you to grow and achieve better results.</p><p>When I was in the third grade, I was diagnosed with asthma. Also, my allergy was progressing. The doctors suggested that I start taking swimming lessons to help develop my lungs. At first, my parents brought me to the beginners’ group. Its purpose was just to teach kids how to swim. Nobody was expecting us to become champions. I was among the weakest kids there. Learning to swim wasn’t easy for me. It took almost a year. But when I started to notice my first small successes, I felt a genuine interest.</p><p>Suddenly I understood that I wanted to swim faster than the others. I enjoyed starting the exercise last but finishing it the first. Soon, my coach saw my progress and recommended transferring me to the advanced group.</p><p>The kids there were much more trained. Some of them had already been participating in competitions or preparing for them. I was looking up to them and tried to become better, too. In time, I started to swim faster than everyone in my group. And the next step for me was to enter the professional swimming club.</p><p>Again, I found myself in a new challenging environment. Everyone was five or six years older than me, and almost everyone was better. At first. But as I badly wanted to become the best, I already could swim faster than some of the older boys in several months. Also, it came as a surprise that I’m capable of winning prizes in championships. I became one of the strongest swimmers in my city and region. And I owe it to this approach: aspire for the best.</p><p>Later, as an adult, I understood that the same principle applies to management. You can’t grow if you’re among people who are much weaker than you. Instead, if your peers and subordinates are smarter (faster, more educated, etc.) than you — it’s an opportunity to become better.</p><p>Of course, it requires humility to accept that you may not be “the fastest kid in the group”. But the result is worth it.</p><h3><strong>2. Listen to professionals even if you are sure you’re right</strong></h3><p>Once, trying to achieve even better results, my friend and I decided to start exercising by ourselves in addition to all the training we had with our coach. Sometimes we had several workouts in one day. But it turned out that it didn’t make us better. Instead, our results worsened because we put too much pressure on our muscles. Moreover, I even got injured while lifting a big weight, which threw me back.</p><p>I recall this story occasionally, especially when I don’t like to hear what a colleague tells me and feel tempted to do it my way. Then I ask myself: do I trust this person’s expertise? If the answer is positive, I consider my colleague’s opinion.</p><h3><strong>3. Be persistent in achieving your goals (even when something’s going wrong)</strong></h3><p>After many years of training, I wanted to earn the title “Master of sports’’ (MS). To get it, you have to demonstrate specific results (high speed of swimming) at the national-level competition. It seemed easy: after all, I was already swimming this fast and showed the required speed at every training. I was sure that I’d do the same at the competition.</p><p>But the reality was different. I was too nervous, there were too many people… And I failed. It took me almost a year to earn the desired title.</p><p>We often make the same mistake in product management: we create an MVP (a minimum viable product) and assume the target audience will love it, and we’ll scale it quickly and flawlessly. But then harsh realities bring us back to where we started. And if we’re not persistent, we’ll lose.</p><h3><strong>4. Allow yourself to make mistakes</strong></h3><p>Professional athletes know the value of a good mistake. It teaches you never to give up, analyze your past, prepare for the future, and eventually get better.</p><p>Doing business requires the same attitude. If you made a mistake and never learned from it, you really failed. If you learned your lesson, you won, even if your outcomes are far from great so far.</p><h3><strong>5. Keep your focus, plan, and stay organized</strong></h3><p>In high school, I had to combine swimming with studying and preparing for the university entrance exams. Instead of focusing on just sports, I wanted to achieve educational success, too. I had to learn how to plan my time. For example, I got up at 5:45 am, and I had my first training at 6:45 am. The school started at 8:30 am. Then I had lunch and went to the training course at the university that I planned to apply to. And at 9 pm, I had my second training at the pool.</p><p>Sometimes it felt like a too heavy load for one person. But, at the same time, this regimen taught me to always be on time and focus on a single task to avoid distractions. This skill is sometimes called “mental toughness”. It allows professional athletes to go on even when they are extremely tired or demotivated.</p><p>This skill is precious for a manager. You can’t achieve real success overnight. Creating a product requires taking time, planning, and staying focused. It’s a marathon, not a sprint. So, every manager can benefit from developing mental toughness. To do it, accept new challenges and try to keep your focus under the pressure they create.</p><h3><strong>6. Balance your work and life outside the office</strong></h3><p>My coach used to say: “The best results are born from the right combination of work and rest”. Our muscles and neural connections need this change of pace to grow most efficiently. You can’t keep putting more and more load on your body without allowing it to rest. Otherwise, you’ll get injured.</p><p>The same is true for the work-life balance. If you’ve been working intensively for a long time without proper rest, you’ll be at the risk of burnout. That’s why even in weeks when I have to work 10–12 hours a day, I dedicate at least one day to non-work-related activities. It helps to switch focus and, therefore, get energized.</p><p>Burnout is a serious problem, and the IT industry is not an exception. According to the survey conducted by <a href="https://www.indeed.com/lead/preventing-employee-burnout-report">Indeed</a>, over the past year, the situation has worsened. In 2021, 52% of employees were feeling burned out. 67% of them think this feeling has gotten worse since the beginning of the pandemic.</p><p>So, today this lesson is vital: maintain the work-life balance and help your employees to do the same. Notice the first signs of burnout in yourself and the people around you, and act upon them. Have some rest, give an employee an extra day-off, take a short trip, etc.</p><h3><strong>7. Retain confidence</strong></h3><p>Any type of success, in sports or business, would be impossible without feeling confident and taking risks. You have to make decisions and often do it quickly and under a lot of pressure. I’m not a big fan of the old proverb “Whoever doesn’t risk never gets to drink champagne”. I rather believe that facts and analysis should support every decision. But when it comes to trying something new or implementing changes, facts and analysis mean nothing without confidence and willingness to take risks.</p><h3><strong>8. Take responsibility</strong></h3><p>In sports, there’s no one to blame for your failures and no one to praise for your successes except for yourself. In business, we sometimes can’t follow this rule. We blame our competitors or an economic situation. But this attitude won’t bring us anywhere closer to our goals. If we want to succeed, we need to take full responsibility for our actions and outcomes.</p><h3><strong>9. Strengthen teamwork</strong></h3><p>Although swimming isn’t a group activity, still, it taught me how to be a part of the team. You have to listen to your coach and teammates, communicate your opinion, and conduct a dialogue.</p><p>While working as a product manager, I understood that the value of the team is the most significant value you own. A weak team means an ineffective product. A strong team with solid communicational skills equals a strong product with precise positioning.</p><h3><strong>10. Act</strong></h3><p>It may sound trivial, but some people dream while others act. Guess who wins?</p><p>So, both in sports and business, it’s crucial not to hesitate. If you have confidence, support from your team, and a clear vision, then act.</p><p><strong><em>And there’ll be nothing that can stop you.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea45d7c91bac" width="1" height="1" alt=""><hr><p><a href="https://ehandbook.com/how-skills-gained-from-professional-swimming-help-me-become-a-better-manager-ea45d7c91bac">How Skills Gained From Professional Swimming Help Me Become a Better Manager</a> was originally published in <a href="https://ehandbook.com/">Entrepreneurship Handbook</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Business Community: Focus on Cooperation, Not Competition]]></title>
            <link>https://ehandbook.com/building-business-community-focus-on-cooperation-not-competition-4f4c9e34fa9a?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f4c9e34fa9a</guid>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[marketing-strategies]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Fri, 17 Dec 2021 12:48:00 GMT</pubDate>
            <atom:updated>2021-12-17T12:48:00.270Z</atom:updated>
            <content:encoded><![CDATA[<h4>By turning rivals into partners, we can find strength in numbers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DsLpNfjPA6EQZ02h5wxNlQ.jpeg" /></figure><p>Today’s world looks a bit like Wonderland: what seemed impossible just yesterday will be old news tomorrow. New companies, products, and markets appear faster than we can say the word “change”.</p><p>In these circumstances, it’s no wonder that most of us agree with the saying, “competition drives the market”. Unfortunately, however, we often act as if competitors are our enemies.</p><p>I’m a co-founder of a company in the ultra-competitive online education market, with more than 2.5 million users in multiple countries. So while I’m familiar with the concept of competition — I’m not naive — I’m convinced that organizations should be afraid of internal problems rather than other companies. From my experience, the business community can strengthen its every member if we build it on cooperation, not competition.</p><h3>Who’s the real enemy?</h3><p>Nowadays, we try to solve problems by negotiating; many books and experts still compare business to war. Competition is often a lifestyle: people compete for higher grades, better things, and bigger salaries. Competition became an integral part of society due to historical, cultural, and other factors. Everyone’s an enemy, and this point of view remains dominant among business owners and CEOs.</p><p>Maybe in the past, it was helpful to think of competitors as foes, but the modern world is so interconnected that this perspective doesn’t allow us to see new opportunities, stands in the way of improving, and, as a result, weakens our products.</p><p>It’s been nine years since we started building CodeGym.cc from scratch. And while we were going along this path, we were making mistakes and learning from them. Knowing everything I’ve gained, I think that the main enemies of any business are:</p><ul><li><strong>A wrong strategy: </strong>Sometimes, entrepreneurs pay too much attention to competitors’ strategies and try to create “something different” instead of focusing on their own vision. At other times, they just copy someone else’s strategy and try to implement it.</li><li><strong>A weak product:</strong> If your product is strong (and you deeply understand your customers’ needs and address them in the right way), there are fewer reasons to be afraid of the competition.</li><li><strong>A poorly organized or unqualified team:</strong> If your employees lack hard or soft skills, can’t communicate well, don’t stick to team goals, and manage their time inefficiently, even the right strategy won’t work as expected.</li><li><strong>Poor marketing or sales:</strong> This happens when we don’t properly understand our clients, choose the channels poorly, don’t pay attention to customer experience or have a strong sales team. In that case, it’s not our competitors’ fault.</li><li><strong>Inefficient processes and lack of efficiency among employees: </strong>No business can succeed long-term if its processes are too complicated, too slow, or unoptimized.</li></ul><p>Of course, this isn’t a complete list. There are a lot of mental traps that business owners and executives can fall into. Many organizational issues are obstacles to building a better business (or becoming a better manager). But there’s one common thing amongst them: it’s not about competition.</p><p>If we want to find an enemy, we should look within. The best use of our resources isn’t to fight someone (in our head or on the market) but rather to invest in growth, creation, and development.</p><p>Make products, not war.</p><h3>From competing to cooperating</h3><p>If that’s the case, what’s the role of our competitors?</p><p>Competitiveness is natural for humans and one of the biggest motivators. When you see something great, you want to create a masterpiece, too. When you see someone improving, you’ll likely make more effort yourself. Competition can drive creativity if we look at it healthily.</p><p>But what does healthy competitiveness mean? For me, it looks like a partnership. Adam Brandenburger and Barry Nalebuff introduced the term “coopetition”, which is a combination of cooperation and competition and which is used to refer to when rivals work together to achieve a common goal.</p><p>This partnership can be short-term or long-term and can focus on one or several areas. There are multiple examples of this concept in the modern business world. For instance, in 2008, <a href="https://www.forbes.com/2008/05/28/ups-dhl-agreement-markets-equity-cx_mlm_0528markets23.html?sh=5bd950fa7575">UPS agreed to ship DHL’s packages</a> (because DHL couldn’t do it at the time and asked a competitor for help). Companies from the same market can share technologies, like <a href="https://media.gm.com/media/us/en/gm/home.detail.html/content/Pages/news/us/en/2013/Apr/0415-transmission.html">Ford and GM did in 2013 with the transmission</a>, consult each other, or lend a hand when there’s a supply shortage. Of course, it’s not pure altruism, and both sides usually get something out of the collaboration. But it’s more than just an exchange; such partnerships often generate synergy for the whole market. Everybody wins, including the competitors, the customers, and the suppliers.</p><h3>The power of community</h3><p>Building a business community is also a win-win. Informal gatherings, regular communication, and even exchanging ideas with companies from the same market are common in developed countries. The community can often help entrepreneurs to make important decisions or solve problems.</p><p>At the beginning of the 2010s, Airbnb faced a major challenge. It quickly and successfully grew in the USA, but it was yet to enter the European market. At the same time, the Samwer brothers, who were former Facebook investors, noticed a promising venture and created a similar website. It wasn’t their first time: earlier, they’d made a clone of eBay — a service called Alando — and sold it to eBay for $43m.</p><p>It was their typical strategy: create a similar service and sell it to the “original” American company. Airbnb was the Samwer brothers’ next target. They built a website called Wimdu which looked a lot like Airbnb, then offered it to Airbnb in exchange for 25% of its shares.</p><p>This choice wasn’t easy to make: if the company declined the offer, it had to compete with the clone in a foreign market and invest huge amounts of money to build a European branch from scratch. Brian Chesky (co-founder of Airbnb) and his executive team tried to develop a plan, but they couldn’t find a solution. Then Brian turned to Andrew Mason, CEO of Groupon, who’d been in the same situation before and who’d eventually decided to buy the clone (a service called CityDeal). Brian also asked for Mark Zuckerberg’s opinion (he voted to decline the offer) and consulted with other experts.</p><p>Collecting and processing different thoughts helped Brian to make up his mind. He decided to fight, declined the Samwer brothers’ offer, and expanded Airbnb into Europe by himself. It was the right decision, and the help from the business community played a large part in it.</p><p>Building a strong business community is beneficial for all members. My colleagues and I meet with teams from other IT companies to discuss various issues, organize meetups and share our experiences. For example, we recently visited the office of a popular IT company that created productivity apps and was one of the pioneers on AppStore. We talked to the team and discussed the company’s values, the scaling of their products, remote work, and more. This experience gave something valuable to both companies, including plenty of insights and new connections.</p><p>Later, I wrote a post about the visit on my Telegram channel, and I suddenly started to receive invitations from other companies. One of them was from a digital platform that connects sellers and customers. Again, my colleagues and I visited their office and facilities, and we even joined a closed meeting of several teams as they discussed that month’s results and their plans for the next one. This experience solidified my opinion: we’re willing to put our effort into building the business community because it generates enormous value for everyone involved.</p><h3>Sharing is caring</h3><p>Even great entrepreneurs are sometimes scared to talk about their experiences, and that fear can become a significant obstacle to building a solid community.</p><p>It’s time to get rid of this fear. Start writing articles, releasing podcasts, giving talks at conferences, and sharing your mistakes and victories. Share what you’ve learned and seen and tell your community about your lessons and conclusions. Embrace your imperfection and let other people and companies extract value from it. It will enrich our lives, businesses, and markets and make our brands stronger.</p><p>And maybe we are ready for it. Recently, I initiated research on the role of product managers in one of our local markets. We asked IT companies to join us and share their data. The results exceeded all our expectations. We have received over 400 questionnaires with answers from product managers of top products, many of which are known all over the world — Readdle, Grammarly, MacPaw, Reface, Genesis, etc.</p><p>Moreover, we also had 20+ interviews with CEOs and founders. They were willing to talk openly about corporate culture, the onboarding process, product managers’ goals, etc. Are they all competitors? In some way, yes. But they were happy to share their knowledge and invest in the community. To me, it’s a sign of the business community emerging, and I’m happy to be a part of it.</p><p>After all, it’s much more interesting to hear about mistakes than another story about “successful success”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f4c9e34fa9a" width="1" height="1" alt=""><hr><p><a href="https://ehandbook.com/building-business-community-focus-on-cooperation-not-competition-4f4c9e34fa9a">Building Business Community: Focus on Cooperation, Not Competition</a> was originally published in <a href="https://ehandbook.com/">Entrepreneurship Handbook</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Expert Guide on Trends in Software Development for Beginners]]></title>
            <link>https://medium.com/codex/expert-guide-on-trends-in-software-development-for-beginners-7e1e68192ee9?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e1e68192ee9</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Tue, 30 Nov 2021 11:14:27 GMT</pubDate>
            <atom:updated>2021-11-30T11:14:27.427Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HqzLQT-Ji-OuiCGU1NSfIA.png" /></figure><p>One problem that should be familiar to the majority of programming beginners who are looking to find their own path in the tech industry is the abundance of trends. The field’s boiling development constantly gives birth to dozens of new niches, technologies, and business models, which can be truly overwhelming.</p><p>And this problem isn’t simply rhetorical in nature, as feeling overwhelmed with options and possibilities makes choosing what to focus on when learning software development and which technology stack to pick as their main career specialization incredibly difficult.</p><h3>Too many tech trends</h3><p>Popular tech websites and developer communities aren’t always much of a help. Specialists love to debate about popular trends, advocating for those technologies and solutions they use or believe are superior. With all this informational noise out there, digesting it all to form your own opinion would take considerable time and effort.</p><p>So, we conducted a survey of well-known software development experts and industry influencers, asking them to share their opinions on the most popular software development trends and give some tips to programming beginners who are starting their careers in tech.</p><p>After all, as we said, developers like to talk and argue about trends. And everyone loves to give others advice. So, we managed to gather a lot of interesting insights and valuable tips.</p><p>Based on the results of insights we’ve got from the tech expert survey, as well as some input from our friendly and helpful user community, we put together a guide on current trends in the software development industry and areas of knowledge beginners in the field should prioritize.</p><p>Thanks to everyone who helped with answers and participation.</p><h3>Tech industry trends</h3><p>The experts we interviewed specified the number of general tech industry trends they consider to be the most significant and full of long-term potential.</p><ol><li><strong>AI and Machine Learning</strong></li></ol><p>Unsurprisingly, AI is number one on this list. Artificial intelligence is probably the most well-known tech trend of today. Even people who are far from the tech industry should’ve noticed how AI has turned from something specialized into an everyday technology that augments our devices, services, and websites.</p><p>AI keeps getting better and better at understanding what users want, as well as influencing their choices with more relevant ads and commercial offers. And it will keep trending in 2021 and beyond. All the technologies that are parts of the AI field, such as machine learning, deep learning, image recognition, speech recognition, and others will continue to evolve, becoming even more common and omnipresent in our daily lives.</p><blockquote><a href="https://twitter.com/omniprof"><strong>Ken Fogel</strong></a>, Java expert, and Computer Science Technology Professor at Dawson College in Canada agrees that AI/ML is the top tech trend today: “If I needed to define one trend, I’d have to say AI/ML. I do not know if this will result in better software. What I do see is that in the general population of software users, I call them human beings, AI/ML is the buzz phrase that many believe will solve all our problems. Of course, it will not, but customers are clamoring, from what I read, for solutions that employ this technology.”</blockquote><p><strong>2. Big Data</strong></p><p>Big data is another major technology trend that isn’t going away anytime soon. In fact, the opposite is true. The market shows an overwhelming demand for big data, and it keeps growing. By 2025, businesses are projected to create about 60 percent of all global data. Companies across various industries generate almost continuous streams of information and require technology solutions that can efficiently collect, store and use large amounts of data.</p><p>The demand for big-data professionals will keep growing in the coming years, creating countless opportunities. According to the U.S. Bureau of Labor Statistics, this field <a href="https://www.bls.gov/opub/btn/volume-7/big-data-adds-up.htm">will grow</a> about 27.9 percent through 2026. Some researchers predict that the most successful and well-paying jobs in the coming decade will be data-related.</p><blockquote>“You might have heard that ’data is the new oil.’ That’s true. In particular, I would pay attention to data engineering, because for two reasons. One, it is booming. Two, there is a massive shortage of skilled data engineers. Except for data-related jobs, another huge trend is developing in the cloud, which is an increasingly popular option for many companies,” said <a href="https://www.youtube.com/channel/UCAxnMry1lETl47xQWABvH7g"><strong>Karolina Sowinska</strong></a>, an experienced software developer, and tech industry influencer.</blockquote><p><strong>3. SaaS and PaaS</strong></p><p>Many development experts consider SaaS and PaaS models, as well as microservices, to be extremely promising. Even better, these models are also open to developers specializing in different programming languages. As interaction takes place according to REST, which is a de facto standard, the specific language you use isn’t very important, whether Java or Python.</p><p><strong>4. Cloud computing</strong></p><p>Even though cloud computing was a hot, new trend around a decade ago, it still deserves a spot on this list. It’s become a common and important part of software functioning processes.</p><p>Today, people use cloud services all the time without even realizing it, from booking hotels online to ordering food delivery to check for new posts on social networks. Businesses all around the globe are increasingly adopting cloud computing as it allows them to reduce costs and make their products more accessible to consumers. So, cloud computing is another major niche that will see rising demand for highly qualified experts in the coming years.</p><p><strong>5. Mobile development</strong></p><p>Mobile development is a market that will, without a doubt, keep growing at an accelerating pace for several reasons. The upcoming deployment of Starlink, a global satellite system that should bring high-speed broadband internet access to areas where it used to be poorly accessible, is one. If the system is deployed as planned, more people will be able to access the Internet on their phones worldwide, which will accelerate the mobile development market. According to a <a href="https://www.idc.com/promo/smartphone-market-share/os">report</a> by IDC, Android-based smartphones had almost 85 percent of the global market in 2020. Since Java and Kotlin are the two main languages in Android development, the demand for developers coding in these languages will remain consistently high and may even rise in the coming years.</p><h3>Software development and Java trends</h3><p>Software development itself has no shortage of interesting trends and innovative technologies our experts suggest keeping an eye on as well.</p><p>Here are five major trends that we perceive to be the most important ones. This is true for software development in general, but we focused particularly on the Java ecosystem.</p><ol><li><strong>Functional programming</strong></li></ol><p>Many of the software development experts we surveyed pointed to functional programming as one of the major trends with potentially big futures ahead. Even though the concept of functional programming has been around for a while, its popularity has started to flourish again. Functional programming is also a great fit for many other accelerating fields such as global web services and parallel computing, allowing developers to deal with many current problems in software development a lot more effectively.</p><p><strong>2. Microservices</strong></p><p>With flexibility as one of the most important requirements today, microservices will also be a booming trend. These allow engineering teams to reduce development costs, testing complexity, and development time. Using microservices, however, increases the infrastructural complexity of systems. And the consequence of that is the growing demand for DevOps professionals, which is also a field of specialization that is worth attention for beginners.</p><p><strong>3. GraalVM Native Image</strong></p><p>The rise of GraalVM Native Image, which allows you to compile Java code to a standalone executable application and does not require a JVM and accompanying libraries for its work, is another interesting trend. And it serves as a great addition to the microservice architecture and serverless approach, allowing developers to create self-contained executable images that can run incredibly fast.</p><p><strong>4. Spring framework</strong></p><p>Even though Spring is the most popular Java framework in the world, its ever-evolving ecosystem means that it’s still a trending topic. Project Reactor and r2dbc, which were originally subprojects of Spring, are examples of how the Spring ecosystem gives birth to new technologies and approaches.</p><blockquote>“I’d recommend paying attention to frameworks and technologies that are on the rise within that field. Try them out yourself, understand why people are switching to them, and if it makes sense for you, learn them yourself,” said <a href="https://www.codingblonde.com/"><strong>Masha Zvereva</strong></a>, an entrepreneur and the founder of the Coding Blonde blog.</blockquote><p><strong>5. Java and its new features</strong></p><p>Of course, Java itself, with all its ever-developing ecosystem, remains relevant, despite the language being almost 26 years old now. Thanks largely to the six-month new release cycle, Java is walking in step with the times and acquiring new features that make this language even more applicable for various tasks and projects across industries and suggest a bright future for Java and Java-based technologies for years to come.</p><p>Many powerful features were introduced to Java in versions 14 and 15, including sealed classes, records, text blocks, and hidden classes.</p><p><a href="https://twitter.com/ErikHellman"><strong>Erik Hellman</strong></a>, mobile programming expert and the author of <em>Android Programming: Pushing the Limits</em>, who was one of the experts participating in our survey, recommends that you should also take a look at asynchronous programming.</p><blockquote>“Asynchronous programming, in general, is something everyone struggles with. Regardless of programming language, this is a concept that is crucial to understand. Other trends are functional programming, declarative UI, and basic Machine Learning. Tools every developer needs to grasp are Docker, Git, and all the keyboard shortcuts in the code editor you’re using,” he said.</blockquote><h3>Everlasting trend: never stop learning and start with basics</h3><p>But we should also bring to your attention that the majority of experts that we have interviewed underlined that learning fundamentals of programming and computer science, in general, is much more crucial than trying to follow the right trend, if you’re willing to have a successful career in software development.</p><p>Here are a few notable quotes.</p><blockquote><strong><em>“Learn to manage innovation and changing requirements..”</em></strong></blockquote><p>This is advice from <a href="https://www.linkedin.com/in/markuseisele/"><strong>Markus Eisele</strong></a>, Java Champion and founder of JavaLand. “Our industry is constantly reinventing itself. We went from mainframes to pizza-style Intel servers to the cloud. We had bash scripts, continuous integration, and now GitHub actions. Investing time to understand the core concepts behind the technology we are using is crucial to stay relevant. Always aching to use the latest and greatest technology is not. Think about the functional and non-functional requirements that exist and map them to the technologies you think could be a good fit. Our toolbox grew massively over the last decade and it will continue to do so. Learn to manage innovation and changing requirements as part of your technology portfolio,” recommends Markus.</p><blockquote><strong><em>“In the long run, those programmers who truly understand the basics will be in higher demand..”</em></strong></blockquote><p><a href="https://twitter.com/lukaseder"><strong>Lukas Eder</strong></a>, famous Java and SQL expert, has the same stance: “While following the latest and greatest seems tempting, I think in the long run, those programmers who truly understand the basics will be in higher demand than the ones that followed marketing. This includes learning data structures and algorithms (no need to be an expert, but understand them). Learn the relational model, normalization, SQL. Learn about programming paradigms including imperative, object-oriented, functional programming. Learn a few different programming languages to appreciate the differences and ecosystems,” recommends Lukas.</p><blockquote><strong><em>“Fear of missing out is there even when you are a senior..”</em></strong></blockquote><p>“In times when there are more JavaScript frameworks than days in a year, it might be daunting to start learning and to know what exactly you should focus on. The FOMO (fear of missing out) is there even when you are a senior. There is no way to know everything in our industry. Focus on the fundamentals first and make sure you have a solid base. These are skills like problem-solving, algorithms and data structures, etc. When you have solid fundamentals, it is going to be pretty easy to pick any new trend that there might be,” added his five cents <a href="https://www.youtube.com/channel/UCYSa_YLoJokZAwHhlwJntIA"><strong>Vadim Savin</strong></a>, an experienced full-stack developer and programming blogger.</p><blockquote><strong><em>“Pick something you enjoy. Then explore all of it..”</em></strong></blockquote><p>And don’t forget to enjoy, reminds us <a href="https://www.youtube.com/channel/UCG7EBd-JrRZehNv9e5m1fQQ"><strong>Filip Grebowski</strong></a>, an experienced software engineer and the author of a popular programming tutorials channel on YouTube: “Once you learn the fundamentals, it’s important to pick something you enjoy, whether it is frontend, backend, or more specifically a tech stack that you enjoy. Then explore all of it. Dive into the latest advancements and stay on top of the game. That’s how you will become the best in what you do.”</p><h3>Conclusion</h3><p>Learning the fundamentals is the everlasting trend in programming and the key to achieving long-term success in this field. Even following the industry and where it’s going certainly is advisable as well, and can help you better position yourself as a specialist on the software development job market.</p><p>If we had to extract one key piece of advice that virtually all our experts have for programming beginners, it would be quite predictable, we’re afraid. It’s to never stop learning all the way throughout your career, as accumulating knowledge is the natural state of a good developer. We at CodeGym couldn’t agree with this more and hope that this information will help you to make the right choices and avoid some traps along this road.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e1e68192ee9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codex/expert-guide-on-trends-in-software-development-for-beginners-7e1e68192ee9">Expert Guide on Trends in Software Development for Beginners</a> was originally published in <a href="https://medium.com/codex">CodeX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Common behavioral mistakes of novice programmers and how to avoid them]]></title>
            <link>https://medium.com/geekculture/common-behavioral-mistakes-of-novice-programmers-and-how-to-avoid-them-286624cb4866?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/286624cb4866</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Sat, 20 Nov 2021 10:02:54 GMT</pubDate>
            <atom:updated>2021-11-20T10:02:54.317Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*syXvsDqS5ahNLzffXHKW7Q.png" /></figure><p>The mistakes of novice programmers, those who are just learning or just starting to work, are very similar to each other. Many of them can be called not mistakes, but behavioral features, stages all beginners go through. We as Java course creators are interested in this topic, so we interviewed opinion leaders and collected the most common, in their view, examples of such behavioral errors in order to … shorten their duration for future software developers. If you start noticing such behavioral mistakes early and try to fix them, your path to mastery will be shorter and your work will be more efficient.</p><h3>Using wrong tools</h3><p>The most common mistake everyone can observe among people starting programming is using the wrong tools, or not using the tools correctly. Sometimes they choose tools but ignore the task they need to solve with it. They heard something in advertising, or read reviews. Complete beginners are sometimes afraid to expand their toolbox. They can stubbornly ignore Git, the basics of which can be learned very quickly, use the first code editor they come across, an outdated IDE, the wrong framework, and so on.</p><blockquote><em>“One example I’ve seen a few times is when beginners are not aware of VCS tools like Git, but instead use something like DropBox to store their code.</em>”, <a href="https://twitter.com/ErikHellman">Erik Hellman</a>, Freelance Software Developer, said, <em>“I have also seen beginners use MS Word for writing code, which can be quite funny to watch.”</em></blockquote><h3>Ignoring debugging</h3><p>This mistake, of course, is a part of the previous point. A debugger is a tool too after all. Nevertheless, given the importance of this point and the fact that the debugging process is an important and valuable skill for any programmer, we took it out separately.</p><p>So … You work with statically typed languages like Java, C++, etc. Hence, there isn’t much to say here other than debugging your code! Try it right after writing your first programs. This is an extremely healthy habit and a must in your work. Moreover, at the time of starting your very first work, it is desirable that this skill is already confident. All modern IDEs (and, having solved the mistake of the previous paragraph, you will use modern IDE, right?) have excellent built-in debuggers with all the necessary functions. You can debug an entire program, its module, a single function, and so on. Read docs, watch youtube tutorials or ask your experienced friend to help. In any case, explore the debugger.</p><h3>Copying without checking</h3><p>Googling and copy-pasting someone else’s code isn’t really a crime. Quite the opposite: this process significantly speeds up the work and helps the developer in his constant learning. However, here is an important point: copy-paste should be thoughtful. Learn from it, try to get how this code works, modify it according to your task.</p><blockquote><em>“Once beginners get past the challenge with all the tools, it tends to be a problem of not knowing how to find information. Copying code from the first StackOverflow answer they found or using outdated libraries is very common among new developers”</em>, the software developer Eric Helman said.</blockquote><h3>Ignoring unit testing</h3><p>Very often, newbies are not actually writing tests for their code and don’t test their code. Some novice developers check their code, but they do it in a very specific way. For example, they manually change the data in the program and output the result to the console. In fact, you need to start unlearning this method right after you have mastered the basic syntax.</p><blockquote>“<em>Thoroughly oftentimes people do manual tests but not of the cases. Getting comfortable with unit testing, getting comfortable with understanding all the edge cases of your code, and working through them. That’s one of the more likely snares of people are going to mess up on and then if you’re really getting your career started consistently”</em>, <a href="https://www.youtube.com/c/CodingTutorials360/videos">Dylan Israel</a>, software developer, and YouTube Content creator commented.</blockquote><h3>Falling in the tutorials hell trap</h3><p>Newbies often get lost and don’t know exactly where to learn new information and how to learn it. Instead, they watch video after video, looking for more and more new stories. Here’s what <a href="https://www.youtube.com/watch?v=O7XLG090QTA&amp;t=1s">Vadim Savin</a>, Software engineer, and Youtube content creator, says.</p><blockquote><em>“The most common mistake I see newbie programmers do is falling in the tutorials hell trap. How many udemy courses have you bought, and how many of them have you finished? The problem is not with tutorials, because you can learn a lot from them, the problem is the lack of practical experience. If you want to be the best at basketball, you wouldn’t watch tutorials all day and read books for a year, you would get on the court and start practicing. That’s the same with learning programming. Start building projects. When following a tutorial, don’t just watch, but do the same thing as the tutor is doing. Then, try again, but this time from memory. After you get the basics, start implementing the new knowledge in real projects. Start building that website/app/game that you have always wanted to build. This way, you will be motivated to practice because you will work on something you are excited about, and you want to feel the burden of learning”.</em></blockquote><h3>Fear and overreaction on code review</h3><p>One of the obvious mistakes novice programmers make is a sharp reaction to code review. Very often, newcomers perceive the remarks of colleagues as harsh criticism, get upset, offer resistance, trying to prove that they were wrong. In fact, code review is a procedure for improving code, and not only for a newbie. For a beginner programmer, this is a great opportunity to learn on the job. Think of the process this way. Nobody wants to offend or humiliate you (well, most likely nobody, some people are strange when you are a stranger). Everyone is trying to ensure that your overall project is of the highest quality possible. Of course, the reviewer is not a saint and can also be wrong. It is important that you argue these points without emotion, try to look at your code with detachment and calmness.</p><h3>Too much or not enough efforts</h3><p>This problem is like a double-edged sword. On the one hand, many developers put in too little effort and abandon a difficult task that they can do, because they are not sure they can solve it. On the other hand, there are those who, on the contrary, can torment themselves for a very long time over a task that should have long been abandoned. As a result, the former does not develop fast enough, and the latter loses motivation. Here’s what our experts have to say about it.</p><p><a href="https://www.youtube.com/c/KarolinaSowinska/about"><strong>Karolina Sowinska</strong></a><strong>, a data pro and a YouTube content creator:</strong></p><blockquote>“I think the largest mistake that new programmers make is not trusting yourself enough to stick with a problem to solve it. That’s certainly the mistake I was making at the beginning. I thought that I don’t have enough knowledge or experience to be able to solve a difficult issue. In reality, facing unknown problems is exactly what experienced software engineers do on an everyday basis. You will not feel comfortable 70% of the time. So it’s paramount to shift your mindset from “I can’t solve it yet” to “I will solve it no matter what” regardless of how much experience in coding you have”.</blockquote><p><a href="https://www.youtube.com/c/CodingBlonde/videos"><strong>Masha Zvereva</strong></a><strong>, founder at Coding Blonde YouTube channel:</strong></p><blockquote>“One of the biggest issues I see newbie programmers struggle with is a combination of impatience, comparing themselves to others, and self-doubt. Learning how to program is hard and requires a different type of logic than what we’re used to in our day-to-day life, so it takes time to properly understand certain concepts. And different people will learn different aspects of programming quicker than others, but that doesn’t mean anything about their intelligence or future opportunities. Everyone is on their own timeline and has their unique learning style. Be patient with yourself and use additional materials if the ones in front of you don’t make sense to you”.</blockquote><p><a href="https://www.youtube.com/channel/UCl5-BV9aRaeDVohpE4sqJiQ"><strong>Saldina Nurak</strong></a><strong> software engineer and YouTube channel autor</strong>:</p><blockquote>“The main mistake that new programmers make is either self-doubt and thinking that they are not smart enough, or the complete opposite of that, thinking that they know everything, when in fact they don’t.</blockquote><blockquote>Looking back to my university days I can say that I was in the first category. I could understand the code during the lectures when professors explained it, but I had problems solving those same tasks alone, so I was wondering if I just wasn’t smart enough.</blockquote><blockquote>Now I know that it is because I didn’t spend enough time practicing. It’s the same when you are learning a new language, most people are able to understand it before they can speak it.</blockquote><blockquote>Some of the tips that helped me to overcome that issue and become better at programming are naming variables and functions according to their purpose, using diagrams and pseudo code when I couldn’t understand the code itself, writing comments for later reference, being consistent, and trying to learn a little bit every day, building a solid foundation and filling all the little gaps that I had in my knowledge.”</blockquote><h3>Overengineering</h3><p>Ask a newbie programmer, what in their opinion the ideal code should be. The common answer would be “optimal, of course!” This usually means “optimal” in terms of performance and resource consumption. It’s a logical answer, isn’t it? Yep, this is so in an ideal world, but, alas, we don’t live in one.</p><p>Therefore, this answer is fundamentally wrong, especially when it comes to large projects that will be used and supported for many years. Experienced developers will choose the latter between optimality and readability. They know that, while optimally, Junior’s over-engineered code is so difficult to read and maintain that it will likely need to be rewritten completely soon. And if you see in front of you an even formatted code without frills, you can say it is boring, most likely it was created by an experienced programmer.</p><p>By the way, such code will most likely contain comments. And they will be exactly where they are needed. Moving on to the next error.</p><h3>Where are your comments, dude?</h3><p>Comments … Newbies and comments are just an ancient tragedy. Comments could be literally everywhere and explain the obvious things, or vice versa, code without comments at all. Don’t be like this, please. Explain what isn’t readable in an easy way or is referencing other modules.</p><blockquote><em>“One of the common mistakes is the “We don’t need no stinkin’ comments” with apologies to The Treasure of the Sierra Madre where the original version of this line came from. Just last week while discussing this issue it was suggested that comments are worthless because when code is updated or refactored the comments are rarely updated so we might as well do away with them.”</em> — <a href="https://www.linkedin.com/in/kenfogel/">Ken Fogel</a>, Java Champion, CS teacher at Dawson College shares, <em>“I once had to remove comments from submission to an open-source project. Comments represent the technical manual complex systems required. Imagine having to repair a modern automobile without the shop manual.”</em></blockquote><p>Sure, competent commenting is a special science. However, if you master it, your colleagues will be very grateful to you. Remember the times when you had to understand someone else’s code. I think someone’s literate comments helped you, right? If you find it difficult to understand how to correctly place comments, look at the libraries of your programming language that you use, read, comments on their code … Learn from the best.</p><h3>Messy code formatting and frustrating names</h3><p>Sometimes novice developers don’t understand the importance of standardizing their coding. They have not yet realized how difficult it is to navigate someone else’s code, and don’t understand that they write code not only and not so much for themselves.</p><p>Each language has a set of rules that describe the correct formatting of the code. Some IDEs already know how to format the code in a standard way on a wave of hotkeys. Take the time to find out how to do it in your case. However, there are many things you still need to keep track of yourself.</p><p>Even more dramatic is the naming of variables and functions. If in the learning task <strong><em>int p; </em></strong>looked quite adequate, in a module of a large project it’s not! <strong>persentOfYearIncome</strong> looks terrible, but it is much clearer what we are talking about. By the way, don’t try to use short names and write transcripts in the comments. Better not be lazy and pick up your variables. functions, classes have friendly names. Even if they are not the most elegant.</p><p><strong>Conclusions</strong></p><blockquote><em>“I would actually consider mistakes to be very healthy. It’s what teaches you the most as you try to solve a problem that you did not plan for. I think if I was to name an action that a programmer might do and call it a “mistake” it would be when we come across an issue in the code and we simply give up,”</em> software developer and YouTube author <a href="https://www.youtube.com/channel/UCG7EBd-JrRZehNv9e5m1fQQ">Filip Grebowski</a> said.</blockquote><p>And I definitely agree with him. Mistakes are something that we cannot avoid as programmers. Everyone makes them, even the most proficient experts. Try not to repeat the same mistakes all the time and you become a better programmer faster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=286624cb4866" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/common-behavioral-mistakes-of-novice-programmers-and-how-to-avoid-them-286624cb4866">Common behavioral mistakes of novice programmers and how to avoid them</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We Entered the Chinese Red Ocean EdTech Market And Survived]]></title>
            <link>https://ehandbook.com/how-we-entered-the-chinese-red-ocean-edtech-market-and-survived-e33b39d26f92?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e33b39d26f92</guid>
            <category><![CDATA[edtech]]></category>
            <category><![CDATA[china]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[business-development]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Thu, 18 Nov 2021 13:01:12 GMT</pubDate>
            <atom:updated>2021-11-18T13:01:12.630Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yRgVBlIEe0C8Nohveagp7w.jpeg" /><figcaption>Designed by Rawpixel.com — Freepik.com</figcaption></figure><p>Expanding into a new market is always a risk, especially if your niche in this market is already a red ocean and the market itself is very different from those you’ve already mastered.</p><p>The Chinese market has always been a tough nut to crack for Western and European companies. The probability of bringing a successful EdTech company here is very small since this market in China is already occupied by local players.</p><p>In addition, there are a lot of nuances in China that are not obvious to Western marketers. We have always loved to take on challenges, so we started trying to expand to a wide variety of markets including the Chinese. In this article, I’ll share with you how we did it.</p><h3>New markets. First (failed!) try</h3><p>Due to the success of and interest in CodeGym in the Western Europe market, it was logical to expand our local online product to other countries. However, our first attempts were unsuccessful. In 2014, we were interested in the Indian market. Since India is a country where IT outsourcing is developed, the potential audience is very large, and the salaries of software developers are significantly higher than the national average, which makes them kind of rock stars. It’s also important to note that, in India, most people can speak and understand English.</p><p>We didn’t do marketing research; instead, we decided to try an inside approach: we left for India for six months with our entire small office. It turned out to be a really smart decision, though we faced difficulties very quickly. As of 2014, India had mostly mobile internet, but it was slow and of poor quality. Only 15 of 250 million Internet users had a decent internet connection. In addition, it turned out that online payment systems were in their infancy in India, making payment difficult. As a result, we saw interest in our course, but much less than we expected. Unfortunately, there were no sales at all.</p><p>We retreated and began research, learned the US market, and launched contextual advertising. There was interest in the course, but we, unfortunately, did not take into account some local peculiarities, making the English translation of the course subpar.</p><h3>New markets. Next steps</h3><p>Although the first attempts were unsuccessful, we drew valuable conclusions from them and built a circuit that worked as a result. To begin with, we used an approach based on testing risk assumptions. The main idea was to get user feedback as quickly as possible and test the idea even before creating the product.</p><p>Using this approach, we checked the markets we were planning to enter, and realized that they were growing. We hired a localization team and prepared the first local English language CodeGym. After that, we ran tests to ensure our product fits into the market. We have highlighted several important metrics associated with learning(passing the beginning of the course, solving the first problems) and the convenience of registering on the website. After a while, we sent out a questionnaire to clients in which we asked how disappointed they would be if they could no longer use CodeGym. There is a generally accepted estimate for this question: if 40% or more are disappointed, then there is product-market fit. Our estimate was 63%.</p><p>The next step was to search for different distribution channels; PPC, PR, SEO specialists appeared and we found channels that work for us. Ultimately, we received a lot of positive feedback about the course from non-English-speaking countries, so we thought it would be nice to launch a localized CodeGym in these markets.</p><p>At the moment, we’ve developed a system of “accelerated testing” of the market, where, with minimal effort, we’ve been able to check whether a new market is suitable for us in one to two months.</p><p>The following are the most important criteria:</p><ul><li>Market size</li><li>Level of competition</li><li>Demand for Java in the job market</li><li>Product market fit pre-assessment</li><li>Team expertise</li><li>Market complexity in terms of legal, financial, and bureaucratic issues</li></ul><p>We translated the interface of the CodeGym website as well as the first two levels of the course into the language of the countries in which we planned to launch, and then checked a few more parameters:</p><ul><li>Translation quality</li><li>User activity in the product</li></ul><h3>Launch in Europe and problems with distribution in China</h3><p>We launched 12 local versions and found that the mini-versions of CodeGym are best perceived in Poland, Germany, France, and China. We also learned that China was the leader in all metrics of engagement in learning. However, the markets of European countries were relatively similar to our own, while in China, we immediately faced some difficulties.</p><p>We began our journey to Tianxia along a seemingly proven path: launch advertising, look at metrics, conduct surveys, and draw conclusions. However, even launching ads in China is not that easy.</p><p>So, what difficulties can an experienced marketer have when creating an advertising office? With Google, Facebook, Quora, or LinkedIn, there really were no problems. However, to create an advertising account in Chinese products Baidu, WeChat, Weibo, Douyin, QQ, or Tencent, oh, how difficult it is if you are out of China!</p><p>On some advertising platforms in China, foreign companies cannot create an advertising office, especially if your company is related to education. On others, this can be done, but you need to go through countless checks, confirmations, calls, prepare tons of documents that need to be signed with hieroglyphs, take a photo with completed questionnaires, and much more. In short, only a very serious company can do this.</p><p>Unsurprisingly, these features weakened our enthusiasm. Since there were other promising areas, we decided that the obstacles in China were too high and the market was difficult; we decided to postpone the work in China for now.</p><h3>And yet, China!</h3><p>Six months have passed since the successful launch in Europe, but we still did not lose focus on China. Within the framework of collecting information, we realized that it is Asia, in principle, that is the current market driver for Ed-Tech’s growth, mostly China and India. There are about 900 million Internet users in China. Users spend an average of 3 hours per day browsing content online and actively researching educational opportunities abroad.</p><p>According to a study by the Chinese media platform JMDedu, the majority of parents in major cities in China spend at least $ 7,000 per year on <a href="https://medium.com/@EdtechChina/decoding-2018-chinas-education-market-where-did-chinese-parents-money-go-in-2018-f54a1c1dda84">children’s education</a>.</p><p>China’s EdTech market sector provides stable venture capital flows. China is the leader in investment in EdTech.</p><p>Also, it can be noted that online education is one of the fastest-growing industries in China. In 2015, the number of online education users in China was 110 million, with a market value of 114 billion yuan.</p><p>By 2018, the number of online students grew by 63% to 179 million, and the market value doubled to 300 billion yuan ($45.6 billion). This trend is expected to continue in the future; UBS estimates the market will grow to 714 billion yuan ($108 billion) by 2025.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/0*zg1doXyf0aeamoga" /></figure><p>The size of the online education market in 2020 was $203 billion. In 2021, it is likely to be $223 billion, and in 2025, the online education market will grow to $341 billion (average annual growth of 9.23%).</p><p>According to forecasts, due to COVID-19, these numbers may change, and in 2025, we will receive not $350 billion <a href="https://www.holoniq.com/notes/global-education-technology-market-to-reach-404b-by-2025/">but $ 404 billion</a>.</p><h3>This market is already taken! Are you sure?</h3><p>The statistics looked very promising, especially considering the positive response we received from our test course. However, as part of the Market Research of the programming market in China, it turned out that there are already a significant number of companies and products that have completed insane rounds of investments and have grown to a scale that is difficult to imagine. The main players in the online education market in China are Yuanfudao, Zuoyebang, Xue’ersi, and Baicizhan. Higher education and vocational training account for 75% of the total market share.</p><p>It would seem that we shouldn’t even think about competing with local companies. However, our research has shown that almost all Chinese EdTech is targeted at schoolchildren. Even college students had very few of these products, let alone adults who are considering a career change and considering becoming a software developer. Our product is aimed primarily at adults who want to change jobs, as well as students. At the same time, the Chinese are much more inclined to change jobs than, say, the Japanese or Koreans. For example, in a 2018 report, online recruiting company Zhaopin reported that more than half of its employees plan to change jobs in three years.</p><h3>Do you speak Java, China?</h3><p>Next, we began to investigate an important issue for us. At the moment, our platform is focused on learning only one programming language, Java. Therefore, we had to find out how popular this language is in China. We found that according to various estimates, 26.67% of all developers in China are Java developers and they have the highest salaries in the industry. It also turned out that the number of Java developers is growing by 20–30% annually, and demand often greatly exceeds supply, though these are not exact figures.</p><p>We haven’t found many interesting products to help adults learn Java. Among them were such services as Huke88 (it is somewhat similar to Udemy with a subscription), a free Alibaba course, and free video courses on Bilibili. According to reviews on Zhihu and Baidu Tieba (the Chinese counterparts of Quora), they are not very high quality and do not solve problems related to learning Java. The feedback on them was very weak, and requests from students for learning assistance were often unanswered.</p><p>We also found out that help is needed for people who have already found a job as a Java programmer. First, developers in China are a relatively young profession. The majority (56.7%) of developers in China have between 0 and 3 years of experience. Second, 71.8% of Chinese developers were trained in this profession at university, and, according to surveys, this training did not give them the appropriate skills and knowledge. Therefore, they often learn while working independently. Naturally, this category speaks English quite well, but nevertheless, a good Chinese course will not be superfluous.</p><h3>First 3,000 users and registration problems</h3><p>Summing up all the information received, we decided to continue our tryings for the Chinese market. However, due to the problems described above, we could not fully concentrate on it and instead decided to work with it on a leftover basis. So, we wrote several answers mentioning CodeGym on Zhihu, published a number of articles about the product on popular Chinese platforms, and sent out press releases to the Chinese media. During the first week, there were no reactions from the media and few transitions to the site, so we decided to postpone the idea of ​​expansion for a while and think about other approaches. However, 4 months after the events described above, I looked at the metrics for various products. When I looked into the Chinese version of CodeGym, I found about 3,000 registered users there. Most of them have already passed free localized levels and solved all the problems. In the comments, there were many requests for access to the rest of the course.</p><p>We monitored local websites related to learning programming, and it turned out that CodeGym was mentioned quite often. At the same time, there were many complaints on the forums about difficulties with registration and a lot of popular “life hacking” posts about how to create an account on CodeGym. There was a problem that we had no idea about: when registering via email, we opened Google-captcha, but it was banned in China, so we had difficulty using email for registration. All social networks that can be used for login also do not work in China (sure, we knew this, but decided to leave this method just in case). In short, of all the possible ways in the country, only registration through GitHub worked.</p><p>Of course, we immediately removed the Google captcha and localized 18 more course levels. Fortunately, the process has already been debugged.</p><h3>It’s alive…but really risky!</h3><p>The audience’s response was impressive. Reach up to level 20 of the course, the time users spend inside the product, and other metrics were exactly two times higher than similar CodeGym metrics in any other regions of the world.</p><p>At that moment, we realized that we could try to tackle this area more seriously.</p><p>We identified a set of risky assumptions in which, with each subsequent failure, the rest of the work with China would not make any sense.</p><p><strong>The list of risky assumptions was something like this:</strong></p><ul><li>We won’t be able to provide Chinese users with a really convenient way to register on the website (as a foreign company, we won’t be able to implement registration through WeChat or other convenient registration methods).</li><li>We won’t be able to pass verification and access at least one advertising network in China (for example, Baidu, WeChat, Douyin, etc.).</li><li>Metrics from other channels (such as paid ones) will show lower results than traffic from Zhihu and articles that users wrote themselves. If the metrics are significantly lower than in Poland, Germany, and the United States, but the cost of advertising is about the same, then the unit economics will not converge.</li><li>Since we are a foreign company, we won’t be able to accept payments from China (for example, we won’t have some kind of license and we simply will not be able to connect WeChat Pay, AliPay, and UnionPay).</li><li>China users won’t buy our paid product.</li><li>We won’t be able to scale our distribution channels and grow rapidly in revenue.</li></ul><h3>Results</h3><p>In the end, we tested all the risky assumptions, and given that all this was done without using many resources, it was not easy. We can write an entire guide to test each one and tell many fascinating stories.</p><p>For example, just like when registering a developer account on WeChat, every day for 2 weeks at 5 am I was woken up by calls from China with new requests to send photos with documents and questionnaires. Or, there’s a story about how we added payment through Chinese payment services, turned on Paymentwall, and were surprised that there were no payments at all with excellent engagement rates.</p><p>However, the most important thing is that we coped with these difficulties, and the product began to work successfully. Well, the main thing that pleases us is that the metrics of the Chinese locale of CodeGym walkthrough are, on average, twice as high as in other locales. For example, the first level of the course is passed by approximately 52% of registered Chinese users, 24% for US users, 34% for Russian users, and 25% for the Polish CodeGym version.</p><p>Of course, the real expansion is still very far away, but the first results are already pleasing to us. We currently have 23,400 registered users in the Chinese locale on our website. This number is constantly growing; we sell subscriptions to Chinese users every day. Chinese users write great reviews about us, and we plan to develop further in this market.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e33b39d26f92" width="1" height="1" alt=""><hr><p><a href="https://ehandbook.com/how-we-entered-the-chinese-red-ocean-edtech-market-and-survived-e33b39d26f92">How We Entered the Chinese Red Ocean EdTech Market And Survived</a> was originally published in <a href="https://ehandbook.com/">Entrepreneurship Handbook</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We Created a Mobile Tool to Write Code and What We’ve Got]]></title>
            <link>https://medium.com/geekculture/how-we-created-a-mobile-tool-to-write-code-and-what-weve-got-d77fa4757d1d?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d77fa4757d1d</guid>
            <category><![CDATA[edtech]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Thu, 11 Nov 2021 13:02:25 GMT</pubDate>
            <atom:updated>2021-11-11T13:02:25.833Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KMQ8QgB3ouebJ1FbAinDkQ.jpeg" /></figure><p>Is it possible to write programs on a mobile phone without experiencing pain, hatred, and powerlessness? When we created CodeGym, a practice-oriented online course for learning Java programming, we doubted it. However, times are changing, and technologies are changing. In this article, we are going to talk about how we created the mobile version of CodeGym and what it’s led to.</p><h3>Lack of mobility was a problem</h3><p>We constantly received feedback from users. They were satisfied with the course, but somewhere in the 4–5 years of CodeGym’s existence, users started to request for the mobile application. There were not so many such requests, but enough to start the research. According to it, a lot of CodeGym students read lectures on their way to work or to study. Later at night, they log into the system from a computer, most often for coding tasks. It was our first hint but we doubted that it’s possible to code from a mobile phone with convenience. So we postponed this idea for a couple of years.</p><p>However, microlearning has become more and more part of our lives. Thus, the MarketsandMarket agency <a href="https://www.marketsandmarkets.com/Market-Reports/microlearning-market-127184631.html">assumes</a> that by 2024 the global microlearning market will increase by 13.2%, which will amount to $ 2.7 billion.</p><blockquote>Microlearning is a format for presenting course information, where the course program is divided into modules according to the formula “1 module — 1 thought — 1 skill”. Each lesson is a concentrate of useful information, calculated on average for 10–15 minutes of a student’s time.</blockquote><p>By the way, when CodeGym lectures were first created, they were quite suitable for the microlearning format and were considered brief. Now, to be honest with you, micro-lectures is understood as an even more concentrated format.</p><p>Trying to be in trends we also released a few brief videos that cover some Java topics, but that was not enough. The requests for the mobile application continued, and after a while, we began to slowly explore this market.</p><h3>What’s on the market for mobile programming courses?</h3><p>We knew that it’s easy to read lectures from a mobile on the web, so it’s not worth developing an application just for lectures. So the main question was: is it possible to create a really convenient mobile development environment for learning programming? One that would help not waste time, and use your free 5–10 minutes on the road to write code in a convenient way, so that the student wouldn’t want to smash the cellphone into the wall out of disappointment.</p><blockquote>IDE or Integrated Development Environment is an application that includes a set of tools programmers need for their work. It is used to write code, compile or interpret it, run it, debug it, and automate the build. In the case of the educational mobile IDE, we were interested in writing and compiling code, launching a program, and issuing validator comments</blockquote><p>To begin with, we explored the solutions that other programming courses had. Basically, at that time, there were multiple-choice tests. Since we are a course about practice, we considered such tests to be purely optional. However, we found some decent mobile IDE, such as Grasshopper and several others.</p><p>There were exciting ideas for ​​hints in this app: you don’t write letter-by-letter code, but have some pieces of puzzles with pieces of code in them, and they have to be assembled in the correct order. The idea is really interesting, since it allows you to code with one finger, but we were embarrassed that there were only suitable pieces for a specific task. This approach doesn’t help to learn programming well enough: it’s a puzzle, but not a real program creation. You know, programming is still a process of creation that demonstrates not only knowledge but also creativity and ingenuity.</p><h3>Mobile IDE: what should it be?</h3><p>So if we come up with a mobile IDE and it will be convenient from the UX point of view, it makes sense to develop the whole CodeGym application. It will be much easier to adapt to the rest of the course, such as lectures and tasks, and we’ve got how to do this.</p><p>We considered that code typing from the virtual keyboard letter by letter is still needed. It just shouldn’t be the main mode but complement the puzzles mode. However, the pure puzzles we described above didn’t suit our course, and we figured out how to improve this approach. First, parts of the code were split into groups (punctuation marks, operators, methods, and so on). Secondly, not all “puzzles” were suitable for the solution. Of course, if you load all possible code elements according to this principle, it will be inconvenient to search for the desired element. Hence, the set that the student sees on the mobile screen differs from task to task. The important thing is that not all the options were correct, there were more pieces of code than needed to solve a specific task, so the student needed to scratch the back of the head a little.</p><p>Well, if suddenly a student learned some new way of solving a coding task before reading about it in lectures, and the shown code elements did not cover it, they can always switch to the usual letter-by-letter input mode. So switching from one mode to another gives a user both flexibility and convenience. Thus, theoretically, students could, in 10 minutes during a trip or in a queue to the dentist, reflect on the problem and solve it using one finger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/0*36StChU3er7tQFQ4" /></figure><h3>Prototype development and testing</h3><p>This approach seemed promising and we developed a clickable prototype for testing. This prototype had no design, just clickable cards with explanations of what was going to be located where. We selected a group of CodeGym students from different levels and prepared a questionnaire for them. For example “you need to open a task in the application, what will you do?”. After collecting their answers, we corrected the prototype and began to create a UI based on it, and also tested it for a month and a half.</p><p>I’ll go back a bit and say that we expected the application to be just part of the ecosystem of the course, and it will be used by people who are already familiar with the web CodeGym. So we created the first UI keeping this in mind.</p><h3>Choice of technologies: Android</h3><p>When development started, we still considered the mobile application to be purely an add-on, so we couldn’t afford to allocate many people to develop it. Moreover, we were in no hurry and still working on improving the idea for our mobile IDE. So we decided to develop only an Android application, and later, if successful, tackle iOS.</p><p>Why Android? It’s simple. First, we already have a ready-made team of Java developers who also know Kotlin and Android well. Secondly, according to <a href="https://www.statista.com/">Statista</a> and many other analytical companies, as of 2018, when we started developing the app, the market share of Android mobile phones exceeded 80%. Thirdly, a testing ground for the app was the Eastern European Russian language version and the percentage of Android users in this version was even higher. So we hired another Android developer, brought in a UX/UE designer, and got down to work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/0*FLqXDnCvHJDQCmxn" /></figure><h3>Development and testing of the first version</h3><p>It took a little less than a year to develop an app from the rendered layouts to the launch of the test version on Google Play. The first mobile CodeGym contained neither lectures nor other sections of the website. There was the only access to coding tasks and a mobile IDE. For closed testing, we selected about 2,000 CodeGym students, created a special group on our website, and posted a list of questions about UX, UI, convenience, etc. They actively used the application and answered questions, communicated with each other and the developers. Two weeks later we collected all the questionnaires, aggregated them into a table, and talked with the most active participants in person. We also collected crash data across devices using Firebase Crashlytics, a lightweight crash reporter from Google.</p><p>In addition, we tracked the percentage of people who opened a task, solved it, and sent the solution for review. According to our internal metrics, this number turned out to be higher than we expected, and this process took place quickly enough, which is undoubtedly a good indicator. We had a fear that using a mobile application would be too tedious and significantly slow down future programmers in achieving their goals. Fortunately, we were wrong.</p><p>After collecting all this data, comments on UI, UX, bugs, we categorized and prioritized it, and started working on improvements and bug fixes. After that, we launched an official release of CodeGym Mobile.</p><h3>Other aspects of the mobile app</h3><p>The second most important task after Mobile IDE was the adaptation of the Help section. We needed to make it convenient for the user to ask a question from the phone in one click. That is, just like on the CodeGym website, if users can’t solve a task, they could click on the Help button. This action leads to the creation of a topic with their code and task condition attached. So the user should only write a heading question and press the Send button.</p><p>After solving this task, we gradually transferred the entire course to a mobile format.</p><h3>Our mistakes</h3><p>In fact, there were not so many serious mistakes at the strategy level, since we acted deliberately and were in no hurry. We did not have a task to quickly release the application, to occupy some niche, or something like that.</p><p>However, at first, we were clearly too clever with statistics. In order to understand whether the interface is effective, we did a number of UX tests, but since we had a very small sample, we decided to use analytical tools for all possible user scenarios, literally for every click on a button, every scroll. We sent everything into the database and stored it there. The mistake was that we made all this data very complicated, collected a bunch of statistics, and didn’t quite understand how to use it. We didn’t think beforehand about how to summarize the information received.</p><p>Of course, there were a lot of technical bugs. It would be weird if they were not there :).</p><p>Well, a pleasant mistake was that we somewhat underestimated the capabilities of the mobile application: it turned out that not only those who already know our website but also new users who find it through Google Play are trying to use it.</p><h3>Recent improvements</h3><p>We thought that an app without a website had no value in its own right, that it was an add-on to an ecosystem. However, it turned out that there are users who liked our approach and they learn ONLY in the application. Since the interface was tailored for people who know CodeGym, we began to research what might be incomprehensible to newcomers.</p><p>There were quite a few people who figured out everything and used CodeGym for free (for a long time in the application it was possible to study for free). As it turned out, some users didn’t even know that there was such a website.</p><p>Nevertheless, we slightly changed the interface and developed an onboarding tour: a user enters the application, a pop-up window appears with explanations of locations and how the course should be taken, and tested different versions of it. In a word, we tried to improve the product itself to make it easier for a person at the very beginning.</p><p>One of the most recent and most ambitious changes is the introduction of a user-responsive course. This feature appeared on the “big” CodeGym a little bit earlier. When users enter the application for the first time, they are asked what language they want to study in, what is the goal of the learning (to become an android developer, Java developer, etc.). Now, the user is proposed to take a small theory test, which can be skipped if they have never studied Java before. After this procedure, the user clicks on the “Get a course” button and a conditionally personal version of the course is generated.</p><p>Also, we recently introduced an “app-only” subscription that costs less than a website subscription (website subscription, of course, includes access to a mobile app). As it turned out, many students are ready to study in mobile format only.</p><h3>Results and plans for the future</h3><p>The trends in mobile learning and microlearning are inextricably linked. Mobile learning is the fastest growing trend in EdTech (growing 23% annually), so we made the right choice when we listened to our users and started developing the CodeGym app.</p><p>We managed to develop a really convenient mobile application for learning Java by doing. Considering that programming is a sea of ​​code, we think this is just a great result. Mobile CodeGym has really accelerated students and increased product satisfaction. It is very important that the mobile application has led to the fact that there are fewer long (at least two weeks) breaks in learning. As we’ve researched, long breaks are one of the biggest enemies of online learning and the root cause of most potential programmers’ failure.</p><p>We constantly support the Android application, listen to users, fix bugs, and think about improvements. We are currently developing a version of CodeGym for iOS, now it is at the prototyping stage. Perhaps in the future, we will develop a short video format and think about organizing effective voice input in the IDE.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d77fa4757d1d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/how-we-created-a-mobile-tool-to-write-code-and-what-weve-got-d77fa4757d1d">How We Created a Mobile Tool to Write Code and What We’ve Got</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 5 Best Resources for Learning Java]]></title>
            <link>https://medium.com/cs-dojo/the-5-best-resources-for-learning-java-fdcf041ce539?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdcf041ce539</guid>
            <category><![CDATA[java8]]></category>
            <category><![CDATA[learn-to-code]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Thu, 18 Apr 2019 19:53:26 GMT</pubDate>
            <atom:updated>2019-04-18T19:53:26.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*nftoTHMTibmPs4gpgvhEeQ.png" /></figure><p>Dozens of programming languages serve different purposes, but still, Java stands out from the competitors due to some major benefits. Here are the top five reasons, why Java is so popular:</p><ol><li>It is an object-oriented, cross-platform language, which allows writing a program once to run it on multiple devices. This is why it’s widely used in Big Data and IoT developments, cloud projects, game development, etc.</li><li>It is a secure programming language with numerous features for creating enterprise level solutions. About 90% of the top 500 Fortune companies use Java.</li><li>Java developers are highly sought after in the global market. The average salary in the U.S. exceeds $102,000 per year.</li><li>Java has one of the largest communities in the programming world, as there are more than 10 million developers worldwide.</li><li>Java offers great prospects, as it keeps evolving and improving constantly. It has a great range of collections for solving different tasks and updates its features regularly.</li></ol><p>It isn’t the easiest language to learn from scratch, compared with Python, which is adviced by many programmers as a first language, and JavaScript, which has a rather low learning curve. But if you put efforts, you can skill-up to the Junior Developer level in 3 to 12 months. The main rule of learning how to code is to devote enough time to practice. While it is quite easy to find good books on Java, choosing the right online platforms for real coding might be tricky. In this review, you’ll find top 5 resources for learning Java, with their peculiarities, pros, and cons.</p><h3><strong>Where to learn Java online</strong></h3><h4><strong>1. CodeCademy</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nZ2LjGI3I0fk8SGRZNMxZA.png" /></figure><p>This platform for online education is probably one of the best-known among learners. It allows you to choose your educational path and adjust a list of courses you need to complete to achieve your goal. Unfortunately, Java is not included in those “paths”, but the course provides you with a smooth introduction to language fundamentals. Here are the key topics covered in the course:</p><ol><li>Java variables and data types</li><li>Object-oriented Java</li><li>Conditionals and control flow</li></ol><p><strong>CodeCademy is good for beginners</strong> who are looking to get started with programming in Java and the initial opportunity to practice coding.</p><h4><strong>Pricing:</strong></h4><p>Monthly subscription: $19.99</p><p>6-month subscription: $17.99 per month</p><p>12-month subscription: $15.99 per month</p><h4><strong>Pros:</strong></h4><ul><li>user-friendly web IDE, where you can write code and check it immediately</li><li>a section with useful hints to complete each task + the FAQ section</li><li>short and easy to read lectures with graphic visuals</li><li>practical tasks (for example, creating a calculator and other apps)</li></ul><h4><strong>Cons:</strong></h4><ul><li>a very short trial period</li><li>gives you only the surface-level understanding of coding in Java</li></ul><h4><strong>2. </strong><a href="https://www.udemy.com/"><strong>Udemy</strong></a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nm6XFWQCX3Ci6K2vQQSFxQ.png" /></figure><p>Udemy offers a great range of Java programming courses from beginner to expert levels. Actually, it is one of the largest platforms worldwide for learning any subject.</p><p>If you’re a fan of video tutorials, you’ll like Udemy’s way of explanation. It is a great source to deepen your knowledge while studying &amp; practicing Java programming. If you need a firm theoretical frame to commence your learning, a course like “Java Tutorial for complete beginners” may be the one you need. And with a premium account, you’ll get access to more specific Java courses.</p><p><strong>Udemy is good for</strong> gaining knowledge on a variety of Java programming topics in an accessible way.</p><h4><strong>Pricing:</strong></h4><p>Starting from $10.99 per course plus a range of free courses</p><h4><strong>Pros:</strong></h4><ul><li>a great range of specific courses like Android, web, game development</li><li>good coverage of Java basics and implementation of OOP concepts in Java</li><li>video tutorials plus extra sources for reading</li></ul><h4><strong>Cons:</strong></h4><ul><li>lack of programming exercises</li><li>not enough interaction between students: basically, you learn alone</li></ul><h4><strong>3. </strong><a href="https://codegym.cc/"><strong>CodeGym.cc</strong></a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*d9l4ooVCSM3iRJXGPF2VQw.png" /></figure><p><strong><em>Full disclosure — I am CMO at CodeGym.cc.</em></strong></p><p>This online platform is completely devoted to Java. It’s a gamified course with “futuristic” narrative, motivational lectures and other entertaining features to help you move further in your studying.</p><p>The course is divided into four quests that cover the basics: Java Syntax, Java Core, Java Multithreading and Java Collections (the latter two are about to be released soon). At CodeGym.сс, you start to code from the first lessons in a web IDE with instant verification and code analysis options.</p><p>The main trick is that you need to solve as many tasks as you can because the right solutions bring you what’s called <strong><em>dark matter </em></strong>in the system. It’s a sort of fee you need to pay to open the next levels of the coding course.</p><p><strong>CodeGym.cc is good for </strong>learners who want to master coding through practice.</p><p><strong>Pricing: </strong>free</p><h4><strong>Pros:</strong></h4><ul><li>hundreds of tasks with instant verification and virtual mentoring</li><li>gamified learning with achievements and motivation</li><li>communication with other students and experienced developers</li></ul><h4><strong>Cons:</strong></h4><ul><li>as for now, only the first half of the course is available</li><li>a practice often outruns theory, so you might have to do extra research to solve some tasks</li></ul><h4><strong>4. </strong><a href="https://www.codewars.com/"><strong>Codewars</strong></a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dU3eb_c7orCF7IAGph4R8Q.png" /></figure><p>If you just can’t get enough of coding (which is extremely good) and want to significantly improve your coding style, try Codewars katas. This platform allows you to write code in a browser, use test cases to make sure it works and compare your code with others.</p><p>Each kata is available for a user with a certain rank, and consequently, you can get more complicated challenges. So, be sure you have at least a brief experience in coding before you start your journey here.</p><p><strong>Codewars is good for</strong> advancing programming skills you already have and competing with other programmers.</p><p><strong>Pricing: </strong>free</p><h4><strong>Pros:</strong></h4><ul><li>intensive coding practice</li><li>an ability to compare solutions with other users to discuss the best practices</li><li>an ability to practice in groups</li></ul><h4><strong>Cons:</strong></h4><ul><li>is suitable only for practice &amp; challenges</li><li>implies that you know Java fundamentals</li></ul><h4><strong>5. </strong><a href="https://docs.oracle.com/javase/tutorial/"><strong>Oracle Java tutorials</strong></a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-L3GfNezcot_zYQn2DYO_A.png" /></figure><p>Practice first, but of course, you will need a profound understanding of Java programming. As one of the leading IT and software development companies, Oracle has its own free Java tutorial. It covers a wide range of topics:</p><ul><li>Java basics</li><li>Creating graphical user interfaces</li><li>Lots of other specialized trails and lessons</li></ul><p><strong>Oracle Java tutorials are good for</strong> solo learners, who aim to shift from studying to practicing.</p><p><strong>Pricing: </strong>free</p><h4><strong>Pros:</strong></h4><ul><li>detailed step-by-step guidance on numerous programming tasks</li></ul><h4><strong>Cons: </strong>N/D</h4><h4><strong>How to balance your education</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*CvO-40pcdLooSqFdfwbEog.gif" /></figure><p>Try to combine different sources for practice, keep up with Java community and, of course, read books to get a deeper understanding. If you’re new to programming, you’ll quickly see that you don’t have to be a math genius to code, but you’ll surely need to advance your logical thinking and problem-solving skills. Make coding your daily habit, and you will see the results soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdcf041ce539" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cs-dojo/the-5-best-resources-for-learning-java-fdcf041ce539">The 5 Best Resources for Learning Java</a> was originally published in <a href="https://medium.com/cs-dojo">CS Dojo Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 10 + 1 Common Mistakes Every Java Learner Makes]]></title>
            <link>https://medium.com/codegym/top-10-1-common-mistakes-every-java-learner-makes-47e5dc082c6b?source=rss-dcd4a792444f------2</link>
            <guid isPermaLink="false">https://medium.com/p/47e5dc082c6b</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[java8]]></category>
            <dc:creator><![CDATA[Alex Yelenevych]]></dc:creator>
            <pubDate>Tue, 09 Apr 2019 11:31:25 GMT</pubDate>
            <atom:updated>2019-04-26T17:36:06.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JwxyCPl0o8-skeAj01XzMA.png" /></figure><p>It is said, “Your friend will swallow your mistakes, your enemy will present them on a plate”. I am definitely not your enemy, but I want to present you some mistakes, specific to each Java beginner student and I will do it right here on this blogging “plate”. Sure there are only some of them, I collected from <a href="https://codegym.cc/">CodeGym.cc</a> courses analytical System. If you don’t know yet, CodeGym is a practical Java course from scratch to upper intermediate.</p><p>So, here they are.</p><h3>0. Assignment or comparison (= or ==)?</h3><p>This is one of the first mistakes of students who learn Java from scratch. It is easy to confuse that <strong>=</strong> is an assignment operator whereas <strong>== </strong>is a relational operator. That’s a natural mistake because in math “=” is closer to Java’s “<strong>==</strong>”, than to Java’s “=”. Usually compiler catches such mistakes, however, they could be hidden from it. For example:</p><pre><strong>boolean</strong> myBoolean;</pre><pre>If (myBoolean = <strong>true</strong>) {</pre><pre>doSomething;</pre><pre>}</pre><p>See? This block will be true anyway because you assign it to be true…</p><h3>1. Comparing Strings with == operator.</h3><p>A while after you did your first Java tasks (usually there are some console output and arithmetical problems) you learn String class. However, beginners often forget that particular string isn’t a representative of a primitive type like char or int, it’s an object. You can’t compare objects using == operator. Remember using the <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html#equals-java.lang.Object-">string.equals(Object object)</a> function to compare strings (or other objects), not the == operator. Equals check the contents of the string, while the == operator checks whether the references to the objects are equal.</p><p>To be honest with you, string constants are usually “interned”. That means two constants with the same value can actually be compared with ==, but don’t really rely on that.Use .equals.</p><h3>2. Different names of Class and the file where its code is.</h3><p>This mistake was very popular (maybe even leader of all) some years ago. Now even beginners use modern IDE’s and it is on the verge of extinction. Anyway, it is useful to bear in mind that in Java file name and class name should be the same. If you name your file, for example, Test.java and write there some class CodeGymTest code:</p><pre>//File name: Test.java</pre><pre><strong>    public</strong> <strong>class</strong> CodeGymTest {</pre><pre><strong>       public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre>          System.out.println(&quot;Hello world&quot;);</pre><pre>       }</pre><pre>}</pre><p>You’ll get the next output:</p><pre>Test.java:9: error: <strong>class</strong> CodeGymTest is <strong>public</strong>, should be</pre><pre>                    declared in a file named CodeGymTest.java</pre><pre><strong>public</strong> <strong>class</strong> CodeGymTest</pre><pre>^</pre><pre>1 error</pre><p>By the way, if you remove <strong>public</strong> modifier from the class name, your program will run.</p><h3>3. Accessing non-static members from the main method or other static methods</h3><p>Pretty often beginners don’t know how to work with static context. Static variable is the one shared among all instances of a class. Therefore, there’s only one copy of it which is shared by all objects. So we can’t work with non-static variable in a “static way”. This mistake usually happens in the main()method (which is static!), when novice programmer attempts to access an instance variable or method. If you try such code</p><pre><strong>public</strong> <strong>class</strong> MyExample {</pre><pre><strong>   public</strong> String myString;</pre><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) { </pre><pre>        myString = “non <strong>static</strong> String”;</pre><pre>}</pre><pre>   }</pre><p>We’ve got compile error:</p><p>non-static variable number cannot be referenced from a static context.</p><p>What should we do to avoid this? First of all, we can make our variable static, but it is not always meets the program purpose. One of the solutions is to create an object of our class:</p><pre><strong>public</strong> <strong>class</strong> MyExample {</pre><pre><strong>    public</strong> String myString;</pre><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre>MyExample myExample = <strong>new</strong> myExample();</pre><pre>        myString = “non <strong>static</strong> String”;</pre><pre>}</pre><pre>  }</pre><p>Remember, you can work with static variables or methods from static or non-static context. You can work with non-static elements using object reference.</p><h3>4. Array index is out of Array bounds</h3><p>It is an extremely popular mistake among beginner programming students. The reason of such popularity is, that the very first more or less complicated tasks are about arrays and cycles. Very easy example:</p><pre>String[] name = { &quot;Snoopy&quot;, &quot;Woodstock&quot;, &quot;Charlie Brown&quot; };</pre><pre><strong>for</strong> (<strong>int</strong> i = 0; i &lt;= name.length; i++) {</pre><pre>   System.out.println(name[i]);</pre><pre>}</pre><p>The cycle starts from zero element “Snoopy”, then goes to the first “Woodstock” and to the second one “Charlie Brown”… and tries to print the third element, but we don’t have it (our “third” is a “second” such as “first” is number zero). Here the mistake is pretty obvious, but it is not always like this.</p><p>Cycles and arrays are pretty tough for rookies. However, practice makes diamonds. <strong>There are hundreds Arrays &amp; Cycles tasks on CodeGym. Try to solve them (it is free for now on!) to get confident skills.</strong></p><h3>5. Puting “;” wrong in cycles or conditionals</h3><p>In the block below you don’t print any of array’s members. First, the cycle is ending with “;” so nothing happens. Even more: the program won’t work because your int i works only inside the cycle and it ends with “;”.</p><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)  {</pre><pre><strong>            int</strong> [] myArray = {2,5,7};</pre><pre><strong>            for</strong> (<strong>int</strong> i=0; i&lt;3; i++);</pre><pre>            {</pre><pre>                 System.out.println(myArray[i]);</pre><pre>            }</pre><pre>       }</pre><p>If you try something like this:</p><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)  {</pre><pre><strong>            int</strong> [] myArray = {2,5,7};</pre><pre><strong>            int</strong> i = 0;</pre><pre><strong>            for</strong> (i=0; i&lt;3; i++);</pre><pre>            {</pre><pre>               System.out.println(myArray[i]);</pre><pre>            }</pre><pre>         }</pre><p>You’ve got java.lang.ArrayIndexOutOfBoundsException, because System.out.println tries to print element #3 and only this one, but we don’t have such an array member. The last one is the second and it is 7.</p><p>The same story with <strong>;</strong> and conditions. For example:</p><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)  {</pre><pre><strong>            int</strong> [] myArray = {2,5,7};</pre><pre><strong>           if</strong> (myArray[0] &gt; myArray[1]);</pre><pre>            System.out.println(&quot;it is&quot;);</pre><pre>        }</pre><pre>   }</pre><p>The condition is not satisfied here, but “it is” would be printed because of “;” after if construction.</p><p><strong>If you start your CodeGym learning, you’ll get your first coding tasks with cycles on the level 4 </strong><a href="https://codegym.cc/quests/QUEST_JAVA_SYNTAX"><strong>Java Syntax quest</strong></a><strong>. I guess you’ll forget about this kind of mistakes solving enough problems.</strong></p><h3>6. Missing the ‘break’ Keyword in a Switch-Case construction</h3><p>The embarrassing thing about missing a “break” keyword is that there aren’t compiler error. However your code works the wrong way.</p><p>Look at the code example below, where we forgot to put a break in “case 0”. The program will work but it prints both “0” and “1” because switch construction ends its work with a break.</p><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> switchCasePrimer() {</pre><pre><strong>        int</strong> counting = 0;</pre><pre><strong>        switch</strong> (counting) {</pre><pre><strong>            case</strong> 0:</pre><pre>                System.out.println(&quot;0&quot;);</pre><pre><strong>            case</strong> 1:</pre><pre>                System.out.println(&quot;1&quot;);</pre><pre><strong>                break</strong>;</pre><pre><strong>            case</strong> 2:</pre><pre>                System.out.println(&quot;2&quot;);</pre><pre><strong>                break</strong>;</pre><pre><strong>            default</strong>:</pre><pre>                System.out.println(&quot;Default&quot;);</pre><pre>       }</pre><pre>}</pre><p>This rule has an exception. <strong>Switch</strong> block can finish its work with <strong>return </strong>operator</p><pre><strong>public</strong> <strong>class</strong> test {</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre>        System.out.println(showSwitch(1));</pre><pre>    }</pre><pre><strong>    public</strong> <strong>static</strong> <strong>int</strong> showSwitch(<strong>int</strong> condition) {</pre><pre><strong>        switch</strong> (condition) {</pre><pre><strong>            case</strong> 1:</pre><pre>                System.out.println(1);</pre><pre><strong>                return</strong> 1;</pre><pre><strong>            case</strong> 2:</pre><pre>                System.out.println(2);</pre><pre><strong>                return</strong> 4;</pre><pre><strong>            case</strong> 3:</pre><pre>                System.out.println(3);</pre><pre><strong>                return</strong> 8;</pre><pre><strong>            default</strong>:</pre><pre>                System.out.println(&quot;default&quot;);</pre><pre><strong>                return</strong> 256;</pre><pre>        }</pre><pre>    }</pre><pre>}</pre><p>In this case, switch finishes its job right after case 1.</p><h3>7. Mess with pass by value and pass by reference</h3><p>If you pass a primitive data type, such as a char, int or double, to a method, you are passing by value. That means a copy of the data type would be duplicated and passed to your method. If that data is modified inside the method, there is no influence on the “original” data outside the method.</p><pre><strong>public</strong> <strong>class</strong> Main {</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> swap(<strong>int</strong> i, <strong>int</strong> j)</pre><pre>    {</pre><pre><strong>        int</strong> temp = i;</pre><pre>        i = j;</pre><pre>        j = temp;</pre><pre>        System.out.println(&quot;from swap method i = &quot; + i + &quot;, j = &quot; + j);</pre><pre>    }</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre><strong>        int</strong> i1 = 1;</pre><pre><strong>        int</strong> j1 = 2;</pre><pre>        swap(i1,j1);</pre><pre>        System.out.println(&quot;from main method i = &quot; + i1 + &quot;, j = &quot; + j1);</pre><pre>    }</pre><pre>}</pre><p>When you pass a Java object, for example, array or string to a method, that means you are passing a reference (address of your data), not a duplicate. So if you change the data in a method, it will be changed outside it as well.</p><pre><strong>public</strong> <strong>class</strong> Main {</pre><pre><strong>    static</strong> <strong>int</strong>[] outer = <strong>new</strong> <strong>int</strong>[3];</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> swap(<strong>int</strong>[] array) {</pre><pre>        System.out.println(&quot;(swap) Before swap :&quot; + Arrays.toString(array));</pre><pre><strong>        int</strong> first = array[0];</pre><pre><strong>        int</strong> last = array[array.length - 1];</pre><pre>        array[0] = last; </pre><pre>        array[array.length - 1] = first;</pre><pre>        System.out.println(&quot;(swap) After swap :&quot; + Arrays.toString(array));</pre><pre>     }</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre>        outer[0] = 0;</pre><pre>        outer[1] = 1;</pre><pre>        outer[2] = 2;</pre><pre>        swap(outer);</pre><pre>        System.out.println(&quot;(main) After swap :&quot; + Arrays.toString(outer));</pre><pre>    }</pre><h3>8. Attempt to work with uninitialized field or variable</h3><p>Work with an object type without initialization is pretty dangerous.</p><p>Class variables are initialized by the default value (0 for int, 0.0 for double, false for boolean, null for non-primitive types (objects).</p><pre><strong>public</strong> <strong>class</strong> Test2 {</pre><pre><strong>    static</strong> String test;</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre>      System.out.println(test);</pre><pre>    }</pre><pre>}</pre><p><strong>The output is:</strong></p><pre>Null</pre><p>When you work with a local method variables you need to initialize them manually, otherwise, you’ll get a compilation error.</p><pre><strong>public</strong> <strong>class</strong> Test2 {</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre>        String test2;</pre><pre>     System.out.println(test2);</pre><pre>    }</pre><pre>}</pre><p><strong>The output is:</strong></p><pre>Error:(6, 28) java: variable test2 might not have been initialized</pre><h3>9. Forgetting about integer division</h3><p>If you divide one int to another int, you’ll get int again. So ½ = 0, not 0.5 in this case:</p><pre><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre><strong>        int</strong> i = 1;</pre><pre><strong>        int</strong> j = 2;</pre><pre><strong>  int</strong> k = i/j; //here we’ve got 0</pre><pre>  }</pre><p>You may learn about division and real types from <a href="https://codegym.cc/quests/QUEST_JAVA_SYNTAX">Java Syntax quest</a> of CodeGym and solve a lot of coding tasks related to the topic.</p><h3>10. Mess with an order of calling constructors in Child objects</h3><p>When you try to create an instance of a Child class, Child is called first, and Parent after it. Order of constructors execution in Parent-Child relationship builds from basic (Parent) class to inherited (Child).</p><pre><strong>public</strong> <strong>class</strong> Test3 {</pre><pre><strong>    static</strong> <strong>class</strong> Parent {</pre><pre>        Parent() {</pre><pre>            System.out.println(&quot;a Parent is created&quot;);</pre><pre>        }</pre><pre>    }</pre><pre><strong>    static</strong> <strong>class</strong> Child <strong>extends</strong> Parent {</pre><pre>        Child(){</pre><pre>            System.out.println(&quot;a Child is created&quot;);</pre><pre>        }</pre><pre>    }</pre><pre><strong>    public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</pre><pre>        Child child = <strong>new</strong> Child();</pre><pre>    }</pre><pre>}</pre><p><strong>Output:</strong></p><pre>a Parent is created</pre><pre>a Child is created</pre><p><strong>If you join CodeGym, you’ll meet OOP and inheritance in </strong><a href="https://codegym.cc/quests/QUEST_JAVA_CORE"><strong>Java Core Quest</strong></a><strong>. There are really many tasks in this topic. So sooner or later you’ll get a subtle understanding of OOP principles.</strong></p><h3>Conclusions</h3><p>I presume, there is no article that can accumulate all the potential mistakes of newbie Java students. Nevertheless, such lists are very useful to avoid the popular mistakes… and have time to find less trivial issues! Praemonitus, praemunitus (* forewarned is forearmed).</p><p>However, the most important step is not avoiding mistakes but practice coding itself. <strong>That’s why we created </strong><a href="https://codegym.cc/"><strong>CodeGym</strong></a><strong>, Java Core course with more than 1000 practicing tasks, fun lectures and instant feedback on your improvements. When you make a mistake, popular or rare, CodeGym System warning you about it and gives you recommendations to avoid it. Try the course by yourself, it is free for now on.</strong></p><p>Don’t stop practice and you become a better software developer for sure. Good luck with your learning!</p><p>P.S.: Have you ever made mistakes from this article? What mistakes have you faced with during your learning? Tell us in comments!</p><blockquote><em>This article is originally written for</em> <a href="https://www.javacodegeeks.com/2019/04/common-mistakes-every-java-learner-makes.html"><strong><em>Java Code Geeks blog</em></strong></a><strong>.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47e5dc082c6b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codegym/top-10-1-common-mistakes-every-java-learner-makes-47e5dc082c6b">Top 10 + 1 Common Mistakes Every Java Learner Makes</a> was originally published in <a href="https://medium.com/codegym">CodeGym</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>