Skip to content

everyday.codes

personal blog by Michael Krasnov

  • feed
  • medium
  • about
  • night mode
  • search
  • search hide

Unit-testing in Python: If You Do Not Test Your Code, No One Will

september 17, 2020 by michael krasnov | tags: testing
Unit-testing in Python: If You Do Not Test Your Code, No One Will

Python is a multi-purpose language that is used for everything backend. In this article, I will teach you to perform basic unit testing in Python, how to mock modules, and make sure your code is clean.

read more “Unit-testing in Python: If You Do Not Test Your Code, No One Will”

10 Advanced Python Interview Questions

september 10, 2020 by michael krasnov | tags: interview
10 Advanced Python Interview Questions

With Python becoming more and more popular lately, many of you are probably undergoing technical interviews dealing with Python right now. In this post, I will list 10 advanced Python interview questions and answers.

read more “10 Advanced Python Interview Questions”

Python Context Managers in Depth

september 8, 2020 by michael krasnov | tags: metaprogramming
Python Context Managers in Depth

Python is a particularly clean and sugary language, thanks to its many convenience features. In this post I will go into context managers in Python, how to use them, where to find them, and how to write your own ones.

read more “Python Context Managers in Depth”

Why Do You Need Decorators in Your Python Code

august 6, 2020 by michael krasnov | tags: metaprogramming
Why Do You Need Decorators in Your Python Code

Python is praised for its clarity and syntactic sugariness. In this article, I will teach you to use decorators in Python to make your code readable and clean.

read more “Why Do You Need Decorators in Your Python Code”

Why Python Written In Python is Faster Than Regular Python

july 27, 2020 by michael krasnov | tags: metaprogramming
Why Python Written In Python is Faster Than Regular Python

Let’s be honest: Python is slow. When I say Python, I mean CPython, it’s reference, C-based, implementation. This is where PyPy comes into play. This is a Python runtime, written in Python (!), which performs 4.4 times faster than CPython. How? Read ahead.

read more “Why Python Written In Python is Faster Than Regular Python”

Abstract Classes and Meta Classes in Python

july 21, 2020 by michael krasnov | tags: metaprogramming
Abstract Classes and Meta Classes in Python

Abstract classes (or Interfaces) are an essential part of an Object-Oriented design. While Python is not a purely OOP language, it offers very robust solutions in terms of abstract and meta classes.

read more “Abstract Classes and Meta Classes in Python”

Awesome New Features in Python 3.9

july 15, 2020 by michael krasnov | tags: python, release
Awesome New Features in Python 3.9

Python 3.9 is currently in the 4th iteration of its beta phase (as of July 2020). While some things may change, it is now pretty clear what the new release will look like.

read more “Awesome New Features in Python 3.9”

Simple Ways To Speed Up Your React App

july 6, 2020 by michael krasnov | tags: performance, react
Simple Ways To Speed Up Your React App

React is, arguably, the easiest UI library out there. But this easiness comes at a cost, which is performance. In this article, I will list some ways to improve the performance of your React app drastically.

read more “Simple Ways To Speed Up Your React App”

JavaScript is The New Plastic

june 29, 2020 by michael krasnov | tags: rant
JavaScript is The New Plastic

JavaScript is an awesome language, it really is. Just like plastic was an awesome invention 100 years ago. But everything comes with consequences, whether it is environmental pollution or computing pollution alike.

read more “JavaScript is The New Plastic”

How Passwordless SSH Login Works

june 23, 2020 by michael krasnov | tags: devsecops, ssh
How Passwordless SSH Login Works

SSH (Secure SHell) is a protocol that is used for remote administration of Linux systems. Obviously, it is secure, but what if I told you that you can make it even more secure by disabling the password?

read more “How Passwordless SSH Login Works”

Posts navigation

Older posts
Newer posts

Top Posts

  • React.useMemo and when you should use it
  • Please stop using classes in JavaScript
  • 10 Advanced Python Interview Questions
  • 7 really good reasons not to use TypeScript
  • Create Custom Jest Matchers to Test Like a Pro

archives

  • May 2021
  • February 2021
  • January 2021
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • August 2019
  • July 2019
  • June 2019

categories

  • best-practices
  • code-review
  • collections
  • fuchsia
  • google
  • graphql
  • java
  • javascript
  • life
  • linux
  • mobile
  • news
  • open-source
  • python
  • react-native
  • tutorials
  • Uncategorized

michael krasnov (c)
linkedin | github | telegram

This website uses cookies to ensure you get the best experience on our website. Learn more