DEV Community

Pavel Morava profile picture

Pavel Morava

404 bio not found

Last 250 comments

Javascript OOP-1 (Classes and Objects) -

Suffice it to say nobody really knows what the famous OOP is ...

My first impressions with pyenv

You are right. Thankfully, for my purposes, it is enough. I h...

My first impressions with pyenv

If you have several Pythons in your ubuntu, you can simply cr...

❗ DON'T add a video background to your landing page to make it more gorgeous ❗ [TW: gratuitous swearing]

1GB of data download cannot produce 3kg of CO2 unless you use...

Do Python One-Liners Make Your Code Faster?

It depends on what is happening under the hood. Less code doe...

Do Python One-Liners Make Your Code Faster?

As for your last one liner, it seems rather unnecessary to cr...

Codewars Python — Integer to Roman conversion

From a short glance on your code, I wonder if you considered ...

Twitter, Grifters, DevRels, and the end of everything as we know it

Thank you.

Twitter, Grifters, DevRels, and the end of everything as we know it

So how did you do that? This is my first time seeing it.

Why I'm Not One of the Guys

I have no idea what you are talking about. But please, do not...

Introduction To Python Functions.

map(function, input_list) Enter fullscreen mode ...

How to get more views on dev.to?

Of course, it is demotivating. You are absolutely correct. Bu...

Why I'm Not One of the Guys

Perhaps we can change our behavior into not being irritated o...

How to get more views on dev.to?

The only possible way I can think of is to deliver constantly...

The Simple Guide to Programming Paradigms

I am far from saying that Rust or GoLang are ideal. Especiall...

The Simple Guide to Programming Paradigms

Seriously, I don't want to discuss the errorprone nature of e...

Why I'm Not One of the Guys

No, I was only implying, quite politely I hope, that those pe...

Why I'm Not One of the Guys

Yesterday we saw a woman without a leg. I told my wife: Remem...

The Simple Guide to Programming Paradigms

Well, this is actually even worse. With go-to one at least kn...

The Simple Guide to Programming Paradigms

The problem with exceptions is they are side effects, and exc...

The Simple Guide to Programming Paradigms

Every time I see that go-to was bad because it encouraged jum...

The Unknown Features of Python's Operator Module

Great article.

Why Do Companies Ask For Passion?

Great. I would comment alike. You spared me the effort.

Demystifying Software Acronyms

Release Early, Release Often

Internet Explorer finally dies

Sure, they could if they wanted. I am not part of the IT depa...

Internet Explorer finally dies

You seem not to understand the gist of the problem. They co...

How dev.to (occasionally) rubs me up the wrong way

Remember Taken from fsharp for fun and profit. As for Jupy...

How dev.to (occasionally) rubs me up the wrong way

Learn about the YAGNI concept, then. It is never a good habit...

Get Paid To Work On Open Source

I hope you will share the results after some time. I am curio...

How dev.to (occasionally) rubs me up the wrong way

Well, I guess you should focus on one thing instead of jumpin...

Get Paid To Work On Open Source

May I know why you decided to take this route? Is it a new t...

Internet Explorer finally dies

Well, some stuff is rather hard to explain to the IT departme...

Internet Explorer finally dies

Not where I work. Not only is not IE banned in Active Directo...

How dev.to (occasionally) rubs me up the wrong way

I cancelled my FB a long time ago, so I missed this experienc...

Internet Explorer finally dies

On most workstations we have the Internet Explorer is still a...

GitHub Copilot: My experience after one week usage

Glad I could help. However, this was only my impression. Perh...

How dev.to (occasionally) rubs me up the wrong way

I am afraid that people writing these articles have not maste...

GitHub Copilot: My experience after one week usage

It almost feels like the copilot promoted crappy WET over han...

How dev.to (occasionally) rubs me up the wrong way

My children beg to disagree. 😭

How dev.to (occasionally) rubs me up the wrong way

It is not that bad. They play games on notebooks and know key...

How dev.to (occasionally) rubs me up the wrong way

I may shock you, but when I was gently pushing my children to...

How dev.to (occasionally) rubs me up the wrong way

Your rant was excellent. And I agree with your points fully, ...

How can I improve?

checkio.org for Python. They have even JavaScript/TypeScript...

Learn PYTHON in ONE Week!

So many years wasted in learning stuff that can be devoured i...

How an (almost) argument landed me a new friend

Interesting challenge, indeed. Still, since you sometimes ad...

How an (almost) argument landed me a new friend

I put the incident behind me and wanted to be friends with t...

How To Write Clean Code in Python

Glad it is useful. I've collected plenty of little tricks and...

How To Write Clean Code in Python

You are welcome. By the way, note there is no concatenating o...

How To Write Clean Code in Python

Well, Python helps you split the line in the following fashio...

How To Write Clean Code in Python

Python has no limit, only PEP8 prescribes the limit for the l...

Bubble Sort (JS Example)

I was not asking about a general bubble sort, I was asking ab...

Bubble Sort (JS Example)

You left me wondering about your code more than 5 minutes. B...

Why Functional Programmers Avoid Exceptions

You won't, probably. On the other hand, I guess than in twe...

5 reasons why Go is taking over DevOps in 2021?

So GoLang is faster than CPython. Shocking, indeed. And it h...

Why Functional Programmers Avoid Exceptions

I saw even articles dealing with OOP discouraging exceptions ...

Demystifying Software Acronyms

You can add ACID or RERO. Just two coming into my mind.

I made 150+ high-quality illustrations, totally free. Use it anywhere without attribution.

I shared your article for you in Online Novels Space here. Ho...

12 things I learned as a volunteer programming teacher

Cool! I taught few people myself and I know there is nothing ...

Clean Code Part 2: Functions

Congratulations on solving the impossible. Oh wait, there i...

Clean Code Part 2: Functions

May I know an example of niladic (no parameter) function that...

Battery Included Philosophy, python

I am sorry to disappoint you, but I am afraid that battery in...

Why I switched from VsCode to WebStorm

There is no doubt that Jetbrains products are superior to VS ...

Which Linux distro do you use?

I am using Ubuntu under Windows. I have no need for Linux Des...

🤔How to avoid stress during coding?

Just five characters. V-O-D-K-A You can use it anytime you ...

We Helped 42 Developers Make $772.441 in Salary Raises And Promotions, Here Is What We Learned

Finally, someone has figured out all my problems. I am so g...

List of C# 9 features

Microsoft has to introduce more and more features to make C# ...

Five++ cool Python snippets (Part - 2)

I would write the last one this way: numbers = [1,2,3,4,5...

I'm switching to vim!

I had this notion once. After a few days, I returned to VS Co...

How To Get Black Working in PyCharm in 2021

One of the reasons I stop pursuing PyCharm was this, so I can...

Should You Really be Coding in Dark Mode?

You misunderstood. I meant that my theme was Solarized Light,...

Should You Really be Coding in Dark Mode?

Well, it should. At least, Microsoft claims so :) You can t...

Advanced Array access in Cython using a practical example

Exactly

Should You Really be Coding in Dark Mode?

Neither. I prefer a light yellowish color as background and d...

Why You Should Learn Java First: Part 1, Basic Typing

Oops. In Java null + "string" is Nullstring While in Pyth...

Advanced Array access in Cython using a practical example

The last time I programmed the game of life I came to realiza...

Points That A First Time Coder Should Follow!!!🗒

C++ is a beginner-friendly language? And pointers are an impo...

What's New in Python 3.10?

It is not about the old switch at all like in C. It is more a...

Better Examples of Django Async Views

Perfect article. Thank you.

The Correct Way to Overload Functions in Python

I thought you were going to talk about this overloading. Nice...

Complete Computer Science Self-Study Guide

You can learn programming by yourself and become proficient. ...

Complete Computer Science Self-Study Guide

A computer science degree is overrated. Many of the best pro...

Why JavaScript not Python for Web Development?

We both expressed our opinions. As for promoting Javascript o...

Write better queries using values_list in Django

I believe that for obtaining specific column for database one...

Why JavaScript not Python for Web Development?

Nothing to be extremely sorry 😉 You are not first one with ...

Why JavaScript not Python for Web Development?

It is the only way how to script browser unless we count weba...

Why JavaScript not Python for Web Development?

To prefer Python over Javascript is not a question of being b...

Writing functions in Python

If you are learning Python, you should try Jupyter notebooks ...

Publishing simple C# script into a standalone executable?

The problem was that no runtime could be guaranteed. It was f...

Writing functions in Python

If you use the print statement inside something you call a fu...

Careful when you Scrape

The way you put it is similar to online advising how to annoy...

CodeWars assignment that got me thinking – the power of lambda!

For this particular assignment, you may want to check partial...

The rise of no-code & low-code: are we out of a job yet? 😨

I've done that already. I don't see Excel taking jobs from ...

The rise of no-code & low-code: are we out of a job yet? 😨

Anytime when people import a thousand line library to write a...

Using ternaries for variable assignment in Python

The ternary operator is not something from Javascript world. ...

Stay with R-cran or *switch* to Python

I did not write the article. Just shared it to my space and n...

Top 10 Programming Languages to Choose in 2021

You have probably markdown typo for c# in the sub-header. Pe...

I found the best text editor for basic code fixing

Yep, doesnt work :( However, I found this one github.com/zy...

Stay with R-cran or *switch* to Python

Hi This post may interest you. qr.ae/pGyL3w

C#: A Beginner‘s Best Choice

I believe as it is learning any other language Not all lan...

I found the best text editor for basic code fixing

Oh, so you tried the vim? I share your pain. 😭😉 Thanks for t...

New Pattern Matching Feature in Python

The only and the most important thing I still don't know is w...

C#: A Beginner‘s Best Choice

Except for the fact that C# is not exactly beginners friendly...

Solution: To Lower Case

Only the Java solution seems fully correct since it uses Stri...

🐧 Linux Commands - A Complete Handbook for beginners 💻

An incomplete handbook is it? :) The first half of these com...

Wo! You think you can expect less from while loop i bet ya! You don't

All these while-loop samples may lead to endless loops, not o...

Old enough to code, too young for the next step?

I guess it is just your cognitive bias. Most of teens do not ...

Contributing to back-end codebase as a front-end for first time.

Are you being serious about reading and investigating each pa...

How to convert list to string python?

Using + operator for concating strings is not recommended bec...

Top 5 Python Coding Practise Playground

From my experience and I tried most of these, the best one is...

Things to do when creating content!

Impressive. I would never be able to do that.

Things to do when creating content!

Good video, Sarah. All the time I see such a well-spoken per...

Practicing recursion with the flood fill algorithm

Aha, this is what you meant. To print it before and then comp...

Practicing recursion with the flood fill algorithm

Oops, sorry. You are right. You are not visiting the same poi...

Practicing recursion with the flood fill algorithm

Nice. I see two problems with your solution. The first is th...

I Started Learning Scala as a Python Programmer. Here’s Why.

You can run parallel Python code, the caveat is that one need...

5 Awesome Visual Studio Code Features

Curiously enough, I was programming in the old Visual Studios...

5 Awesome Visual Studio Code Features

Comparison between the VS vs VSC experience would be great. I...

Converting String to Float in Python

In Czech, we use decimal coma instead of dot. So a typical Cz...

How To Write A File Python Tutorial

Nice summary. But you should highlight that you are opening a...

Chain of Responsibility Pattern in Java

It seems like a linked list to me.

Stay with R-cran or *switch* to Python

I saw some statistics that showed growing share of Python ver...

Stay with R-cran or *switch* to Python

Personally, I would not ditch R when you already have knowled...

Learning Kotlin: Programming with Visual Studio Code

You will see. But in my experience, the Jetbrains ecosystem b...

Learning Kotlin: Programming with Visual Studio Code

If you omit Jetbrains IDE from your Kotlin learning process, ...

The Right Way to serve static files when using Django with Gunicorn

I do not think that collecting static files in Django is as s...

The Right Way to serve static files when using Django with Gunicorn

Probably a design choice. I guess that to serve static files ...

Feel proud of yourself.

Not really, but it does not matter. :) I am different kind o...

C++ vs Python

Oh, he is incorrect in many things. I pointed out a few of th...

C++ vs Python

If you are referring to its factual incorrectness, I guess it...

C++ vs Python

The last time I checked, OOP was implemented in C++. In fact,...

Feel proud of yourself.

I am not a fan of such self-empowering stuff. If there nothin...

A Beginners Guide to Bit Manipulation

Perfect. Thank you.

Python IDEs and code editors compilation

I had to laugh hard when I read that VS Code suffers from a s...

Use Python and Blender to Make More Dynamic Training Data

Do I understand correctly that you use Blender simulated worl...

Write Better Python Functions (Using Type Dispatch)

Thank you for pointing fastcore for me. It looks pretty neat.

So you wanna say C++ is better than Java?

I see your point. But honestly, I would never recommend to st...

So you wanna say C++ is better than Java?

Is comparing Java to C++ that meaningful as of today? I mean...

Short Python Problem

The code logic is flawed or superfluous. You do not need the ...

What would SQLite look like if written in Rust? — Part 3

This is fascinating reading. Thank you.

Top 10 ways to perform fast code reviews

Whenever I see a code review I cannot stop thinking of this o...

Beginner's guide to abstract base class in Python

It is still new, so worthy of reminding. Personally, I am not...

Beginner's guide to abstract base class in Python

I wonder whether such an Java approach will stick with Python...

Django Project Tutorial for beginners: Settings, Docker-Compose, Postgres and Redis

Thanks for the invitation. I do not use Discord, but this is ...

Django Project Tutorial for beginners: Settings, Docker-Compose, Postgres and Redis

Thanks. This is undoubtedly the best informative article I've...

Top 10 ways to perform fast code reviews

I do recommend to watch this

What is Geo Redundancy?

I see. Thank you for the explanation, David. What about addin...

What is Geo Redundancy?

Thank you. I thought it was some synchronizing mechanism beca...

Designing With Exceptions and Errors ( Part I ) - The Need For Exception Handling Mechanisms

I am looking forward to your next article. Personally, I co...

Context Managers and Cross Cutting concerns in Python

Inspiring.

Less Known Sites to Practice Coding Skills.

I am missing checkio.org and kaggle.

Writing from the hospital and bored, suggest me something to do

Try Scholar's Advanced Technological System. It is an online...

What is Geo Redundancy?

Would you mind to elaborate more on the pub/sub model? I foll...

LeetCode 289. Game of Life (javascript solution)

To represent the Game of life state, you may use a set storin...

Best way to turn spare laptop to server? (And turn on 24/7)

Not the brightest idea ever. To run your notebook nonstop as ...

Python Zen vs Perl TMTOWTDI

If you ask about my opinion, then the Perl's motto feels like...

Beginners Guide to Auto Formatting

I think you do not need to introduce Python when you want to ...

Beginners Guide to Auto Formatting

I believe there is no need to start bragging about Python wit...

4 Super Useful Python Features

Hi James, If you are interested in becoming a Python god, I ...

Why I Love, Hate, Love Studying Computer Science

Life is harsh. You cannot change it. But you can adjust you...

WHY YOU SHOULD BE FOLLOWING THE SINGLE RESPONSIBILITY PRINCIPLE

I do not know about the Single Responsibility Principle, but ...

Summary of what Happens When You Type a URL Into Your Browser

Well done 👍

I was bored, so I built a programming language

Bravo!

An Algorithm to Swap Two Variables Synchronously, Without Creating a Temporary Variable

Nice article. Now it comes the challenge: Switch these two v...

An Algorithm to Swap Two Variables Synchronously, Without Creating a Temporary Variable

I guess he knows it. He probably intended to demonstrate the ...

Make tests a part of your app

The side effects testing (examples with stdin, stdout) is sw...

Make tests a part of your app

I was wondering how you would test your view: @require_ht...

5 super under-rated free tools/resources I use almost every day. (As a Frontend developer)

Good article. Today I've stumbled upon this regex101.com/ W...

Make tests a part of your app

Great article, Nikita. Still, I would appreciate an example f...

Don’t just say hello in chat

Just make it company or chat policy. Write only meaningful ye...

So, I wrote a book

Thank you.

Welcome Thread - v103

Привет, Анастасия. Лучше писать по английскому языку.

IntelliJ doesn't open .class files, unlike VSCode???

IntelliJ is probably superior to VSCode in many aspects, but ...

What programming language should I learn next?

It is simple. You use Black to format your code. You use My...

They said '...learning Python is easy!'. I missed the memo about programming.

I don't know about JetBrain academy but I had a lot of fun on...

Higher Kinded Types in Python

What a splendid idea! I really like it

How to monetize yourself on web

If you have an Quora account, no problem.

How to monetize yourself on web

Thanks. Very useful and convenient stuff. I shared it here ...

Higher Kinded Types in Python

A week I saw someone commenting he was surprised that Python ...

Higher Kinded Types in Python

I have to admit you've lost me in midway. I was not able to f...

Python Zero to Hero #Beginners⚡

OK, I checked it and it seems I was wrong. Casting is the ri...

Python Zero to Hero #Beginners⚡

There is no type casting in Python since it is unnecessary in...

Understanding Object-Oriented Programming with Assert

I use assert similarly, but lately, in such cases, I have bet...

50 Python Interview Questions and Answers

Is it a quizz to spot the most incorrect answer?

Understanding Object-Oriented Programming with Assert

I thought to provide a few comments on assert, but it seems s...

Do not abuse the assert

Well put

📝Python's Type Annotations 📝- Why You Always Should Use It

Static typing is a subset of dynamic typing, so it is feasibl...

My experience of writing a CLI in Go

Thanks.

My experience of writing a CLI in Go

How big in terms of size is your app? If I am not mistaken, ...

Cross posting from your blog to Dev.to. A good idea?

Nope. This is not how canonical urls work. Medium can import...

Cross posting from your blog to Dev.to. A good idea?

Dev.to and Medium support canonical urls, so it should be fin...

Comments Are The Only "Code Smell"

I completely agree.

Python is Slowly Losing Its Charm

Hm, although I agree that Python has weak presence in mobiles...

Are we web yet in Nim world?

Great. Thank you

Are we web yet in Nim world?

Is Nim growing? Or stagnates? Just curious

Reclaim memory usage in Jupyter

Out of curiosity, what doubled and tripled underscores do in ...

Take a Ten Minute Walk: A Codewars kata solution By Papan Sarkar

The first one solution is good one def isValidWalk(walk): ...

Three Consecutive Odds

This is an extremely hackish solution. Even though it is clev...

Spam sucks

My point was that if the portal wants me to report spam, I wi...

Spam sucks

Well, what about making spam reporting easier? Recently, I t...

What's the deal with indentation sensitivity hate?

There is nothing wrong with an indentation. In Python, the m...

Chrome Extensions I use

I am on Firefox and the only plug-ins I use are Grammarly, Pr...

String Compression

You are welcome. Another little tip. I would get rid of the ...

String Compression

Here a little trick you may find useful from itertools impor...

Suppressing Exceptions in Python with contextlib.suppress, not try/except/pass

Black + MyPy as well. I set Pylama for my project, but it kee...

How do you deal with half-finished projects?

I delete them silently from GitHub

In defense of XML

Use a different vocabulary. Have you ever seen Yes, Minister?...

Suppressing Exceptions in Python with contextlib.suppress, not try/except/pass

Interesting project. Reformat code, since we believe that d...

Suppressing Exceptions in Python with contextlib.suppress, not try/except/pass

Oh my, that's a great discovery for me. I agree with you that...

First Sale!! 🙌🤗🕺🏻 + Chapter 0.1.7 Released (Day 8)

Great. Where is the RoyalRoad link? I'd prefer read the nove...

Python // import ?

I am afraid that import is not that similar to include. Inclu...

In defense of XML

Nope They just fail to keep things simple. This is another na...

In defense of XML

Seriously, I don't care about YAML, but you lost me as soon a...

chapter 0.1.5 released!

I edited my reply. Read the last link if you care. royalroad...

chapter 0.1.5 released!

My first recommendation would be to stop wasting money until ...

Dataclasses in Python 3.6

I guess so. I know that typing evolved pretty much in new Pyt...

chapter 0.1.5 released!

You paid 8 dollars for 14 clicks? Oh my, I just clicked the l...

Dataclasses in Python 3.6

Is there any problem?

What are your favorite VS Code shortcuts?

Good one. But since I avoid to use my mouse, icons have not s...

Is it common for developer to loose passion to learn new things ?

Thanks. Spaces are Quora functionality, enabling sharing post...

What are your favorite VS Code shortcuts?

Find and show symbols in the active file Ctrl + Shift + O ...

Is it common for developer to loose passion to learn new things ?

I am exploring something new constantly. Among others, now I ...

Is it common for developer to loose passion to learn new things ?

It is not only that. I think I loved exploring the land of co...

Django project best practices to keep your developers happy

Great article. Thank you.

Filesystem versus SQLite performance

SQL is fine. I guess the filesystem database you mentioned ...

Is it common for developer to loose passion to learn new things ?

It is inevitable. The more I know about programming, the less...

My Experience with Coding Boot Camp

Well, this was very beautiful and insightful reading that I e...

Unpacking Python lists vs. destructuring Javascript arrays

In Python, this is superfluous [onePy, *restPy] = someNumbe...

I'm writing an open source sci-fi book

I have better experience with RoyalRoad if you need more read...

What are promises in Javascript? Let’s explain!

First, JavaScript is not great and never was. It is deeply fl...

What I realised after learning Python, TypeScript and Kotlin

Well, they all came from C-like families and this is why they...

How do you prefer to learn? Videos, Books, both?

By practicing

Does Python has a main function?

The only two reasonable approaches I know of are this and FSh...

How (not) to tame English?

Thanks. But I wrote several novels in my native language be...

Constructors in Python (__init vs __new__)

I've never seen def __new__(cls): return object.__new_...

Beginners attempt at creating a Javascript stopwatch.

Nice design really

An Introduction to Python Higher Order Functions

Neat. What about adding max and min builtins to your list?

Self in Python class

Nice article. If you need more advanced info on self in Pyth...

The day our web server reached 100% capacity 💾

Interesting reading, but the gifs were rather distracting.

What are the last 3 books you read? 📚🤓

No, it is a light novel. The pictures are available because t...

What are the last 3 books you read? 📚🤓

Overlord Meet the great tomb of Nazarick and their citizens....

Is your Django app slow? Think like a data scientist, not an engineer

What about profiling?

VS Code Shortcuts That I Would Teach Myself if I Had a Time Machine With Limited Fuel

Use Alt + left arrows to navigate back in your history.

Conventional Commits, the Future of Git

Great article. Immediately after I read this, I have checked ...

Achieving asynchronous behavior using asyncio in Python

f-strings since they are more concise

loading...