Curated articles, resources, tips and trends from the DevOps World.
In Python, an assertion is a statement that confirms something about the state of your program. For example, if you write a createUser function and you are sure that the user needs to be older than 18, you assert that the age field is greater than or equal to 18.
Developers love concise code that’s easy to read. A ternary operator in Python is a piece of syntax that lets you perform a small if/else statement in a single line. Let’s take a look at a few examples.
While lists aren’t the most efficient data structure if you’ll be doing lots of deleting from the middle, there are definitely good ways to accomplish the task. The built-in [remove()](https://python-reference.readthedocs.io/en/latest/docs/list/remove.html) method should be your first option.
When working with files in Python, you’ll often need to check if a file exists before you do anything else with it, such as reading from or writing to it. Luckily, the Python standard library makes this a piece of cake.
Generics in Go have been released with Go 1.18! This is one of the most eagerly-awaited features since the release of the language. Many devs have gone so far as to say Go’s previous lack of generic types made the language too painful to use at all.
We’re super excited to bring you our next learning track: Gopher Gang. We released our Python Track and Data Structures & Algorithms Track last month, and after such a positive response, we felt we had to do the same with our Golang course content.
Have valuable insights to share with the DevOps community? Submit your article for publication.
Get the latest DevOps news, tools, and insights delivered to your inbox.
Made with pure grit © 2026 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com