Python 3.6 f-strings rant

Python 3.6 introduced a new way to format strings, called Formatted string literals, or just f-strings. Everyone on the internet seem to be happy about it. I'm definitely not.

For starters, Python 3 already had 3 built-in ways of doing it before. Just think about it... 3 ways to format strings in language that declares simplicity as a goal:

There should be one-- and preferably only one --obvious way …

more ...

How I became a programmer

After reading a lot of blog posts about becoming a programmer recently, I've decided to write my own.

It will be a bit different because of two factors:

  • I'm not a Software Engineer, but a Production Engineer/SRE/Admin;
  • I'm from Russia, where CS education is vastly different.

School years

School in Russia is 10 or 11 years and you start at the age of ~7 and end it at …

more ...

Notes about type systems in popular languages

I've been kind of out of my comfort zone last 3 weeks, and was trying to use as many new languages and technologies as possible.

I've used C++, JavaScript, React, PHP and Hack to name a few, and I've noticed really cool thing - many popular programming languages are moving towards mixing best of static and dynamic typing.

  • C++ (statically typed language) now has auto keyword, specifying that compiler should deduce …
more ...

Python Type Hints are awesome

I really love Julia Evans's blog, she writes with such excitement and enthusiasm about every new bit of technology she learns. For me, this is what makes our job so great - we can learn something new and cool almost every day.

And recently I've felt very excited with some of new abilities Python now have. I'm talking about including of PEP 484, which describes Type Hints, in Python 3.5 …

more ...