What’s new in ECMAScript 2019 (ES2019)?

Every year since 2015, new ECMAScript features are released. Creating a new ECMAScript standard has four stages, from stage 0 to stage 3 it is mostly planning, and drafts and stage 4 is final. It’s possible to use the newest features in Google Chrome version 72. Let’s take a look at what exactly ES2019 brings us: Object.fromEntries(), trimStart() and trimEnd(), flat(), flatMap(), Symbol object description property, catch optional binging, well formatted JSON.

Keep reading...

Object-oriented programming in Python

Python allows writing programs following several programming paradigms (like procedural programming, functional programming, object-oriented programming) and to combine them. Object-oriented programming is one of the most widely used paradigms today. It is based on the use of objects — entities that contain data members called attributes and bounded functions (routines, procedures) called methods. Objects are instances of classes. In other words, classes mostly define the structure of objects and serve as templates for creating them.

Keep reading...

5 reasons why you should learn Javascript

Javascript is one of the most popular programming languages in previous years, but lots of people still ask the question, why it’s worth to learn JS. Since a few years, Javascript spread so much that it’s visible almost everywhere, front-end, back-end and even mobile development and the popularity of this programming language is not getting smaller. There are tones of different frameworks which grown on Javascript basics and are used almost in every project which needs any user interface.

Keep reading...

Loops in Python – comparison and performance

Python is one of the most popular programming languages today. It’s an interpreted and high-level language with elegant and readable syntax. However, Python is generally significantly slower than Java, C#, and especially C, C++, or Fortran. Sometimes performance issues and bottlenecks might seriously affect the usability of applications. Fortunately, in most cases, there are solutions to improve the performance of Python programs. There are choices developers can take to improve the speed of their code.

Keep reading...

13 useful JavaScript array tips and tricks you should know

An array is one of the most common concepts of Javascript, which gives us a lot of possibilities to work with data stored inside. Taking into consideration that array is one of the most basic topics in Javascript which you learn about at the beginning of your programming path, in this article, I would like to show you a few tricks which you may not know about and which may be very helpful in coding!

Keep reading...

How to code – learn step by step how to become a programmer with Duomly

Hello everyone, we came up with an idea to show you step by step what to do to become a developer. For this, we created a YouTube channel called _How to code with Duomly._ Every week we publish a new episode preparing you to be a programmer. In every episode, we describe a different topic, like tools, software, programming languages, etc. For more information check out our first video!

Keep reading...

For loop, while loop, do…while loop and other JavaScript loops – comparison and performance

Loops play an essential role in software development, and they are used to iterate through the arrays or other elements that are iterable. In Javascript, we have a few different types of loops. It sometimes can be confusing which loop we should use in a particular case and which one will be the best in case of our performance. In this article, I’m going to compare the loops in Javascript, describe their pros and cons, test the speed of each of them.

Keep reading...

The most useful features in the latest Javascript (since ES6)

In June 2015, after six years of break, there was a significant update of Javascript which brought lots of new features. Since that time every year we a new edition with a set of new features which are supposed to help developers and make our work more efficient. To help you keep track on what is going on with Javascript versions, I’m going to list the most useful features grouped by the edition and add some code examples for a better overview.

Keep reading...

Differences between Artificial Intelligence and Machine Learning and why it’s important for us

Artificial intelligence (AI) is everywhere around us: image recognition and contacts suggestions on Facebook or Twitter, self-driving cars, software that beats champions in chess and go, books recommendations on Amazon, Google search, Apple Siri and Microsoft Cortana, and so on. It became a very important aspect of our lives. Its importance raises, and we rely on AI more and more every day hoping that it’s going to improve our well-being.

Keep reading...

What is functional programming and it’s most important aspects?

Intro to what is functional programming Functional programming is an interesting programming concept which gains a lot of attention lately. This article presents some of the most important aspects of functional programming in general and provides several examples in Python. Functional programming is a kind of the declarative programming paradigm where functions represent relations among objects, like in mathematics. Thus, functions are much more than ordinary routines. This programming paradigm can be implemented in a variety of languages.

Keep reading...