Audio Programming Frameworks

Posted on Fri, 10 Apr 2020 in Other • Tagged with c++, audio programming

Music production has been my hobby for a year now. It's the main reason why I wasn't so active in blogging last year. Now I am used to it. I've developed some new habits and balanced my life. And I think it's high time to bring some programming into it.

I'm going to program a couple of audio plugins or standalone applications. I have several ideas to implement. And I'm going to write a series of articles about audio programming.


Continue reading

Type Hints for Dynamic Class Creation

Posted on Sun, 15 Mar 2020 in Python • Tagged with python, type hinting

Type hints in Python are cool. Projects of any size can benefit from them. Actually for projects bigger than 50-60 modules or with more than 5 developers involved type hints become crucial to keep its code quality at a reasonable level. And it looks like it is my favorite topic to write about.

But sometimes, its realization in Python is counterintuitive or even confusing. You have to write a code that has no sense but typing, for example, in case of dynamic type creation and necessity of using cast function. Well, technically all type hints in Python have no sense but typing. However, in the vast majority of cases, type annotation adds clarity to the code, not confusion.


Continue reading

Is It Worth Become a Developer?

Posted on Mon, 20 Jan 2020 in Other • Tagged with carrier, software developer, programmer

There is a whole week of bank holidays at the very beginning of January in Russia. Sometimes it causes strange thoughts and ideas in people's minds. For example two of my friends decided to become programmers.


Continue reading

What is Python not good for?

Posted on Tue, 15 Oct 2019 in Python • Tagged with python

There is a question on Quora - "What is Python not good for?" I want to say that Python is good for everything, but it is not true. Honestly, Python is a second-best language for many things. There are not many spots there it is the best language to use.


Continue reading

Python Typing Hints List

Posted on Fri, 24 May 2019 in Python • Tagged with python, type hints

Here is my small list of sources of type hints in Python that I use almost every day.


Continue reading

Codingame: Clash of Code

Posted on Fri, 26 Apr 2019 in Other • Tagged with codingame

In January I wrote that I want to make a big and interesting project with Codingame - develop an ML-based bot for LEGENDS OF CODE & MAGIC. Procrastinating an attempt to do it (again...) I found out that there is something really interesting on Codingame. Clash of Code! It is a tiny coding competition. After playing them for a while I can say they are awesome to relax from daily routine.


Continue reading

Using import foo.bar.baz as fbb

Posted on Mon, 18 Mar 2019 in Python • Tagged with python

There is a wonderful feature in Python import statement to make an alias for an imported object (import foo.bar.baz as fbb). It allows to avoid name conflicts and improve code readability if necessary. And of course, using it you can easily turn your perfect code into a completely unreadable mess. Recently I’ve seen this several times. I’ve met some strange abbreviations and confusing aliases.


Continue reading

Please Do Not Use "else"

Posted on Tue, 29 Jan 2019 in Python • Tagged with python

I don’t like else if there is return-statement in both branches. It is always possible to write code without that unnecessary if appendage. Such code looks more accurate, more clear and it is easier to read. Why so many developers still use this useless else?


Continue reading

Plans for 2019

Posted on Wed, 02 Jan 2019 in Other • Tagged with blog, plans, 2019

Today is 2nd of January 2019. It is a time to make some plans for this blog. I want to write at least 12 blog posts. There are two topics that I find very interesting: CodinGames and Kaggle challenges.


Continue reading

Mobile App with Kivy and Python? Mmm… Not now

Posted on Thu, 25 Oct 2018 in Python • Tagged with python, kivy, mobile

There are several GUI frameworks for Python. Most of them are for desktop applications. Kivy is an exception. Using it you can build project for mobile platforms. Unfortunately, it is not production ready. You have to juggle versions of libraries to make it works. So even having a t-shirt that says print("Python is my favorite language") I have to accept that Python is not for mobile development.


Continue reading