Programming languages

Java, Spring Boot, Golang, Python… — write correct, efficient code through hands-on examples.

Python · 10/16/2026 · 9 min read · 111

Proper Exception Handling in Python

How to use try/except/else/finally, define custom exceptions, raise from, logging, ExceptionGroup, and test exceptions with pytest.

Java · 10/16/2026 · 9 min read · 92

Text Blocks and New String APIs (Java 15+)

Write multi-line strings more concisely with text blocks, master indentation and escape rules, and learn new String methods like formatted, stripIndent, and translateEscapes.

Golang · 10/15/2026 · 10 min read · 107

Table-driven tests in Go

How to write table-driven tests in Go with slice structs, t.Run, error checking, parallel execution and struct comparison using go-cmp, plus common pitfalls.