Tag: Readability

questionmarks
Python

Use Python Type Hints!

Python differs from other programming languages in many ways, one of them is dynamic typing. You can’t specify explicit types for variables, functions, or any other object. However, since the missing type declarations can be confusing and misleading, Python 3.5 introduced Type Hints!

Read More »
hands on writing machine
Write Better Code

Meaningful Names

Every developer heard this sentence at least once before: “Use meaningful names for your variables!”. As I heard this advice for the first time, I thought: Nothing easier than that! I know the purpose of my variables, accordingly, it shouldn’t be a problem to give them good names. However, after months I read my code again and didn’t understand anything. This post will present a few tips and best practices for writing better names!

Read More »
coding on a laptop
Write Better Code

Comments – What you should keep in mind

Comments are one of the first features everybody gets to know when learning a new programming language. They can be useful for describing the functionality of code-segments or giving additional information about some code. There are many good reasons to use comments. However, you should still keep a few things in mind when you write them!

Read More »